diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:32:24 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:32:24 -0600 |
commit | 631a19d8c5c5f69dc0d941c1997806fb422c79a6 (patch) | |
tree | 48a1a5d40ca2aa276b04f95398d9fba3fd9d7d8a /conduits/malconduit/mal-conduit.cc | |
parent | 87cd441352f3f2f1b2279bb47ebbb54ced81194f (diff) | |
download | kpilot-631a19d8c5c5f69dc0d941c1997806fb422c79a6.tar.gz kpilot-631a19d8c5c5f69dc0d941c1997806fb422c79a6.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'conduits/malconduit/mal-conduit.cc')
-rw-r--r-- | conduits/malconduit/mal-conduit.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/conduits/malconduit/mal-conduit.cc b/conduits/malconduit/mal-conduit.cc index 69a3f19..5aa5883 100644 --- a/conduits/malconduit/mal-conduit.cc +++ b/conduits/malconduit/mal-conduit.cc @@ -144,7 +144,7 @@ void MALConduit::readConfig() void MALConduit::saveConfig() { FUNCTIONSETUP; - MALConduitSettings::setLastMALSync( TQDateTime::tqcurrentDateTime() ); + MALConduitSettings::setLastMALSync( TQDateTime::currentDateTime() ); MALConduitSettings::self()->writeConfig(); } @@ -152,7 +152,7 @@ void MALConduit::saveConfig() bool MALConduit::skip() { - TQDateTime now=TQDateTime::tqcurrentDateTime(); + TQDateTime now=TQDateTime::currentDateTime(); TQDateTime lastSync=MALConduitSettings::lastMALSync(); if (!lastSync.isValid() || !now.isValid()) return false; @@ -217,7 +217,7 @@ bool MALConduit::skip() syncMessage = i18n("No proxy server is set."); break; } - syncMessage = i18n("Using proxy server: %1").tqarg(proxyServer); + syncMessage = i18n("Using proxy server: %1").arg(proxyServer); #ifdef DEBUG DEBUGKPILOT<<" Using HTTP proxy server \""<<proxyServer<< @@ -259,7 +259,7 @@ bool MALConduit::skip() syncMessage = i18n("No SOCKS proxy is set."); break; } - syncMessage = i18n("Using SOCKS proxy: %1").tqarg(proxyServer); + syncMessage = i18n("Using SOCKS proxy: %1").arg(proxyServer); #ifdef DEBUG DEBUGKPILOT<<" Using SOCKS proxy server \""<<proxyServer<<"\", Port "<<proxyPort<<", User "<<MALConduitSettings::proxyUser()<<", Password "<<( (MALConduitSettings::proxyPassword().isEmpty())?TQString("not "):TQString() )<<"set"<<endl; #endif |