Diffstat (limited to 'core/multimedia/opieplayer/inputDialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/inputDialog.cpp | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/inputDialog.cpp b/core/multimedia/opieplayer/inputDialog.cpp new file mode 100644 index 0000000..b443747 --- a/dev/null +++ b/core/multimedia/opieplayer/inputDialog.cpp | |||
@@ -0,0 +1,45 @@ | |||
1 | /**************************************************************************** | ||
2 | ** Form implementation generated from reading ui file 'inputDialog.ui' | ||
3 | ** | ||
4 | ** Created: Sat Mar 2 07:55:03 2002 | ||
5 | ** by: The User Interface Compiler (uic) | ||
6 | ** | ||
7 | ** WARNING! All changes made in this file will be lost! | ||
8 | ****************************************************************************/ | ||
9 | #include "inputDialog.h" | ||
10 | |||
11 | #include <qlineedit.h> | ||
12 | #include <qlayout.h> | ||
13 | #include <qvariant.h> | ||
14 | #include <qtooltip.h> | ||
15 | #include <qwhatsthis.h> | ||
16 | |||
17 | /* | ||
18 | * Constructs a InputDialog which is a child of 'parent', with the | ||
19 | * name 'name' and widget flags set to 'f' | ||
20 | * | ||
21 | * The dialog will by default be modeless, unless you set 'modal' to | ||
22 | * TRUE to construct a modal dialog. | ||
23 | */ | ||
24 | InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags fl ) | ||
25 | : QDialog( parent, name, modal, fl ) | ||
26 | { | ||
27 | if ( !name ) | ||
28 | setName( "InputDialog" ); | ||
29 | resize( 234, 50 ); | ||
30 | setMaximumSize( QSize( 240, 50 ) ); | ||
31 | setCaption( tr(name ) ); | ||
32 | |||
33 | LineEdit1 = new QLineEdit( this, "LineEdit1" ); | ||
34 | LineEdit1->setGeometry( QRect( 10, 10, 216, 22 ) ); | ||
35 | } | ||
36 | |||
37 | /* | ||
38 | * Destroys the object and frees any allocated resources | ||
39 | */ | ||
40 | InputDialog::~InputDialog() | ||
41 | { | ||
42 | inputText= LineEdit1->text(); | ||
43 | |||
44 | } | ||
45 | |||