summaryrefslogtreecommitdiffstats
path: root/kalarm/prefdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/prefdlg.cpp')
-rw-r--r--kalarm/prefdlg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kalarm/prefdlg.cpp b/kalarm/prefdlg.cpp
index 90b48dd85..24a444b98 100644
--- a/kalarm/prefdlg.cpp
+++ b/kalarm/prefdlg.cpp
@@ -169,7 +169,7 @@ void KAlarmPrefDlg::slotApply()
TQString errmsg = mEmailPage->validate();
if (!errmsg.isEmpty())
{
- showPage(pageIndex(mEmailPage->tqparentWidget()));
+ showPage(pageIndex(mEmailPage->parentWidget()));
if (KMessageBox::warningYesNo(this, errmsg) != KMessageBox::Yes)
{
mValid = false;
@@ -179,7 +179,7 @@ void KAlarmPrefDlg::slotApply()
errmsg = mEditPage->validate();
if (!errmsg.isEmpty())
{
- showPage(pageIndex(mEditPage->tqparentWidget()));
+ showPage(pageIndex(mEditPage->parentWidget()));
KMessageBox::sorry(this, errmsg);
mValid = false;
return;
@@ -825,12 +825,12 @@ FontColourPrefTab::FontColourPrefTab(TQVBox* frame)
mFontChooser = new FontColourChooser(mPage, 0, false, TQStringList(), i18n("Message Font && Color"), true, false);
mPage->setStretchFactor(mFontChooser, 1);
- TQFrame* tqlayoutBox = new TQFrame(mPage);
- TQHBoxLayout* htqlayout = new TQHBoxLayout(tqlayoutBox);
+ TQFrame* layoutBox = new TQFrame(mPage);
+ TQHBoxLayout* htqlayout = new TQHBoxLayout(layoutBox);
TQVBoxLayout* colourLayout = new TQVBoxLayout(htqlayout, KDialog::spacingHint());
htqlayout->addStretch();
- TQHBox* box = new TQHBox(tqlayoutBox); // to group widgets for TQWhatsThis text
+ TQHBox* box = new TQHBox(layoutBox); // to group widgets for TQWhatsThis text
box->setSpacing(KDialog::spacingHint()/2);
colourLayout->addWidget(box);
TQLabel* label1 = new TQLabel(i18n("Di&sabled alarm color:"), box);
@@ -840,7 +840,7 @@ FontColourPrefTab::FontColourPrefTab(TQVBox* frame)
TQWhatsThis::add(box,
i18n("Choose the text color in the alarm list for disabled alarms."));
- box = new TQHBox(tqlayoutBox); // to group widgets for TQWhatsThis text
+ box = new TQHBox(layoutBox); // to group widgets for TQWhatsThis text
box->setSpacing(KDialog::spacingHint()/2);
colourLayout->addWidget(box);
TQLabel* label2 = new TQLabel(i18n("E&xpired alarm color:"), box);