diff --git a/src/knowit.cpp b/src/knowit.cpp
index b587824..beeeac2 100644
--- a/src/knowit.cpp
+++ b/src/knowit.cpp
@@ -271,7 +271,7 @@ Knowit::Knowit(TQWidget*, const char *name) : KMainWindow(0, name),
/* System tray */
systray = new KnowitTray(this, "Systray");
systray->setPixmap(Notes.Pixmaps[1]);
- systray->tqsetAlignment(TQt::AlignHCenter | TQt::AlignVCenter);
+ systray->setAlignment(TQt::AlignHCenter | TQt::AlignVCenter);
/* Autosave */
AutosaveTimer = new TQTimer(this);
@@ -926,7 +926,7 @@ void Knowit::slotFilePrint()
TQRect view(body);
int page = 1;
while (true) {
- richText.draw(&p, body.left(), body.top(), view, tqcolorGroup());
+ richText.draw(&p, body.left(), body.top(), view, colorGroup());
view.moveBy(0, body.height());
p.translate( 0 , -body.height());
p.setFont(Edit->font());
@@ -1031,22 +1031,22 @@ void Knowit::slotEditNormal()
void Knowit::slotEditAlignLeft()
{
- Edit->tqsetAlignment(TQt::AlignLeft);
+ Edit->setAlignment(TQt::AlignLeft);
}
void Knowit::slotEditAlignRight()
{
- Edit->tqsetAlignment(TQt::AlignRight);
+ Edit->setAlignment(TQt::AlignRight);
}
void Knowit::slotEditAlignJustify()
{
- Edit->tqsetAlignment(TQt::AlignJustify);
+ Edit->setAlignment(TQt::AlignJustify);
}
void Knowit::slotEditAlignCenter()
{
- Edit->tqsetAlignment(TQt::AlignCenter);
+ Edit->setAlignment(TQt::AlignCenter);
}
void Knowit::slotEditListBullet()
@@ -1114,7 +1114,7 @@ void Knowit::slotEditInsertDate()
Edit->setUnderline(Options.insertDateUnderline);
Edit->setColor(TQColor(Options.insertDateColor));
Edit->insert(TQString("%1")
- .tqarg(TQDateTime::tqcurrentDateTime().toString(Options.insertDateFormat)));
+ .tqarg(TQDateTime::currentDateTime().toString(Options.insertDateFormat)));
Edit->setItalic(ii);
Edit->setBold(ib);
Edit->setUnderline(iu);
diff --git a/src/knowit.h b/src/knowit.h
index b623bb6..e89fe29 100644
--- a/src/knowit.h
+++ b/src/knowit.h
@@ -120,7 +120,7 @@ class Knowit : public KMainWindow
TNote* currentNote() const;
public slots:
- /** tqStatus bar text has changed - displays it */
+ /** Status bar text has changed - displays it */
void slotStatusMsg(const TQString& text);
/** Shows requested popup menu for notes */
void slotContextMenu(KListView*, TQListViewItem*, const TQPoint&);
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 +="";
diff --git a/src/notes.cpp b/src/notes.cpp
index 870c7af..733f7f2 100644
--- a/src/notes.cpp
+++ b/src/notes.cpp
@@ -258,7 +258,7 @@ bool TNote::saveHTML(const KURL& fname, const TQString& origname, const TQString
TQString epilog = i18n("Exported from %1 by KnowIt %2, %3.");
ts << "
" << epilog.tqarg(origname)
.tqarg(VERSION)
- .tqarg(TQDateTime::tqcurrentDateTime().toString()) << "\n\n";
+ .tqarg(TQDateTime::currentDateTime().toString()) << "\n\n";
ts << "