summaryrefslogtreecommitdiffstats
path: root/kalarm/fontcolour.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
commit3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch)
tree89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /kalarm/fontcolour.cpp
parent1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff)
downloadtdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz
tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kalarm/fontcolour.cpp')
-rw-r--r--kalarm/fontcolour.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kalarm/fontcolour.cpp b/kalarm/fontcolour.cpp
index 94497b969..936cc4c8d 100644
--- a/kalarm/fontcolour.cpp
+++ b/kalarm/fontcolour.cpp
@@ -24,7 +24,7 @@
#include <tqpushbutton.h>
#include <tqhbox.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqwhatsthis.h>
#include <kglobal.h>
@@ -57,8 +57,8 @@ FontColourChooser::FontColourChooser(TQWidget *parent, const char *name,
topLayout = new TQVBoxLayout(page, KDialog::marginHint(), KDialog::spacingHint());
topLayout->addSpacing(fontMetrics().height() - KDialog::marginHint() + KDialog::spacingHint());
}
- TQHBoxLayout* htqlayout = new TQHBoxLayout(topLayout);
- TQVBoxLayout* colourLayout = new TQVBoxLayout(htqlayout);
+ TQHBoxLayout* hlayout = new TQHBoxLayout(topLayout);
+ TQVBoxLayout* colourLayout = new TQVBoxLayout(hlayout);
if (fg)
{
TQHBox* box = new TQHBox(page); // to group widgets for TQWhatsThis text
@@ -83,35 +83,35 @@ FontColourChooser::FontColourChooser(TQWidget *parent, const char *name,
connect(mBgColourButton, TQT_SIGNAL(activated(const TQString&)), TQT_SLOT(setSampleColour()));
label->setBuddy(mBgColourButton);
TQWhatsThis::add(box, i18n("Select the alarm message background color"));
- htqlayout->addStretch();
+ hlayout->addStretch();
if (editColours)
{
- TQHBoxLayout* tqlayout = new TQHBoxLayout(topLayout);
+ TQHBoxLayout* layout = new TQHBoxLayout(topLayout);
TQPushButton* button = new TQPushButton(i18n("Add Co&lor..."), page);
- button->setFixedSize(button->tqsizeHint());
+ button->setFixedSize(button->sizeHint());
connect(button, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddColour()));
TQWhatsThis::add(button, i18n("Choose a new color to add to the color selection list."));
- tqlayout->addWidget(button);
+ layout->addWidget(button);
mRemoveColourButton = new TQPushButton(i18n("&Remove Color"), page);
- mRemoveColourButton->setFixedSize(mRemoveColourButton->tqsizeHint());
+ mRemoveColourButton->setFixedSize(mRemoveColourButton->sizeHint());
connect(mRemoveColourButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotRemoveColour()));
TQWhatsThis::add(mRemoveColourButton,
i18n("Remove the color currently shown in the background color chooser, from the color selection list."));
- tqlayout->addWidget(mRemoveColourButton);
+ layout->addWidget(mRemoveColourButton);
}
if (defaultFont)
{
- TQHBoxLayout* tqlayout = new TQHBoxLayout(topLayout);
+ TQHBoxLayout* layout = new TQHBoxLayout(topLayout);
mDefaultFont = new CheckBox(i18n("Use &default font"), page);
- mDefaultFont->setMinimumSize(mDefaultFont->tqsizeHint());
+ mDefaultFont->setMinimumSize(mDefaultFont->sizeHint());
connect(mDefaultFont, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotDefaultFontToggled(bool)));
TQWhatsThis::add(mDefaultFont,
i18n("Check to use the default font current at the time the alarm is displayed."));
- tqlayout->addWidget(mDefaultFont);
- tqlayout->addWidget(new TQWidget(page)); // left adjust the widget
+ layout->addWidget(mDefaultFont);
+ layout->addWidget(new TQWidget(page)); // left adjust the widget
}
else
mDefaultFont = 0;