diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:13 -0600 |
commit | ba2a3ce341c0c71bbbcf350fcbcd60c552220b31 (patch) | |
tree | 08ba9504290f461f1244dded6b37fc4db00847ab /kalarm/messagewin.cpp | |
parent | d5b298be14c173d62e8fbc6a3803ba8f657f3dcb (diff) | |
download | tdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.tar.gz tdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kalarm/messagewin.cpp')
-rw-r--r-- | kalarm/messagewin.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kalarm/messagewin.cpp b/kalarm/messagewin.cpp index c1109b9d1..2c9ac63e4 100644 --- a/kalarm/messagewin.cpp +++ b/kalarm/messagewin.cpp @@ -298,13 +298,13 @@ void MessageWin::initView() { // Show the alarm date/time, together with an "Advance reminder" text where appropriate TQFrame* frame = 0; - TQVBoxLayout* tqlayout = topLayout; + TQVBoxLayout* layout = topLayout; if (reminder) { frame = new TQFrame(topWidget); frame->setFrameStyle(TQFrame::Box | TQFrame::Raised); topLayout->addWidget(frame, 0, TQt::AlignHCenter); - tqlayout = new TQVBoxLayout(frame, leading + frame->frameWidth(), leading); + layout = new TQVBoxLayout(frame, leading + frame->frameWidth(), leading); } // Alarm date/time @@ -315,7 +315,7 @@ void MessageWin::initView() if (!frame) label->setFrameStyle(TQFrame::Box | TQFrame::Raised); label->setFixedSize(label->sizeHint()); - tqlayout->addWidget(label, 0, TQt::AlignHCenter); + layout->addWidget(label, 0, TQt::AlignHCenter); TQWhatsThis::add(label, i18n("The scheduled date/time for the message (as opposed to the actual time of display).")); @@ -324,7 +324,7 @@ void MessageWin::initView() label = new TQLabel(frame); label->setText(i18n("Reminder")); label->setFixedSize(label->sizeHint()); - tqlayout->addWidget(label, 0, TQt::AlignHCenter); + layout->addWidget(label, 0, TQt::AlignHCenter); frame->setFixedSize(frame->sizeHint()); } } @@ -405,10 +405,10 @@ void MessageWin::initView() topLayout->addWidget(text, 1, TQt::AlignHCenter); else { - TQBoxLayout* tqlayout = new TQHBoxLayout(topLayout); - tqlayout->addSpacing(hspace); - tqlayout->addWidget(text, 1, TQt::AlignHCenter); - tqlayout->addSpacing(hspace); + TQBoxLayout* layout = new TQHBoxLayout(topLayout); + layout->addSpacing(hspace); + layout->addWidget(text, 1, TQt::AlignHCenter); + layout->addSpacing(hspace); } if (!reminder) topLayout->addStretch(); @@ -484,21 +484,21 @@ void MessageWin::initView() else { setCaption(i18n("Error")); - TQBoxLayout* tqlayout = new TQHBoxLayout(topLayout); - tqlayout->setMargin(2*KDialog::marginHint()); - tqlayout->addStretch(); + TQBoxLayout* layout = new TQHBoxLayout(topLayout); + layout->setMargin(2*KDialog::marginHint()); + layout->addStretch(); TQLabel* label = new TQLabel(topWidget); label->setPixmap(DesktopIcon("error")); label->setFixedSize(label->sizeHint()); - tqlayout->addWidget(label, 0, TQt::AlignRight); - TQBoxLayout* vtqlayout = new TQVBoxLayout(tqlayout); + layout->addWidget(label, 0, TQt::AlignRight); + TQBoxLayout* vlayout = new TQVBoxLayout(layout); for (TQStringList::Iterator it = mErrorMsgs.begin(); it != mErrorMsgs.end(); ++it) { label = new TQLabel(*it, topWidget); label->setFixedSize(label->sizeHint()); - vtqlayout->addWidget(label, 0, TQt::AlignLeft); + vlayout->addWidget(label, 0, TQt::AlignLeft); } - tqlayout->addStretch(); + layout->addStretch(); } TQGridLayout* grid = new TQGridLayout(1, 4); |