summaryrefslogtreecommitdiffstats
path: root/src/knutrwvar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/knutrwvar.cpp')
-rwxr-xr-xsrc/knutrwvar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/knutrwvar.cpp b/src/knutrwvar.cpp
index 3d904eb..feca8c8 100755
--- a/src/knutrwvar.cpp
+++ b/src/knutrwvar.cpp
@@ -31,7 +31,7 @@
#include <tqframe.h>
#include <tqlabel.h>
#include <tqstring.h>
-#include <tqlayout.h>
+#include <layout.h>
//#include <iostream>
@@ -54,7 +54,7 @@ KNutRWVar::KNutRWVar(TQString* userName, TQString* userPassword, const TQString
TQFrame *page = plainPage();
TQVBoxLayout *topLayout = new TQVBoxLayout( page, 0, spacingHint() );
TQLabel *label1 = new TQLabel (i18n("SET RW VARIABLE"),page,"label1");
- label1->tqsetAlignment(TQt::AlignHCenter);
+ label1->setAlignment(TQt::AlignHCenter);
topLayout->addWidget(label1);
@@ -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();
}
}