summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kmwinfobase.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/management/kmwinfobase.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/management/kmwinfobase.cpp')
-rw-r--r--kdeprint/management/kmwinfobase.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kdeprint/management/kmwinfobase.cpp b/kdeprint/management/kmwinfobase.cpp
index e58e452bb..aef26049f 100644
--- a/kdeprint/management/kmwinfobase.cpp
+++ b/kdeprint/management/kmwinfobase.cpp
@@ -19,57 +19,57 @@
#include "kmwinfobase.h"
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qlayout.h>
+#include <tqlabel.h>
+#include <tqlineedit.h>
+#include <tqlayout.h>
-KMWInfoBase::KMWInfoBase(int n, QWidget *parent, const char *name)
+KMWInfoBase::KMWInfoBase(int n, TQWidget *parent, const char *name)
: KMWizardPage(parent,name)
{
m_labels.setAutoDelete(false);
m_edits.setAutoDelete(false);
m_nlines = n;
- QGridLayout *lay1 = new QGridLayout(this, m_nlines+3, 2, 0, 10);
+ QGridLayout *lay1 = new TQGridLayout(this, m_nlines+3, 2, 0, 10);
lay1->addRowSpacing(1,10);
lay1->setRowStretch(m_nlines+2,1);
lay1->setColStretch(1,1);
- m_info = new QLabel(this);
+ m_info = new TQLabel(this);
m_info->setTextFormat(Qt::RichText);
lay1->addMultiCellWidget(m_info,0,0,0,1);
for (int i=0;i<m_nlines;i++)
{
- m_labels.append(new QLabel(this));
- m_edits.append(new QLineEdit(this));
+ m_labels.append(new TQLabel(this));
+ m_edits.append(new TQLineEdit(this));
lay1->addWidget(m_labels.last(),i+2,0);
lay1->addWidget(m_edits.last(),i+2,1);
}
}
-void KMWInfoBase::setInfo(const QString& s)
+void KMWInfoBase::setInfo(const TQString& s)
{
m_info->setText(s);
}
-void KMWInfoBase::setLabel(int i, const QString& s)
+void KMWInfoBase::setLabel(int i, const TQString& s)
{
if (i >= 0 && i < m_nlines)
m_labels.at(i)->setText(s);
}
-void KMWInfoBase::setText(int i, const QString& s)
+void KMWInfoBase::setText(int i, const TQString& s)
{
if (i >= 0 && i < m_nlines)
m_edits.at(i)->setText(s);
}
-QString KMWInfoBase::text(int i)
+TQString KMWInfoBase::text(int i)
{
if (i >= 0 && i < m_nlines)
return m_edits.at(i)->text();
- return QString::null;
+ return TQString::null;
}
void KMWInfoBase::setCurrent(int i)
@@ -81,7 +81,7 @@ void KMWInfoBase::setCurrent(int i)
}
}
-QLineEdit* KMWInfoBase::lineEdit( int i )
+TQLineEdit* KMWInfoBase::lineEdit( int i )
{
if ( i >= 0 && i < m_nlines )
return m_edits.at( i );