summaryrefslogtreecommitdiffstats
path: root/src/modules/url
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:07 -0600
commit805c2821ceaddada48b346c6d11bd0dc1351a539 (patch)
treef4f34d4fae6b86d1b1058f396da4729906edbadb /src/modules/url
parent918c3ff07736f0c343cb190d3f0df99e4cb8dab8 (diff)
downloadkvirc-805c2821ceaddada48b346c6d11bd0dc1351a539.tar.gz
kvirc-805c2821ceaddada48b346c6d11bd0dc1351a539.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/modules/url')
-rw-r--r--src/modules/url/libkviurl.cpp4
-rw-r--r--src/modules/url/libkviurl.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/url/libkviurl.cpp b/src/modules/url/libkviurl.cpp
index 4bb76752..c0e647cd 100644
--- a/src/modules/url/libkviurl.cpp
+++ b/src/modules/url/libkviurl.cpp
@@ -285,7 +285,7 @@ void UrlDialog::popup(KviTalListViewItem *item, const TQPoint &point, int col)
void UrlDialog::sayToWin(int itemID)
{
KviWindow *wnd = g_pApp->findWindowByCaption(m_pListPopup->text(itemID).utf8().data());
- TQString say=TQString("PRIVMSG %1 %2").tqarg(wnd->windowName()).tqarg(m_szUrl.ptr());
+ TQString say=TQString("PRIVMSG %1 %2").arg(wnd->windowName()).arg(m_szUrl.ptr());
if (wnd) {
KviKvsScript::run(say,wnd);
wnd->raise();
@@ -753,7 +753,7 @@ bool urllist_module_event_onUrl(KviKvsModuleEventCall * c)
KviUrl *tmp = new KviUrl;
KviStr tmpTimestamp;
- TQDate d = TQDate::tqcurrentDate();
+ TQDate d = TQDate::currentDate();
KviStr date(KviStr::Format,"%d-%d%d-%d%d",d.year(),d.month() / 10,d.month() % 10,d.day() / 10,d.day() % 10);
tmpTimestamp = "["+date+"]"+" [";
tmpTimestamp += TQTime::currentTime().toString()+"]";
diff --git a/src/modules/url/libkviurl.h b/src/modules/url/libkviurl.h
index 79d8d2a1..2fa906d4 100644
--- a/src/modules/url/libkviurl.h
+++ b/src/modules/url/libkviurl.h
@@ -22,7 +22,7 @@
#include <tqdialog.h>
-#include <tqlayout.h>
+#include <layout.h>
#include "kvi_tal_listview.h"
#include <tqstring.h>
#include <tqpushbutton.h>
@@ -30,7 +30,7 @@
#ifdef COMPILE_USE_QT4
#include <tq3textstream.h>
#else
- #include <tqtextstream.h>
+ #include <textstream.h>
#endif
#include <tqcheckbox.h>
#include "kvi_tal_listbox.h"