Diffstat (limited to 'noncore/tools/clock/setAlarm.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/clock/setAlarm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/tools/clock/setAlarm.cpp b/noncore/tools/clock/setAlarm.cpp index 6fec5a0..9d5fc49 100644 --- a/noncore/tools/clock/setAlarm.cpp +++ b/noncore/tools/clock/setAlarm.cpp | |||
@@ -29,12 +29,13 @@ | |||
29 | #include <qvariant.h> | 29 | #include <qvariant.h> |
30 | #include <qtooltip.h> | 30 | #include <qtooltip.h> |
31 | #include <qwhatsthis.h> | 31 | #include <qwhatsthis.h> |
32 | #include <qbuttongroup.h> | 32 | #include <qbuttongroup.h> |
33 | #include <qcheckbox.h> | 33 | #include <qcheckbox.h> |
34 | 34 | ||
35 | using namespace Opie::Ui; | ||
35 | Set_Alarm::Set_Alarm( QWidget* parent, const char* name, bool modal, WFlags fl ) | 36 | Set_Alarm::Set_Alarm( QWidget* parent, const char* name, bool modal, WFlags fl ) |
36 | : QDialog( parent, name, modal, fl ) | 37 | : QDialog( parent, name, modal, fl ) |
37 | { | 38 | { |
38 | if ( !name ) | 39 | if ( !name ) |
39 | setName( "Set_Alarm" ); | 40 | setName( "Set_Alarm" ); |
40 | resize( 240, 101 ); | 41 | resize( 240, 101 ); |
@@ -206,13 +207,13 @@ void Set_Alarm::slotChangemp3CkeckBox(bool b) { | |||
206 | if(b) { | 207 | if(b) { |
207 | QMap<QString, QStringList> map; | 208 | QMap<QString, QStringList> map; |
208 | map.insert(tr("All"), QStringList() ); | 209 | map.insert(tr("All"), QStringList() ); |
209 | QStringList text; | 210 | QStringList text; |
210 | text << "audio/*"; | 211 | text << "audio/*"; |
211 | map.insert(tr("Audio"), text ); | 212 | map.insert(tr("Audio"), text ); |
212 | QString str = Opie::OFileDialog::getOpenFileName( 2,"/", QString::null, map);//,"", "*", this ); | 213 | QString str = OFileDialog::getOpenFileName( 2,"/", QString::null, map);//,"", "*", this ); |
213 | // QString str = Opie::OFileDialog::getOpenFileName( 2,"/");//,"", "*", this ); | 214 | // QString str = Opie::OFileDialog::getOpenFileName( 2,"/");//,"", "*", this ); |
214 | if(!str.isEmpty() ) { | 215 | if(!str.isEmpty() ) { |
215 | qDebug(str); | 216 | qDebug(str); |
216 | config.writeEntry("mp3Alarm",1); | 217 | config.writeEntry("mp3Alarm",1); |
217 | config.writeEntry("mp3File",str); | 218 | config.writeEntry("mp3File",str); |
218 | } | 219 | } |