author | llornkcor <llornkcor> | 2002-03-25 02:55:43 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-25 02:55:43 (UTC) |
commit | f978777e3dfe6c02e19d7601b20e60a95d65b1e9 (patch) (side-by-side diff) | |
tree | 7bd1a6c46227e4354700500bda55f667c34efbdb /core/apps/textedit/fileBrowser.cpp | |
parent | b43c59f2f8da6edfa37042e0838b38702636f4d1 (diff) | |
download | opie-f978777e3dfe6c02e19d7601b20e60a95d65b1e9.zip opie-f978777e3dfe6c02e19d7601b20e60a95d65b1e9.tar.gz opie-f978777e3dfe6c02e19d7601b20e60a95d65b1e9.tar.bz2 |
moved inputDialog to fileBrowser
Diffstat (limited to 'core/apps/textedit/fileBrowser.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/textedit/fileBrowser.cpp | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/core/apps/textedit/fileBrowser.cpp b/core/apps/textedit/fileBrowser.cpp index ebb78d1..f3e4e1e 100644 --- a/core/apps/textedit/fileBrowser.cpp +++ b/core/apps/textedit/fileBrowser.cpp @@ -12,7 +12,7 @@ ** ****************************************************************************/ #include "fileBrowser.h" -#include "inputDialog.h" +//#include "inputDialog.h" #include <qpe/config.h> #include <qpe/resource.h> @@ -553,3 +553,24 @@ void fileBrowser::fillCombo(const QString ¤tPath) { dirPathCombo->insertStringList( dirPathStringList,-1); } } + + +InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags fl ) + : QDialog( parent, name, modal, fl ) +{ + if ( !name ) + setName( "InputDialog" ); + resize( 234, 50 ); + setMaximumSize( QSize( 240, 50 ) ); + setCaption( tr(name ) ); + + LineEdit1 = new QLineEdit( this, "LineEdit1" ); + LineEdit1->setGeometry( QRect( 10, 10, 216, 22 ) ); +} + +InputDialog::~InputDialog() +{ + inputText= LineEdit1->text(); + +} + |