summaryrefslogtreecommitdiffstats
path: root/src/knutrwvar.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:28 -0600
commit90705c50d34801a0f7516ddc4d3bf6c295413297 (patch)
treee3b61cdd31aaddef0bf7c78231a08599f8851225 /src/knutrwvar.cpp
parente29455aea4fc1fda591862200c6321a3722e134c (diff)
downloadknutclient-90705c50d34801a0f7516ddc4d3bf6c295413297.tar.gz
knutclient-90705c50d34801a0f7516ddc4d3bf6c295413297.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit e29455aea4fc1fda591862200c6321a3722e134c.
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 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();
}
}