summaryrefslogtreecommitdiffstats
path: root/src/knutclient.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:28 -0600
commit90705c50d34801a0f7516ddc4d3bf6c295413297 (patch)
treee3b61cdd31aaddef0bf7c78231a08599f8851225 /src/knutclient.cpp
parente29455aea4fc1fda591862200c6321a3722e134c (diff)
downloadknutclient-90705c50d34801a0f7516ddc4d3bf6c295413297.tar.gz
knutclient-90705c50d34801a0f7516ddc4d3bf6c295413297.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit e29455aea4fc1fda591862200c6321a3722e134c.
Diffstat (limited to 'src/knutclient.cpp')
-rwxr-xr-xsrc/knutclient.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/knutclient.cpp b/src/knutclient.cpp
index 3c4adb1..935d1e1 100755
--- a/src/knutclient.cpp
+++ b/src/knutclient.cpp
@@ -90,7 +90,7 @@ KNutClient::KNutClient(bool noDock, TQObject* parent, const char *name) : TQObje
// sets data for selected item
setActiveUpsInfo(m_mainUpsInfo.record.name);
- // sets mainUpsInfo.oldState to const value KNutNet::initStatus
+ // sets mainUpsInfo.oldState to const value KNutNet::inittqStatus
m_mainUpsInfo.oldState=KNutNet::initState;
@@ -281,7 +281,7 @@ void KNutClient::slotErrorConnection (int error) {
m_mainUpsInfo.reconnectCount++;
if (m_mainUpsInfo.reconnectCount > countNextConnDelay) m_mainUpsInfo.reconnectCount = countNextConnDelay;
- addEventString(i18n("The connection failed. The next connection will make after %1 sec.").arg(nextConnDelay[m_mainUpsInfo.reconnectCount-1]),m_mainUpsInfo.record.name);
+ addEventString(i18n("The connection failed. The next connection will make after %1 sec.").tqarg(nextConnDelay[m_mainUpsInfo.reconnectCount-1]),m_mainUpsInfo.record.name);
m_reconnectTimer->start( nextConnDelay[m_mainUpsInfo.reconnectCount-1]*1000, TRUE ); // starts reconnect timer again
}
else {
@@ -715,7 +715,7 @@ void KNutClient::addEventString (const TQString text, const TQString UPSAddress)
mainWindow->addComboStatusItem (text,UPSAddress);
else
{
- TQString dateTime(TQDate::currentDate().toString());
+ TQString dateTime(TQDate::tqcurrentDate().toString());
dateTime +=" " + TQTime::currentTime().toString();
if (UPSAddress.isEmpty()) m_listKNutEvent->append(dateTime+" "+text);
else m_listKNutEvent->append(dateTime+" "+UPSAddress+" : "+text);
@@ -791,7 +791,7 @@ void KNutClient::showStatusEvent(void) {
//qDebug ("KNutClient::showStatusEvent");
- int myState = m_mainUpsInfo.upsNet->readStatus();
+ int myState = m_mainUpsInfo.upsNet->readtqStatus();
if (myState != m_mainUpsInfo.oldState) {
if ((myState & KNutNet::OFF) != (m_mainUpsInfo.oldState & KNutNet::OFF)) {
@@ -1096,7 +1096,7 @@ void KNutClient::slotRefreshConnection(void) {
if (m_myDock) {
m_myDock->clearDockValues();
// myDock->initImage();
- // myDock->repaint();
+ // myDock->tqrepaint();
}
if (mainWindow) {
mainWindow->cleanPanels();