summaryrefslogtreecommitdiff
path: root/core/apps/textedit/fileBrowser.cpp
Unidiff
Diffstat (limited to 'core/apps/textedit/fileBrowser.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/fileBrowser.cpp23
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
@@ -9,13 +9,13 @@
9** 9**
10** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 10** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
11** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 11** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
12** 12**
13****************************************************************************/ 13****************************************************************************/
14#include "fileBrowser.h" 14#include "fileBrowser.h"
15#include "inputDialog.h" 15//#include "inputDialog.h"
16 16
17#include <qpe/config.h> 17#include <qpe/config.h>
18#include <qpe/resource.h> 18#include <qpe/resource.h>
19#include <qpe/fileselector.h> 19#include <qpe/fileselector.h>
20#include <qpe/qpeapplication.h> 20#include <qpe/qpeapplication.h>
21#include <qpe/menubutton.h> 21#include <qpe/menubutton.h>
@@ -550,6 +550,27 @@ void fileBrowser::fillCombo(const QString &currentPath) {
550 if( dirPathStringList.grep(currentPath,TRUE).isEmpty() ) { 550 if( dirPathStringList.grep(currentPath,TRUE).isEmpty() ) {
551 dirPathCombo->clear(); 551 dirPathCombo->clear();
552 dirPathStringList.prepend(currentPath ); 552 dirPathStringList.prepend(currentPath );
553 dirPathCombo->insertStringList( dirPathStringList,-1); 553 dirPathCombo->insertStringList( dirPathStringList,-1);
554 } 554 }
555} 555}
556
557
558InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags fl )
559 : QDialog( parent, name, modal, fl )
560{
561 if ( !name )
562 setName( "InputDialog" );
563 resize( 234, 50 );
564 setMaximumSize( QSize( 240, 50 ) );
565 setCaption( tr(name ) );
566
567 LineEdit1 = new QLineEdit( this, "LineEdit1" );
568 LineEdit1->setGeometry( QRect( 10, 10, 216, 22 ) );
569}
570
571InputDialog::~InputDialog()
572{
573 inputText= LineEdit1->text();
574
575}
576