summaryrefslogtreecommitdiff
path: root/core/applets/screenshotapplet/inputDialog.cpp
Unidiff
Diffstat (limited to 'core/applets/screenshotapplet/inputDialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/screenshotapplet/inputDialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/applets/screenshotapplet/inputDialog.cpp b/core/applets/screenshotapplet/inputDialog.cpp
index 73ec773..ce03ec0 100644
--- a/core/applets/screenshotapplet/inputDialog.cpp
+++ b/core/applets/screenshotapplet/inputDialog.cpp
@@ -12,12 +12,13 @@
12 12
13#include <opie2/ofiledialog.h> 13#include <opie2/ofiledialog.h>
14 14
15#include <qlineedit.h> 15#include <qlineedit.h>
16#include <qpushbutton.h> 16#include <qpushbutton.h>
17 17
18using namespace Opie::Ui;
18InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags fl ) 19InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags fl )
19 : QDialog( parent, name, modal, fl ) 20 : QDialog( parent, name, modal, fl )
20{ 21{
21 if ( !name ) 22 if ( !name )
22 setName( "InputDialog" ); 23 setName( "InputDialog" );
23 resize( 234, 115); 24 resize( 234, 115);
@@ -55,10 +56,10 @@ void InputDialog::browse() {
55 all += audio; 56 all += audio;
56 all += video; 57 all += video;
57 types.insert("All Media Files", all ); 58 types.insert("All Media Files", all );
58 types.insert("Audio", audio ); 59 types.insert("Audio", audio );
59 types.insert("Video", video ); 60 types.insert("Video", video );
60 61
61 QString str = Opie::OFileDialog::getOpenFileName( 1,"/","", types, 0 ); 62 QString str = Opie::Ui::OFileDialog::getOpenFileName( 1,"/","", types, 0 );
62 LineEdit1->setText(str); 63 LineEdit1->setText(str);
63} 64}
64 65