summaryrefslogtreecommitdiffstats
path: root/src/knowitpref.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:11:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:11:05 -0600
commitd89e9d5c72950630acb1ae639799ada743903b6b (patch)
tree909a7f38494a5a0dd860f9aee17e053b787460a6 /src/knowitpref.cpp
parent1bc598742e8dcd7c3f72d892b2c3dd618496b79c (diff)
downloadknowit-d89e9d5c72950630acb1ae639799ada743903b6b.tar.gz
knowit-d89e9d5c72950630acb1ae639799ada743903b6b.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/knowitpref.cpp')
-rw-r--r--src/knowitpref.cpp8
1 files changed, 4 insertions, 4 deletions
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 +="<i>";
if(insertDateUnderlineButton->isOn()) str += "<u>";
str += "<font COLOR=\""+insertDateColorButton->color().name()+"\">";
- str += TQString("%1").tqarg(TQDateTime::tqcurrentDateTime().toString(insertDateFormatEdit->text()));
+ str += TQString("%1").tqarg(TQDateTime::currentDateTime().toString(insertDateFormatEdit->text()));
str += "</font>";
if(insertDateUnderlineButton->isOn()) str += "</u>";
if(insertDateItalicButton->isOn()) str +="</i>";