diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:57:20 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:57:20 -0600 |
commit | c6611272c2bc4a42580848946c8c5d81bb0409c7 (patch) | |
tree | 0fd5b58844663dfcd00fb2b79cf67dd0fd429c62 /src/modules/url | |
parent | 805c2821ceaddada48b346c6d11bd0dc1351a539 (diff) | |
download | kvirc-c6611272c2bc4a42580848946c8c5d81bb0409c7.tar.gz kvirc-c6611272c2bc4a42580848946c8c5d81bb0409c7.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 805c2821ceaddada48b346c6d11bd0dc1351a539.
Diffstat (limited to 'src/modules/url')
-rw-r--r-- | src/modules/url/libkviurl.cpp | 4 | ||||
-rw-r--r-- | src/modules/url/libkviurl.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/url/libkviurl.cpp b/src/modules/url/libkviurl.cpp index c0e647cd..4bb76752 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").arg(wnd->windowName()).arg(m_szUrl.ptr()); + TQString say=TQString("PRIVMSG %1 %2").tqarg(wnd->windowName()).tqarg(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::currentDate(); + TQDate d = TQDate::tqcurrentDate(); 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 2fa906d4..79d8d2a1 100644 --- a/src/modules/url/libkviurl.h +++ b/src/modules/url/libkviurl.h @@ -22,7 +22,7 @@ #include <tqdialog.h> -#include <layout.h> +#include <tqlayout.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 <textstream.h> + #include <tqtextstream.h> #endif #include <tqcheckbox.h> #include "kvi_tal_listbox.h" |