summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/history
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-09 10:36:57 +0900
committerMichele Calgaro <[email protected]>2023-11-09 17:21:24 +0900
commit7367a616169a4ec8b35b5a993852c336aaeec25b (patch)
tree2fd2b837621af51718278a66c8d5151fec1d77e8 /kopete/plugins/history
parenta14ec34f576f49ee1abf4844883fb9e3af69eeb3 (diff)
downloadtdenetwork-7367a616169a4ec8b35b5a993852c336aaeec25b.tar.gz
tdenetwork-7367a616169a4ec8b35b5a993852c336aaeec25b.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit b53c83209a6b927b27600899a780db1efc985ecb)
Diffstat (limited to 'kopete/plugins/history')
-rw-r--r--kopete/plugins/history/historydialog.cpp2
-rw-r--r--kopete/plugins/history/historylogger.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/kopete/plugins/history/historydialog.cpp b/kopete/plugins/history/historydialog.cpp
index 0ce07aad..7a4e1795 100644
--- a/kopete/plugins/history/historydialog.cpp
+++ b/kopete/plugins/history/historydialog.cpp
@@ -74,7 +74,7 @@ private:
TDEListViewDateItem::TDEListViewDateItem(TDEListView* parent, TQDate date, Kopete::MetaContact *mc)
- : TDEListViewItem(parent, date.toString(Qt::ISODate), mc->displayName())
+ : TDEListViewItem(parent, date.toString(TQt::ISODate), mc->displayName())
{
mDate = date;
mMetaContact = mc;
diff --git a/kopete/plugins/history/historylogger.cpp b/kopete/plugins/history/historylogger.cpp
index f03d165b..78bf25b2 100644
--- a/kopete/plugins/history/historylogger.cpp
+++ b/kopete/plugins/history/historylogger.cpp
@@ -377,7 +377,7 @@ TQValueList<Kopete::Message> HistoryLogger::readMessages(TQDate date)
Kopete::Message msg(dt, from, to, msgElem2.text(), dir);
msg.setBody( TQString::fromLatin1("<span title=\"%1\">%2</span>")
- .arg( dt.toString(Qt::LocalDate), msg.escapedBody() ),
+ .arg( dt.toString(TQt::LocalDate), msg.escapedBody() ),
Kopete::Message::RichText);
@@ -595,7 +595,7 @@ TQValueList<Kopete::Message> HistoryLogger::readMessages(unsigned int lines,
if (colorize)
{
msg.setBody( TQString::fromLatin1("<span style=\"color:%1\" title=\"%2\">%3</span>")
- .arg( fgColor.name(), timestamp.toString(Qt::LocalDate), msg.escapedBody() ),
+ .arg( fgColor.name(), timestamp.toString(TQt::LocalDate), msg.escapedBody() ),
Kopete::Message::RichText
);
msg.setFg( fgColor );
@@ -603,7 +603,7 @@ TQValueList<Kopete::Message> HistoryLogger::readMessages(unsigned int lines,
else
{
msg.setBody( TQString::fromLatin1("<span title=\"%1\">%2</span>")
- .arg( timestamp.toString(Qt::LocalDate), msg.escapedBody() ),
+ .arg( timestamp.toString(TQt::LocalDate), msg.escapedBody() ),
Kopete::Message::RichText
);
}