diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
commit | 41f66dea058c2d1e2dc882c8264592443ac479a1 (patch) | |
tree | 38c723079b3d8b62a6300a1298dcf716f74f1bf1 /src/knutclient.cpp | |
parent | 968af1d235ac30d737991b269156bee5dc99d318 (diff) | |
download | knutclient-41f66dea058c2d1e2dc882c8264592443ac479a1.tar.gz knutclient-41f66dea058c2d1e2dc882c8264592443ac479a1.zip |
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knutclient@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/knutclient.cpp')
-rwxr-xr-x | src/knutclient.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/knutclient.cpp b/src/knutclient.cpp index c0d262f..b146e0e 100755 --- a/src/knutclient.cpp +++ b/src/knutclient.cpp @@ -112,7 +112,7 @@ KNutClient::KNutClient(bool noDock, TQObject* tqparent, const char *name) : TQOb // } // else mainUpsInfo.upsDriverState=knc::notConnected; - // tqrepaints the dock + // repaints the dock if (m_myDock) m_myDock->clearDockValues(); if (settingData.useMainWindow == KNutVarData::mw_yes || noDock || @@ -154,8 +154,8 @@ void KNutClient::slotTryFirstConnection (int maxCount) { //qDebug ("KNutClient::slotTryFirstConnection"); //knutNet begin the first test of connection (connectToHost will be made after emiting signal tryFirstConnection ) -// tqrepaints icon - if (m_myDock) m_myDock->tqrepaintDock(true); +// repaints icon + if (m_myDock) m_myDock->repaintDock(true); if (mainWindow) mainWindow->startConnectPB(maxCount); } @@ -206,7 +206,7 @@ void KNutClient::slotFirstConnection (void) { else m_mainUpsInfo.upsDriverState=knc::error; - if (m_myDock) m_myDock->tqrepaintDock(true); + if (m_myDock) m_myDock->repaintDock(true); addEventString (KNutVarData::errorToText(m_mainUpsInfo.netError),m_mainUpsInfo.record.name); // KNutVarData::showError (mainUpsInfo.netError); if ((m_myMessMan)) m_myMessMan->addMessage(KNutVarData::errorToText(m_mainUpsInfo.netError),knc::errorLevel,true); @@ -247,10 +247,10 @@ void KNutClient::slotFirstConnection (void) { if (mainWindow) setActiveUpsVars(true); else setActiveUpsVars(false); - // tqrepaints main window and dock immediately + // repaints main window and dock immediately if (mainWindow) mainWindow->showUpsData(); -// if (myDock) myDock->tqrepaintDock(mainUpsInfo.netError,true); // dock is tqrepainting always - if (m_myDock) m_myDock->tqrepaintDock(true); // dock is tqrepainting always +// if (myDock) myDock->repaintDock(mainUpsInfo.netError,true); // dock is repainting always + if (m_myDock) m_myDock->repaintDock(true); // dock is repainting always m_panelsAreZeroing=false; // analog panels isn't setting to zero } @@ -274,7 +274,7 @@ void KNutClient::slotErrorConnection (int error) { m_mainUpsInfo.upsDriverState=knc::notConnected; else m_mainUpsInfo.upsDriverState=knc::error; - if (m_myDock) m_myDock->tqrepaintDock(true); + if (m_myDock) m_myDock->repaintDock(true); if (m_mainUpsInfo.reconnecting) { //qDebug ("KNutClient::slotErrorConnection (2)"); @@ -744,8 +744,8 @@ void KNutClient::slotTimeout (void) { getUpsData(); if (!m_mainUpsInfo.errorUpsData) { // no error if (mainWindow) { - mainWindow->tqrepaintPanel(); - mainWindow->tqrepaintAnalogs(); + mainWindow->repaintPanel(); + mainWindow->repaintAnalogs(); } m_panelsAreZeroing=false; showStatusEvent(); @@ -755,7 +755,7 @@ void KNutClient::slotTimeout (void) { m_panelsAreZeroing=true; if (m_myDock) m_myDock->clearDockValues(); } - if (m_myDock) m_myDock->tqrepaintDock(); + if (m_myDock) m_myDock->repaintDock(); m_upsTimer->start( m_mainUpsInfo.record.delay, TRUE ); // nastartujem znovu } @@ -978,7 +978,7 @@ void KNutClient::slotSetConfig (unsigned int changeSetting) { // showUpsData je nutno udelat take proto ze se mohl zmenit vyber meraku // if (mainWindow) mainWindow->showUpsData(); if (mainWindow) mainWindow->cleanPanels(); -// if (myDock) myDock->tqrepaintDock(mainUpsInfo.netError); +// if (myDock) myDock->repaintDock(mainUpsInfo.netError); if (m_myDock) m_myDock->clearDockValues(); m_mainUpsInfo.upsNet->newUPS(m_mainUpsInfo.record.upsAddress,m_mainUpsInfo.record.upsName, m_mainUpsInfo.record.port); @@ -1179,7 +1179,7 @@ void KNutClient::slotActiveMainWindow (void) { setActiveUpsVars(true); getUpsData(); makeMainWindow(); - if (m_myDock) m_myDock->tqrepaintDock(m_mainUpsInfo.netError); + if (m_myDock) m_myDock->repaintDock(m_mainUpsInfo.netError); m_upsTimer->start( 1, TRUE ); // nastartujem znovu // 1 proto aby se zpracovali pripadne udalosti o zruseni spojeni } @@ -1189,7 +1189,7 @@ void KNutClient::slotActiveMainWindow (void) { // getValues error=0 a doslo by vypsani data ok. makeMainWindow(); if (!m_mainUpsInfo.errorUpsData) { - if (m_myDock) m_myDock->tqrepaintDock(m_mainUpsInfo.netError); + if (m_myDock) m_myDock->repaintDock(m_mainUpsInfo.netError); } } } @@ -1206,7 +1206,7 @@ void KNutClient::slotSaveConf (void) { void KNutClient::closeMainWindow (void) { if (mainWindow) { - if (m_myDock) m_myDock->tqrepaintDock(m_mainUpsInfo.netError); + if (m_myDock) m_myDock->repaintDock(m_mainUpsInfo.netError); m_upsTimer->stop(); mainWindow->close(); mainWindow=0; |