Diffstat (limited to 'noncore/tools/clock/setAlarm.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/clock/setAlarm.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/noncore/tools/clock/setAlarm.cpp b/noncore/tools/clock/setAlarm.cpp index 7c9ded2..6fec5a0 100644 --- a/noncore/tools/clock/setAlarm.cpp +++ b/noncore/tools/clock/setAlarm.cpp @@ -6,3 +6,3 @@ // email : ljp@llornkcor.com -// +// *************************************************************************** @@ -16,4 +16,4 @@ -#include <opie/ofileselector.h> -#include <opie/ofiledialog.h> +#include <opie2/ofileselector.h> +#include <opie2/ofiledialog.h> @@ -39,3 +39,3 @@ Set_Alarm::Set_Alarm( QWidget* parent, const char* name, bool modal, WFlags fl setName( "Set_Alarm" ); - resize( 240, 101 ); + resize( 240, 101 ); setMaximumSize( QSize( 240, 320 ) ); @@ -45,3 +45,3 @@ Set_Alarm::Set_Alarm( QWidget* parent, const char* name, bool modal, WFlags fl - Set_AlarmLayout = new QGridLayout( this ); + Set_AlarmLayout = new QGridLayout( this ); Set_AlarmLayout->setSpacing( 6 ); @@ -78,3 +78,3 @@ Set_Alarm::Set_Alarm( QWidget* parent, const char* name, bool modal, WFlags fl connect(Minute_Slider, SIGNAL( valueChanged(int)),this,SLOT(slotChangeMinute(int))); - + Set_AlarmLayout->addMultiCellWidget( Minute_Slider, 2, 2, 1, 2 ); @@ -92,3 +92,3 @@ Set_Alarm::Set_Alarm( QWidget* parent, const char* name, bool modal, WFlags fl connect( Am_RadioButton, SIGNAL(toggled(bool)),this,SLOT( amButtonToggled(bool))); - + Set_AlarmLayout->addMultiCellWidget( Am_RadioButton, 0, 1, 3, 4 ); @@ -99,3 +99,3 @@ Set_Alarm::Set_Alarm( QWidget* parent, const char* name, bool modal, WFlags fl connect( Pm_RadioButton, SIGNAL(toggled(bool)),this,SLOT( pmButtonToggled(bool))); - + Set_AlarmLayout->addMultiCellWidget(Pm_RadioButton, 1, 2, 3, 4 ); @@ -139,3 +139,3 @@ Set_Alarm::Set_Alarm( QWidget* parent, const char* name, bool modal, WFlags fl Hour_Slider->setMinValue( 1); - + if( i_alarmHour > 12) { @@ -145,4 +145,4 @@ Set_Alarm::Set_Alarm( QWidget* parent, const char* name, bool modal, WFlags fl else if ( i_alarmHour == 0 ) { - i_alarmHour = 12; - } + i_alarmHour = 12; + } Hour_Slider->setValue( i_alarmHour ); @@ -160,3 +160,3 @@ Set_Alarm::Set_Alarm( QWidget* parent, const char* name, bool modal, WFlags fl if( config.readBoolEntry("mp3Alarm") ) - useMp3Check->setChecked(true); + useMp3Check->setChecked(true); @@ -211,4 +211,4 @@ void Set_Alarm::slotChangemp3CkeckBox(bool b) { map.insert(tr("Audio"), text ); - QString str = OFileDialog::getOpenFileName( 2,"/", QString::null, map);//,"", "*", this ); -// QString str = OFileDialog::getOpenFileName( 2,"/");//,"", "*", this ); + QString str = Opie::OFileDialog::getOpenFileName( 2,"/", QString::null, map);//,"", "*", this ); +// QString str = Opie::OFileDialog::getOpenFileName( 2,"/");//,"", "*", this ); if(!str.isEmpty() ) { |