diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:11:07 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:11:07 -0600 |
commit | c895c15390ccba4dea8848a6eef98c7a4527c4e3 (patch) | |
tree | 3d4768839abdbab6914483810960646d4b5d5e36 /src/knutclient.cpp | |
parent | 90705c50d34801a0f7516ddc4d3bf6c295413297 (diff) | |
download | knutclient-c895c15390ccba4dea8848a6eef98c7a4527c4e3.tar.gz knutclient-c895c15390ccba4dea8848a6eef98c7a4527c4e3.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/knutclient.cpp')
-rwxr-xr-x | src/knutclient.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/knutclient.cpp b/src/knutclient.cpp index 935d1e1..c9eac64 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::inittqStatus + // sets mainUpsInfo.oldState to const value KNutNet::initStatus m_mainUpsInfo.oldState=KNutNet::initState; @@ -715,7 +715,7 @@ void KNutClient::addEventString (const TQString text, const TQString UPSAddress) mainWindow->addComboStatusItem (text,UPSAddress); else { - TQString dateTime(TQDate::tqcurrentDate().toString()); + TQString dateTime(TQDate::currentDate().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->readtqStatus(); + int myState = m_mainUpsInfo.upsNet->readStatus(); if (myState != m_mainUpsInfo.oldState) { if ((myState & KNutNet::OFF) != (m_mainUpsInfo.oldState & KNutNet::OFF)) { |