diff options
Diffstat (limited to 'kdeprint/management/kmwinfobase.cpp')
-rw-r--r-- | kdeprint/management/kmwinfobase.cpp | 28 |
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 ); |