From da99c66b024032122bb0ff7bf2084f05a82c3668 Mon Sep 17 00:00:00 2001 From: senator Date: Tue, 12 Oct 2010 09:54:58 +0000 Subject: Added cpr public function --- client/launcherwindow.cc | 23 ++--------------------- client/launcherwindow.h | 15 ++++++++------- 2 files changed, 10 insertions(+), 28 deletions(-) (limited to 'client') 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__*/ -- cgit v1.2.3