summaryrefslogtreecommitdiffstats
path: root/kalarm/fontcolourbutton.cpp
diff options
context:
space:
mode:
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());
}
/******************************************************************************