diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:31:19 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:31:19 -0600 |
commit | e29455aea4fc1fda591862200c6321a3722e134c (patch) | |
tree | dbb3bc7ee43510962fcfa3d69b5743d8daf8c3b6 /src/knutrwvar.cpp | |
parent | 841ad360f807ab3ab1596308d120ef7918207e13 (diff) | |
download | knutclient-e29455aea4fc1fda591862200c6321a3722e134c.tar.gz knutclient-e29455aea4fc1fda591862200c6321a3722e134c.zip |
Rename a number of old tq methods that are no longer tq specific
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 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(); } } |