summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/launcherwindow.cc23
-rw-r--r--client/launcherwindow.h15
2 files changed, 10 insertions, 28 deletions
diff --git a/client/launcherwindow.cc b/client/launcherwindow.cc
index 4dba280..1a18602 100644
--- a/client/launcherwindow.cc
+++ b/client/launcherwindow.cc
@@ -74,26 +74,7 @@ LauncherWindow::~LauncherWindow()
{
}
-/*
-QString LauncherWindow::accept()
+QString LauncherWindow::cpr()
{
- return cpr->text();
+ return cprLineEdit->text();
}
-*/
-
-#ifdef TEST_LAUNCHERWINDOW
-//Additional dependency files
-//deps:
-//Required cflags (autoconf vars may be used)
-//cflags:
-//Required link options (autoconf vars may be used)
-//libs:
-#include "test.h"
-
-TEST_BEGIN;
-
-// TODO: Put some testcode here (see test.h for usable macros).
-
-TEST_END;
-
-#endif/*TEST_LAUNCHERWINDOW*/
diff --git a/client/launcherwindow.h b/client/launcherwindow.h
index ec97f5a..9f18aa0 100644
--- a/client/launcherwindow.h
+++ b/client/launcherwindow.h
@@ -33,16 +33,17 @@
class LauncherWindow : public QDialog
{
- Q_OBJECT
+ Q_OBJECT
public:
- LauncherWindow(QWidget *parent = 0);
- ~LauncherWindow();
-
+ LauncherWindow(QWidget *parent = 0);
+ ~LauncherWindow();
+ QString cpr();
+
private:
- QLineEdit *cpr;
-
-
+ QLineEdit *cprLineEdit;
+
+
};
#endif/*__PRACRO_LAUNCHERWINDOW_H__*/