diff options
Diffstat (limited to 'kalarm/fontcolourbutton.cpp')
-rw-r--r-- | kalarm/fontcolourbutton.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kalarm/fontcolourbutton.cpp b/kalarm/fontcolourbutton.cpp index 62888d462..ca62d1011 100644 --- a/kalarm/fontcolourbutton.cpp +++ b/kalarm/fontcolourbutton.cpp @@ -38,8 +38,8 @@ = Font/colour selection button. =============================================================================*/ -FontColourButton::FontColourButton(TQWidget* parent, const char* name) - : TQFrame(parent, name), +FontColourButton::FontColourButton(TQWidget* tqparent, const char* name) + : TQFrame(tqparent, name), mReadOnly(false) { setFrameStyle(NoFrame); @@ -54,11 +54,11 @@ FontColourButton::FontColourButton(TQWidget* parent, const char* name) // Font and colour sample display mSample = new TQLineEdit(this); - mSample->setMinimumHeight(QMAX(mSample->fontMetrics().lineSpacing(), mButton->height()*3/2)); + mSample->setMinimumHeight(TQMAX(mSample->fontMetrics().lineSpacing(), mButton->height()*3/2)); mSample->tqsetSizePolicy(TQSizePolicy::Ignored, TQSizePolicy::MinimumExpanding); mSample->setText(i18n("The Quick Brown Fox Jumps Over The Lazy Dog")); mSample->setCursorPosition(0); - mSample->tqsetAlignment(Qt::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.")); @@ -119,14 +119,14 @@ void FontColourButton::slotButtonPressed() =============================================================================*/ FontColourDlg::FontColourDlg(const TQColor& bgColour, const TQColor& fgColour, const TQFont& font, - bool defaultFont, const TQString& caption, TQWidget* parent, const char* name) - : KDialogBase(parent, name, true, caption, Ok|Cancel, Ok, false), + bool defaultFont, const TQString& caption, TQWidget* tqparent, const char* name) + : KDialogBase(tqparent, name, true, caption, Ok|Cancel, Ok, false), mReadOnly(false) { TQWidget* page = new TQWidget(this); setMainWidget(page); TQVBoxLayout* tqlayout = new TQVBoxLayout(page, 0, spacingHint()); - mChooser = new FontColourChooser(page, 0, false, TQStringList(), TQString::null, false, true, true); + mChooser = new FontColourChooser(page, 0, false, TQStringList(), TQString(), false, true, true); mChooser->setBgColour(bgColour); mChooser->setFgColour(fgColour); if (defaultFont) |