diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:45:00 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:45:00 -0600 |
commit | ca82971624269719d487c6f7980d7237f9420036 (patch) | |
tree | cac461d765c50b2709a9ef6324940e70fe056ba2 /noatun-plugins/alarm/wakeup.cpp | |
parent | 0e4ea21f450acbb4ea3c5a1293341668494d7dd4 (diff) | |
download | tdeaddons-ca82971624269719d487c6f7980d7237f9420036.tar.gz tdeaddons-ca82971624269719d487c6f7980d7237f9420036.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'noatun-plugins/alarm/wakeup.cpp')
-rw-r--r-- | noatun-plugins/alarm/wakeup.cpp | 16 |
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); |