diff options
author | senator <senator> | 2010-10-12 09:54:58 +0000 |
---|---|---|
committer | senator <senator> | 2010-10-12 09:54:58 +0000 |
commit | da99c66b024032122bb0ff7bf2084f05a82c3668 (patch) | |
tree | 2fc57e0da4326be206bb37fffd0d29e696dcda1e /client | |
parent | a10de226f369ccde8a2c0e000a2c2cf5d967437c (diff) |
Added cpr public function
Diffstat (limited to 'client')
-rw-r--r-- | client/launcherwindow.cc | 23 | ||||
-rw-r--r-- | client/launcherwindow.h | 15 |
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__*/ |