diff options
Diffstat (limited to 'src/knutrwvar.cpp')
-rwxr-xr-x | src/knutrwvar.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/knutrwvar.cpp b/src/knutrwvar.cpp index feca8c8..3d904eb 100755 --- a/src/knutrwvar.cpp +++ b/src/knutrwvar.cpp @@ -31,7 +31,7 @@ #include <tqframe.h> #include <tqlabel.h> #include <tqstring.h> -#include <layout.h> +#include <tqlayout.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->setAlignment(TQt::AlignHCenter); + label1->tqsetAlignment(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 repaint of panel + emit signalChangeRWVars(m_rWVarBox->currentText());//emits command for loading of variable and tqrepaint 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 repaint of panel + emit signalChangeRWVars(m_rWVarBox->currentText()); //emits command for loading of variable and tqrepaint of panel accept(); } } |