summaryrefslogtreecommitdiffstats
path: root/kalarm/fontcolourbutton.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kalarm/fontcolourbutton.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'kalarm/fontcolourbutton.cpp')
-rw-r--r--kalarm/fontcolourbutton.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kalarm/fontcolourbutton.cpp b/kalarm/fontcolourbutton.cpp
index 4f276361d..e5dd90b92 100644
--- a/kalarm/fontcolourbutton.cpp
+++ b/kalarm/fontcolourbutton.cpp
@@ -21,7 +21,7 @@
#include "kalarm.h"
#include <tqcheckbox.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqwhatsthis.h>
#include <klocale.h>
@@ -43,26 +43,26 @@ FontColourButton::FontColourButton(TQWidget* parent, const char* name)
mReadOnly(false)
{
setFrameStyle(NoFrame);
- TQHBoxLayout* layout = new TQHBoxLayout(this, 0, KDialog::spacingHint());
+ TQHBoxLayout* tqlayout = new TQHBoxLayout(this, 0, KDialog::spacingHint());
mButton = new PushButton(i18n("Font && Co&lor..."), this);
- mButton->setFixedSize(mButton->sizeHint());
+ mButton->setFixedSize(mButton->tqsizeHint());
connect(mButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotButtonPressed()));
TQWhatsThis::add(mButton,
i18n("Choose the font, and foreground and background color, for the alarm message."));
- layout->addWidget(mButton);
+ tqlayout->addWidget(mButton);
// Font and colour sample display
mSample = new TQLineEdit(this);
mSample->setMinimumHeight(TQMAX(mSample->fontMetrics().lineSpacing(), mButton->height()*3/2));
- mSample->setSizePolicy(TQSizePolicy::Ignored, TQSizePolicy::MinimumExpanding);
+ mSample->tqsetSizePolicy(TQSizePolicy::Ignored, TQSizePolicy::MinimumExpanding);
mSample->setText(i18n("The Quick Brown Fox Jumps Over The Lazy Dog"));
mSample->setCursorPosition(0);
- mSample->setAlignment(TQt::AlignCenter);
+ mSample->tqsetAlignment(TQt::AlignCenter);
TQWhatsThis::add(mSample,
i18n("This sample text illustrates the current font and color settings. "
"You may edit it to test special characters."));
- layout->addWidget(mSample);
+ tqlayout->addWidget(mSample);
}
void FontColourButton::setDefaultFont()
@@ -125,7 +125,7 @@ FontColourDlg::FontColourDlg(const TQColor& bgColour, const TQColor& fgColour, c
{
TQWidget* page = new TQWidget(this);
setMainWidget(page);
- TQVBoxLayout* layout = new TQVBoxLayout(page, 0, spacingHint());
+ TQVBoxLayout* tqlayout = new TQVBoxLayout(page, 0, spacingHint());
mChooser = new FontColourChooser(page, 0, false, TQStringList(), TQString(), false, true, true);
mChooser->setBgColour(bgColour);
mChooser->setFgColour(fgColour);
@@ -133,8 +133,8 @@ FontColourDlg::FontColourDlg(const TQColor& bgColour, const TQColor& fgColour, c
mChooser->setDefaultFont();
else
mChooser->setFont(font);
- layout->addWidget(mChooser);
- layout->addSpacing(KDialog::spacingHint());
+ tqlayout->addWidget(mChooser);
+ tqlayout->addSpacing(KDialog::spacingHint());
}
/******************************************************************************