summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/knutanalog.cpp38
-rw-r--r--src/knutanalog.h30
-rwxr-xr-xsrc/knutclient.cpp4
-rwxr-xr-xsrc/knutclient.h2
-rwxr-xr-xsrc/knutdock.cpp12
-rwxr-xr-xsrc/knutdock.h4
-rwxr-xr-xsrc/knutfrontpanel.cpp4
-rw-r--r--src/knutmainwindow.cpp8
-rw-r--r--src/knutmainwindow.h6
-rw-r--r--src/knutnewupsdlg.cpp2
-rw-r--r--src/knutpanelmeter.cpp8
-rw-r--r--src/knutpanelmeter.h2
-rw-r--r--src/knutprefdlg.cpp2
-rwxr-xr-xsrc/knutrwvar.cpp4
14 files changed, 63 insertions, 63 deletions
diff --git a/src/knutanalog.cpp b/src/knutanalog.cpp
index 9c0cab4..c3da789 100644
--- a/src/knutanalog.cpp
+++ b/src/knutanalog.cpp
@@ -153,7 +153,7 @@ void KNutAnalog::makeBackground (bool run) {
paintBackGround();
m_showBackGround = true;
if (run) {
- tqrepaint();
+ repaint();
}
}
@@ -165,7 +165,7 @@ void KNutAnalog::setText (TQString inscription, TQString text_up, bool run) {
if (run) {
paintBackGround();
m_showBackGround = true;
- tqrepaint();
+ repaint();
}
}
@@ -183,7 +183,7 @@ void KNutAnalog::setDefaultArcColor(bool run) {
if (run) {
paintBackGround();
m_showBackGround=true;
- tqrepaint();
+ repaint();
}
}
@@ -204,7 +204,7 @@ void KNutAnalog::addArc (double startOfCircle, double endOfCircle, int regColor,
if (run) {
paintBackGround();
m_showBackGround = true;
- tqrepaint ();
+ repaint ();
}
}
@@ -215,7 +215,7 @@ void KNutAnalog::delArc (bool run) {
if (run) {
paintBackGround();
m_showBackGround = true;
- tqrepaint ();
+ repaint ();
}
}
@@ -230,7 +230,7 @@ void KNutAnalog::setRange (int Astart, int Aend , bool run) {
if (run) {
paintBackGround();
m_showBackGround = true;
- tqrepaint ();
+ repaint ();
}
}
@@ -242,7 +242,7 @@ void KNutAnalog::setMember (int Count, bool run) {
if (run) {
paintBackGround();
m_showBackGround = true;
- tqrepaint ();
+ repaint ();
}
}
@@ -254,7 +254,7 @@ void KNutAnalog::setPointerColor (TQColor pointerColor, bool run ) {
paintPointer();
m_showPointer = true;
if (run) {
- tqrepaint ();
+ repaint ();
}
}
@@ -264,7 +264,7 @@ void KNutAnalog::repaintPointer ( bool run ) {
paintPointer();
m_showPointer = true;
if (run) {
- tqrepaint ();
+ repaint ();
}
}
@@ -277,7 +277,7 @@ void KNutAnalog::setFontColor (TQColor fontColor, bool run ) {
if (run) {
paintBackGround();
m_showBackGround = true;
- tqrepaint ();
+ repaint ();
}
}
@@ -288,7 +288,7 @@ void KNutAnalog::setScaleColor (TQColor scaleColor, bool run) {
if (run) {
paintBackGround();
m_showBackGround = true;
- tqrepaint ();
+ repaint ();
}
}
@@ -307,7 +307,7 @@ void KNutAnalog::setDigitalProcesing (int qualityOfPointer, bool run ) {
}
paintPointer();
m_showPointer = true; // pri jakemkoliv prekresleni prekreslime rucicku
- if (run) tqrepaint ();
+ if (run) repaint ();
}
@@ -320,7 +320,7 @@ void KNutAnalog::setPointer (double pointerValue, bool run ) {
if (run) {
// paintPointer();
m_showPointer = true; // pri jakemkoliv prekresleni prekreslime rucicku
- tqrepaint ();
+ repaint ();
}
}
}
@@ -333,26 +333,26 @@ void KNutAnalog::slotSetScaleFont(TQFont newScaleFont){
m_scaleFont = newScaleFont;
paintBackGround();
m_showBackGround=true;
- tqrepaint();
+ repaint();
}
void KNutAnalog::slotSetTextFont(TQFont newTextFont){
m_textFont = newTextFont;
paintBackGround();
- paintPointer(); // tqrepaint values if pointer
+ paintPointer(); // repaint values if pointer
m_showBackGround=true;
m_showPointer=true;
- tqrepaint();
+ repaint();
}
void KNutAnalog::slotSetAllFont(TQFont newAllFont){
m_scaleFont = newAllFont;
m_textFont = newAllFont;
paintBackGround();
- paintPointer(); // tqrepaint values if pointer
+ paintPointer(); // repaint values if pointer
m_showBackGround=true;
m_showPointer=true;
- tqrepaint();
+ repaint();
}
@@ -360,7 +360,7 @@ void KNutAnalog::repaintAll (void) {
paintBackGround();
m_showBackGround = true;
m_showPointer = true;
- tqrepaint ();
+ repaint ();
}
diff --git a/src/knutanalog.h b/src/knutanalog.h
index 719926b..bb754f9 100644
--- a/src/knutanalog.h
+++ b/src/knutanalog.h
@@ -60,14 +60,14 @@ public:
*
* When you need paint or repainr panel you have to call functiin reapaint
* other functions calls this function theirself, when run = true
- * Pokud je potreba vykreslit nebo prekreslit panel je nutno zavolat funkci tqrepaint,
+ * Pokud je potreba vykreslit nebo prekreslit panel je nutno zavolat funkci repaint,
* ostatni funkce ji zavolaji sami pokud je run = TRUE.
*
* @param bottomLimit Is bottom value of scale..
* @param topLimit is end value of scale.
* @param typeOfView determine type view of scale 1- circle 2- right part of circle, 3 - top part of circle
* @param countOfParts determine count of big parts (parents parts) of scale.
- * @param countOfSubParts determine count small parts (tqchildren parts) id scale, evere big part include e few small part.
+ * @param countOfSubParts determine count small parts (children parts) id scale, evere big part include e few small part.
* @param pointerColor determine color of pointer.
* @param scaleColor determine color of scale.
* @param textColor determine color of text.
@@ -91,7 +91,7 @@ public:
* @param m_inscription determinuje inscription , bottom text , usually.
* @param m_inscription Udava nadpis, "dolni" text, obvykle co je mereno.
* @param text_up Udava mernou jednotku "horni" text, obvykle merna jednotka.
- * @param run = TRUE makes immediately tqrepaint of panel
+ * @param run = TRUE makes immediately repaint of panel
* @param run = TRUE provede okamzite prekresleni panelu.
*
* @since 0.1
@@ -103,7 +103,7 @@ public:
* Makes background of analog panel.
* Vytvori pozadi analogoveho panelu.
*
- * @param run = TRUE makes immediately tqrepaint of panel
+ * @param run = TRUE makes immediately repaint of panel
* @param run = TRUE provede okamzite prekresleni panelu.
*
* @since 0.2
@@ -115,7 +115,7 @@ public:
* Repaint pointer of analog panel.
* Prekresli rucicku analogoveho panelu.
*
- * @param run = TRUE makes immediately tqrepaint of panel
+ * @param run = TRUE makes immediately repaint of panel
* @param run = TRUE provede okamzite prekresleni panelu.
*
* @since 0.2
@@ -129,7 +129,7 @@ public:
* Sets nine basic color for circle in scale
*
* @param run = TRUE provede okamzite prekresleni panelu.
- * @param run = TRUE makes immediately tqrepaint of panel
+ * @param run = TRUE makes immediately repaint of panel
*
* @since 0.1
**/
@@ -158,7 +158,7 @@ public:
* @param startOfCircle Urcuje zazatek mezikruzi.
* @param endOfCircle Urcuje konec mezikruzi.
* @param color Urcuje barvu.
- * @param run = TRUE makes immediately tqrepaint of panel
+ * @param run = TRUE makes immediately repaint of panel
* @param run = TRUE provede okamzite prekresleni panelu.
*
* @since 0.2
@@ -171,7 +171,7 @@ public:
* Clear colors of scale
* Zrusi vybarveni stupnice.
*
- * @param run = TRUE makes immediately tqrepaint of panel
+ * @param run = TRUE makes immediately repaint of panel
* @param run = TRUE provede okamzite prekresleni panelu.
*
* @since 0.1
@@ -186,7 +186,7 @@ public:
*
* @param Astart Urcuje pocatecni hodnotu stupnice.
* @param AEND Urcuje koncovou hodnotu stupnice.
- * @param run = TRUE makes immediately tqrepaint of panel
+ * @param run = TRUE makes immediately repaint of panel
* @param run = TRUE provede okamzite prekresleni panelu.
*
* @since 0.2
@@ -199,7 +199,7 @@ public:
*
* @param Count Determine number of parts of pointer..
* @param Count Urcuje pocet casti stupnice.
- * @param run = TRUE makes immediately tqrepaint of panel
+ * @param run = TRUE makes immediately repaint of panel
* @param run = TRUE provede okamzite prekresleni panelu.
*
* @since 0.1
@@ -212,7 +212,7 @@ public:
*
* @param pointerColor determine color of pointer.
* @param pointerColor Urcuje barvu rucicky.
- * @param run = TRUE makes immediately tqrepaint of panel
+ * @param run = TRUE makes immediately repaint of panel
* @param run = TRUE provede okamzite prekresleni panelu.
* @since 0.2
*/
@@ -224,7 +224,7 @@ public:
*
* @param fontColor determine color of font.
* @param fontColor urcuje barvu fontu.
- * @param run = TRUE makes immediately tqrepaint of panel
+ * @param run = TRUE makes immediately repaint of panel
* @param run = TRUE provede okamzite prekresleni panelu.
*
* @since 0.1
@@ -239,7 +239,7 @@ public:
*
* @param scaleColor determine color if scale.
* @param scaleColor urcuje barvu stupnice.
- * @param run = TRUE makes immediately tqrepaint of panel
+ * @param run = TRUE makes immediately repaint of panel
* @param run = TRUE provede okamzite prekresleni panelu.
*
* @since 0.1
@@ -251,7 +251,7 @@ public:
* Sets type of digital processing of pointer. 0 nothing. 1 fast antialiasing, 2 slow antialiasing, 3 blur motion + fast antialiasing, 4 blur motion + slow antialiasing.
*
* @param qualityOfPointer determine quality of pointer's digital procesing
- * @param run = TRUE makes immediately tqrepaint of panel
+ * @param run = TRUE makes immediately repaint of panel
* @param run = TRUE provede okamzite prekresleni panelu.
*
* @since 0.1
@@ -265,7 +265,7 @@ public:
* Posune rucicku na hodnotu pointerValue.
*
* @param pointerValue Urcuje hodnotu na jakou bude nastavena rucicka.
- * @param run = TRUE makes immediately tqrepaint of panel
+ * @param run = TRUE makes immediately repaint of panel
* @param run = TRUE provede okamzite prekresleni panelu.
*
* @since 0.1
diff --git a/src/knutclient.cpp b/src/knutclient.cpp
index c9eac64..3c4adb1 100755
--- a/src/knutclient.cpp
+++ b/src/knutclient.cpp
@@ -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.").tqarg(nextConnDelay[m_mainUpsInfo.reconnectCount-1]),m_mainUpsInfo.record.name);
+ addEventString(i18n("The connection failed. The next connection will make after %1 sec.").arg(nextConnDelay[m_mainUpsInfo.reconnectCount-1]),m_mainUpsInfo.record.name);
m_reconnectTimer->start( nextConnDelay[m_mainUpsInfo.reconnectCount-1]*1000, TRUE ); // starts reconnect timer again
}
else {
@@ -1096,7 +1096,7 @@ void KNutClient::slotRefreshConnection(void) {
if (m_myDock) {
m_myDock->clearDockValues();
// myDock->initImage();
- // myDock->tqrepaint();
+ // myDock->repaint();
}
if (mainWindow) {
mainWindow->cleanPanels();
diff --git a/src/knutclient.h b/src/knutclient.h
index 39106f2..9498876 100755
--- a/src/knutclient.h
+++ b/src/knutclient.h
@@ -96,7 +96,7 @@ class KNutClient : public TQObject, public KSessionManaged {
/**
* Nastavi hodnoty po prvem pripojeni na UPS, zavola prekresleni docku a nastartuje timer
- * Sets values after the first conection to UPS ,calls to tqrepaint of dock and starts timer
+ * Sets values after the first conection to UPS ,calls to repaint of dock and starts timer
*
* @since 0.2
**/
diff --git a/src/knutdock.cpp b/src/knutdock.cpp
index 61f67d8..bb1f6e1 100755
--- a/src/knutdock.cpp
+++ b/src/knutdock.cpp
@@ -195,7 +195,7 @@ void KNutDock::repaintDock (const bool always) {
TQPainter paint;
- if (m_activeUpsInfo->upsNet == 0) { tqrepaint(); return;}
+ if (m_activeUpsInfo->upsNet == 0) { repaint(); return;}
m_dataOkOld=m_dataOk;
@@ -230,7 +230,7 @@ void KNutDock::repaintDock (const bool always) {
// **********RUNTIME***********
myStatusBatValue = myStatusValue & KNutNet::OB; // OB = UPS runs on battery
if ((myRuntimeValue != m_runtimeValue) || (myStatusBatValue != m_statusBatValue)) {
- // when runtime is changed or flags OB is changed we must tqrepaint icons
+ // when runtime is changed or flags OB is changed we must repaint icons
// when OB is changed same items in icon will change color
m_runtimeValue = myRuntimeValue; // runtime is old value of runtime, one is defined like global value of class
m_statusBatValue = myStatusBatValue;
@@ -390,7 +390,7 @@ void KNutDock::repaintDock (const bool always) {
}
}
}
- tqrepaint();
+ repaint();
}
@@ -483,17 +483,17 @@ void KNutDock::toolTip (int runtime, int status, int batteryCharge, int upsLoad
if (m_toolTipFlags & TTRun) {
if (runtime != knc::numberVarError)
- text += "\n" + i18n("Runtime") + i18n(" : %1:%2 min").tqarg(min).tqarg(sec);
+ text += "\n" + i18n("Runtime") + i18n(" : %1:%2 min").arg(min).arg(sec);
}
if (m_toolTipFlags & TTCharge) {
if (batteryCharge != knc::numberVarError)
- text += "\n" + i18n("Battery Charge") + TQString(" : %1 %").tqarg(batteryCharge);
+ text += "\n" + i18n("Battery Charge") + TQString(" : %1 %").arg(batteryCharge);
}
if (m_toolTipFlags & TTLoad) {
if (upsLoad != knc::numberVarError)
- text += "\n" + i18n("UPS Load") + TQString(" : %1 %").tqarg(upsLoad);
+ text += "\n" + i18n("UPS Load") + TQString(" : %1 %").arg(upsLoad);
}
TQToolTip::remove(this);
diff --git a/src/knutdock.h b/src/knutdock.h
index 64e4d53..c9fc2cc 100755
--- a/src/knutdock.h
+++ b/src/knutdock.h
@@ -138,9 +138,9 @@ class KNutDock : public KSystemTray {
void changeToolTip(void);
/**
- * Provede nove zpracovani dat a jejich nakresli iconu docku, interni tqrepaint je volan vzdy.
+ * Provede nove zpracovani dat a jejich nakresli iconu docku, interni repaint je volan vzdy.
* Tato funkce take vola funkci ToolTip.
- * Makes new processing of data and paints icons of dock, internal tqrepaint is colled always.
+ * Makes new processing of data and paints icons of dock, internal repaint is colled always.
* This function calls function ToolTips too.
* @param always Kdyz je true prorovede vykresleni vzdy, kde je false provede vykresleni jen kdyz je zmenena nejaka hodnota UPS.
* @param always When param is true, icon is made always, is one is false icon is makeing when same UPS's value is changed.
diff --git a/src/knutfrontpanel.cpp b/src/knutfrontpanel.cpp
index 5c5a1f2..c0f0c8c 100755
--- a/src/knutfrontpanel.cpp
+++ b/src/knutfrontpanel.cpp
@@ -465,7 +465,7 @@ void KNutFrontPanel::setRuntime(const int runtime) {
if (runtime != knc::numberVarError) {
int min = (int)floor(runtime/60);
int sec = runtime - (min*60);
- runtimeString=TQString("%1:%2").tqarg(min,2).tqarg(sec,2);
+ runtimeString=TQString("%1:%2").arg(min,2).arg(sec,2);
if (runtimeString[3] == ' ') runtimeString[3]='0';
}
else runtimeString="-:--";
@@ -615,7 +615,7 @@ void KNutFrontPanel::setAllPalettes (void){
m_frameOL->setPalette(m_bulbsPalette);
- // we must correct feature of KLed, KLed tqrepaint background when color of item (function KLed::setColor()) is changed only
+ // we must correct feature of KLed, KLed repaint background when color of item (function KLed::setColor()) is changed only
// when we change palette backround only, KLed ignore this change
myColor = m_frameOL->color();
diff --git a/src/knutmainwindow.cpp b/src/knutmainwindow.cpp
index 257ebbf..035daa6 100644
--- a/src/knutmainwindow.cpp
+++ b/src/knutmainwindow.cpp
@@ -195,14 +195,14 @@ void KNutMainWindow::setConfig (unsigned int changeSetting) {
if (!m_settingData->customBColor) { // nastavime barvu pozadi podle systemu
m_area->setPalette (m_mainPalette); // we set background color based on system
m_panelMeter->setPalette (m_mainPalette);
- tqrepaint();
+ repaint();
}
else {
m_areaPalette.setColor(TQPalette::Active,TQColorGroup::Background,m_settingData->mainBackgroundColor);
m_areaPalette.setColor(TQPalette::Inactive,TQColorGroup::Background,m_settingData->mainBackgroundColor);
m_area->setPalette (m_areaPalette);
m_panelMeter->setPalette (m_areaPalette);
- tqrepaint();
+ repaint();
}
}
else {
@@ -211,7 +211,7 @@ void KNutMainWindow::setConfig (unsigned int changeSetting) {
m_areaPalette.setColor(TQPalette::Inactive,TQColorGroup::Background,m_settingData->mainBackgroundColor);
m_area->setPalette (m_areaPalette);
m_panelMeter->setPalette (m_areaPalette);
- tqrepaint();
+ repaint();
}
}
@@ -456,7 +456,7 @@ void KNutMainWindow::showUpsData (void) {
m_panelMeter->setSize(true);
//qDebug ("KNutMainWindow::showUpsData 3");
m_mainSplit->refresh();
- // doesn't tqrepaint analog pointers, because pointers will be repainted twice
+ // doesn't repaint analog pointers, because pointers will be repainted twice
//qDebug ("KNutMainWindow::showUpsData 4");
// repaintAnalogs(false); // don't make this
//qDebug ("KNutMainWindow::showUpsData 5");
diff --git a/src/knutmainwindow.h b/src/knutmainwindow.h
index 1714010..47829a9 100644
--- a/src/knutmainwindow.h
+++ b/src/knutmainwindow.h
@@ -100,7 +100,7 @@ class KNutMainWindow : public KMainWindow {
/**
* Repaints analog panels based on their status.
* Prekresli analogove panely na zaklade jejich stavu.
- * @param run = TRUE makes immediately tqrepaint of panel
+ * @param run = TRUE makes immediately repaint of panel
*
* @since 0.3.1
**/
@@ -109,8 +109,8 @@ class KNutMainWindow : public KMainWindow {
/**
* Da prikaz k prekresleni analogovych panelu, hlavniho panelu a nastavi jejich hodnoty na
* zaklade XFer hodnot.
- * Give command to tqrepaint analog panels, main panel and sets their values based on XFer values
- * @param run = TRUE makes immediately tqrepaint of analog panels
+ * Give command to repaint analog panels, main panel and sets their values based on XFer values
+ * @param run = TRUE makes immediately repaint of analog panels
*
* @since 0.3.1
**/
diff --git a/src/knutnewupsdlg.cpp b/src/knutnewupsdlg.cpp
index 52d2192..631f5df 100644
--- a/src/knutnewupsdlg.cpp
+++ b/src/knutnewupsdlg.cpp
@@ -95,7 +95,7 @@ KNutNewUpsDlg::KNutNewUpsDlg (KNutUpsData* const upsData, KNutVarData* const ana
TQLabel* TextLabel4 = new TQLabel(i18n("Port:"), hostBox, "TextLabel4" );
m_lineEdit4 = new KLineEdit( hostBox, "LineEdit4" );
- m_lineEdit4->setText(TQString("%1").tqarg(knc::DefaultPort));
+ m_lineEdit4->setText(TQString("%1").arg(knc::DefaultPort));
portLayout->addWidget(TextLabel4);
portLayout->addWidget(m_lineEdit4);
diff --git a/src/knutpanelmeter.cpp b/src/knutpanelmeter.cpp
index 7f91c62..5990e11 100644
--- a/src/knutpanelmeter.cpp
+++ b/src/knutpanelmeter.cpp
@@ -154,7 +154,7 @@ void KNutPanelMeter::activateAnalogs (void) {
}
//qDebug ( "KNutPanelMeter::activateAnalogs 1" );
- m_analogArea->tqrepaint(); //tqrepaint all analog panels, background was made already
+ m_analogArea->repaint(); //repaint all analog panels, background was made already
//qDebug ("KNutPanelMeter::activateAnalogs - end");
// analogSV->resizeContents(sizeHint().width(),sizeHint().height());
}
@@ -189,7 +189,7 @@ void KNutPanelMeter::setSize (bool showPanels) {
m_analogArea->setMinimumSize (m_widthArea,m_heightArea);
adjustSize();
resizeContents(m_widthArea,m_heightArea);
- tqrepaint();
+ repaint();
}
void KNutPanelMeter::repaintScaleAnalogPanel (int panelNumber, float value) {
@@ -229,7 +229,7 @@ void KNutPanelMeter::repaintScaleAnalogPanel (int panelNumber, float value) {
m_analogPanels->upsAnalogs[panelNumber]->setPointer(value); // jistota pokud by nam to nekde propadlo
m_analogPanels->upsAnalogs[panelNumber]->hide();// schovame analogovy panel hides analog panel
m_analogPanels->upsAnalogs[panelNumber]->setRange (m_analogPanels->scaleStart[panelNumber],m_analogPanels->scaleEnd[panelNumber]);
- m_analogPanels->upsAnalogs[panelNumber]->tqrepaint(); // prekreslime , repaints panel
+ m_analogPanels->upsAnalogs[panelNumber]->repaint(); // prekreslime , repaints panel
m_analogPanels->upsAnalogs[panelNumber]->show(); //zobrazime merak shows analog panel
}
}
@@ -299,7 +299,7 @@ KNutVarData::VarStrucDef analogMemberData;
m_analogPanels->upsAnalogs[i]->makeBackground(false); // repaints analog meter
m_analogPanels->upsAnalogs[i]->repaintPointer(false); // repaints analog meter
- m_analogPanels->upsAnalogs[i]->tqrepaint(); // repaints analog meter
+ m_analogPanels->upsAnalogs[i]->repaint(); // repaints analog meter
m_analogPanels->upsAnalogs[i]->show(); // shows analog meter
} // end if (((activeUpsInfo
if (repaintAllPanels) {
diff --git a/src/knutpanelmeter.h b/src/knutpanelmeter.h
index 0904156..7f5433c 100644
--- a/src/knutpanelmeter.h
+++ b/src/knutpanelmeter.h
@@ -98,7 +98,7 @@ public:
*
* @param panelNumber is number of analog panel.
* @param value is value of settimg amalog panel.
- * @param run = TRUE makes immediately tqrepaint of panel
+ * @param run = TRUE makes immediately repaint of panel
* @param panelNumber je cislo analogoveho panelu.
* @param value je hodnota na kterou je panel nastaven.
* @param run = TRUE provede okamzite prekresleni
diff --git a/src/knutprefdlg.cpp b/src/knutprefdlg.cpp
index 5cbf2ec..ce88da1 100644
--- a/src/knutprefdlg.cpp
+++ b/src/knutprefdlg.cpp
@@ -210,7 +210,7 @@ void KNutPrefDlg::slotNewUps () {
// pridame data do okenka
m_listBox2->insertItem(upsRecord.name);
// pokud pridame prvni prekreslime hlavni okno
- // when adds the first sameone, will tqrepaint window
+ // when adds the first sameone, will repaint window
m_checked = true;
if (m_myUpsData->getCount() ==1 ) m_checkedActiveUps = true;
}
diff --git a/src/knutrwvar.cpp b/src/knutrwvar.cpp
index d42858b..5d1e726 100755
--- a/src/knutrwvar.cpp
+++ b/src/knutrwvar.cpp
@@ -191,7 +191,7 @@ void KNutRWVar::slotOk() {
if (!(error = m_upsNet->setVariable(m_rWVarBox->currentText(), value, m_lineEditName->text(),m_lineEditPassword->text(),false))) {
// vzhledem k asynchronimu spracovani asi zbytecne
// myUpsNet->getUpsValues(true);
- emit signalChangeRWVars(m_rWVarBox->currentText());//emits command for loading of variable and tqrepaint of panel
+ emit signalChangeRWVars(m_rWVarBox->currentText());//emits command for loading of variable and repaint of panel
(*m_oldUserName) = m_lineEditName->text();
(*m_oldUserPassword) = m_lineEditPassword->text();
@@ -204,7 +204,7 @@ void KNutRWVar::slotOk() {
// next line isn't needed, maybe
// vzhledem k asynchronimu spracovani asi zbytecne
// myUpsNet->getUpsValues(true);
- emit signalChangeRWVars(m_rWVarBox->currentText()); //emits command for loading of variable and tqrepaint of panel
+ emit signalChangeRWVars(m_rWVarBox->currentText()); //emits command for loading of variable and repaint of panel
accept();
}
}