diff options
Diffstat (limited to 'kdeprint/kdeprintfax/filterdlg.cpp')
-rw-r--r-- | kdeprint/kdeprintfax/filterdlg.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kdeprint/kdeprintfax/filterdlg.cpp b/kdeprint/kdeprintfax/filterdlg.cpp index 563c37a7d..ea9a88ce9 100644 --- a/kdeprint/kdeprintfax/filterdlg.cpp +++ b/kdeprint/kdeprintfax/filterdlg.cpp @@ -21,23 +21,23 @@ #include "filterdlg.h" #include "filterdlg.moc" -#include <qlineedit.h> -#include <qlabel.h> -#include <qlayout.h> +#include <tqlineedit.h> +#include <tqlabel.h> +#include <tqlayout.h> #include <klocale.h> -FilterDlg::FilterDlg(QWidget *parent, const char *name) +FilterDlg::FilterDlg(TQWidget *parent, const char *name) : KDialogBase(parent, name, true, i18n("Filter Parameters"), Ok|Cancel, Ok) { - QWidget *w = new QWidget(this); + QWidget *w = new TQWidget(this); - m_mime = new QLineEdit(w); - m_cmd = new QLineEdit(w); - QLabel *m_mimelabel = new QLabel(i18n("MIME type:"), w); - QLabel *m_cmdlabel = new QLabel(i18n("Command:"), w); + m_mime = new TQLineEdit(w); + m_cmd = new TQLineEdit(w); + QLabel *m_mimelabel = new TQLabel(i18n("MIME type:"), w); + QLabel *m_cmdlabel = new TQLabel(i18n("Command:"), w); - QGridLayout *l0 = new QGridLayout(w, 2, 2, 10, 5); + QGridLayout *l0 = new TQGridLayout(w, 2, 2, 10, 5); l0->setColStretch(1, 1); l0->addWidget(m_mimelabel, 0, 0); l0->addWidget(m_cmdlabel, 1, 0); @@ -47,8 +47,8 @@ FilterDlg::FilterDlg(QWidget *parent, const char *name) setMainWidget(w); m_mime->setFocus(); resize(300, 100); - connect(m_mime, SIGNAL(textChanged ( const QString & )),this, SLOT(slotTextFilterChanged())); - connect(m_cmd, SIGNAL(textChanged ( const QString & )),this, SLOT(slotTextFilterChanged())); + connect(m_mime, TQT_SIGNAL(textChanged ( const TQString & )),this, TQT_SLOT(slotTextFilterChanged())); + connect(m_cmd, TQT_SIGNAL(textChanged ( const TQString & )),this, TQT_SLOT(slotTextFilterChanged())); slotTextFilterChanged(); } @@ -57,7 +57,7 @@ void FilterDlg::slotTextFilterChanged( ) enableButtonOK(!m_mime->text().isEmpty() && !m_cmd->text().isEmpty()); } -bool FilterDlg::doIt(QWidget *parent, QString *mime, QString *cmd) +bool FilterDlg::doIt(TQWidget *parent, TQString *mime, TQString *cmd) { FilterDlg dlg(parent); if (mime) dlg.m_mime->setText(*mime); |