From d89e9d5c72950630acb1ae639799ada743903b6b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:11:05 -0600 Subject: Rename old tq methods that no longer need a unique name --- src/knowitpref.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/knowitpref.cpp') diff --git a/src/knowitpref.cpp b/src/knowitpref.cpp index f48deb0..217b4ab 100644 --- a/src/knowitpref.cpp +++ b/src/knowitpref.cpp @@ -268,7 +268,7 @@ KnowitPreferences::KnowitPreferences() TQHBox* topBox = new TQHBox(page); tqlayout->addWidget(topBox); TQLabel * label1 = new TQLabel(i18n("Date Format: "), topBox); - label1->setFixedSize(label1->tqsizeHint()); + label1->setFixedSize(label1->sizeHint()); insertDatePreview = new TQLabel("", topBox); TQHBox *tmpBox = new TQHBox(page); @@ -284,8 +284,8 @@ KnowitPreferences::KnowitPreferences() insertDateUnderlineButton = new TQToolButton(tmpBox, "InsertDateUnderlineButton"); insertDateUnderlineButton->setIconSet(TQIconSet(KGlobal::iconLoader()->loadIcon("text_under", KIcon::Toolbar))); insertDateUnderlineButton->setToggleButton(true); - insertDateColorButton->setFixedSize(insertDateBoldButton->tqsizeHint()); - insertDateFormatEdit->setMinimumWidth(6*insertDateBoldButton->tqsizeHint().width()); + insertDateColorButton->setFixedSize(insertDateBoldButton->sizeHint()); + insertDateFormatEdit->setMinimumWidth(6*insertDateBoldButton->sizeHint().width()); tqlayout->addStretch(1); setIconListAllVisible(true); @@ -379,7 +379,7 @@ void KnowitPreferences::slotUpdateDatePreview() if(insertDateItalicButton->isOn()) str +=""; if(insertDateUnderlineButton->isOn()) str += ""; str += "color().name()+"\">"; - str += TQString("%1").tqarg(TQDateTime::tqcurrentDateTime().toString(insertDateFormatEdit->text())); + str += TQString("%1").tqarg(TQDateTime::currentDateTime().toString(insertDateFormatEdit->text())); str += ""; if(insertDateUnderlineButton->isOn()) str += ""; if(insertDateItalicButton->isOn()) str +=""; -- cgit v1.2.1