summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/alarm/wakeup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/alarm/wakeup.cpp')
-rw-r--r--noatun-plugins/alarm/wakeup.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/noatun-plugins/alarm/wakeup.cpp b/noatun-plugins/alarm/wakeup.cpp
index 6f5ff6c..f0602c3 100644
--- a/noatun-plugins/alarm/wakeup.cpp
+++ b/noatun-plugins/alarm/wakeup.cpp
@@ -25,7 +25,7 @@
#include <tqspinbox.h>
#include <tqtimer.h>
#include <tqdatetime.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqvbox.h>
#include <tqhbox.h>
#include <tqbuttongroup.h>
@@ -104,7 +104,7 @@ void Wakeup::slotCheckTime()
TQDate d;
t=TQTime::currentTime();
- d=TQDate::tqcurrentDate();
+ d=TQDate::currentDate();
if (t.minute()!=minute[d.dayOfWeek()-1] || t.hour()!=hour[d.dayOfWeek()-1]) return;
@@ -168,8 +168,8 @@ void Wakeup::slotVolumeChange()
WakeupPrefs::WakeupPrefs( TQObject *parent ) :
CModule( i18n("Wakeup"), i18n("Alarm Configuration"), "date", parent )
{
- TQVBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- TQGridLayout *grid = new TQGridLayout (tqlayout,8,4);
+ TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ TQGridLayout *grid = new TQGridLayout (layout,8,4);
monday=new TQCheckBox(i18n("Monday"),this);
tuesday=new TQCheckBox(i18n("Tuesday"),this);
@@ -209,7 +209,7 @@ WakeupPrefs::WakeupPrefs( TQObject *parent ) :
applyall = new TQPushButton (this,"applyall");
applyall->setPixmap( BarIcon("down", KIcon::SizeSmall) );
- applyall->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed,
+ applyall->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed,
TQSizePolicy::Fixed,
applyall->sizePolicy().hasHeightForWidth()) );
grid->addWidget (applyall,1,3,TQt::AlignLeft);
@@ -248,9 +248,9 @@ WakeupPrefs::WakeupPrefs( TQObject *parent ) :
TQLabel *volEndLabel = new TQLabel (i18n("Volume increases to:"), volFrame);
volEndValue = new KPercentSpinBox (1 ,volFrame,"volendvalue");
- tqlayout->addWidget(modeGroup);
- tqlayout->addWidget(volFrame);
- tqlayout->addStretch();
+ layout->addWidget(modeGroup);
+ layout->addWidget(volFrame);
+ layout->addStretch();
TQHBoxLayout *volLayout = new TQHBoxLayout(volFrame, KDialog::marginHint(), KDialog::spacingHint());
volLayout->addWidget(volEndLabel);