diff options
Diffstat (limited to 'ksysv/ServiceDlg.cpp')
-rw-r--r-- | ksysv/ServiceDlg.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/ksysv/ServiceDlg.cpp b/ksysv/ServiceDlg.cpp index 0564028..4b7d4ef 100644 --- a/ksysv/ServiceDlg.cpp +++ b/ksysv/ServiceDlg.cpp @@ -12,11 +12,11 @@ * * ***************************************************************************/ -#include <qlayout.h> -#include <qlabel.h> -#include <qfileinfo.h> -#include <qcombobox.h> -#include <qstring.h> +#include <tqlayout.h> +#include <tqlabel.h> +#include <tqfileinfo.h> +#include <tqcombobox.h> +#include <tqstring.h> #include <kapplication.h> #include <klocale.h> @@ -27,22 +27,22 @@ #define MIN_SIZE(A) A->setMinimumSize(A->sizeHint()) -ServiceDlg::ServiceDlg (const QString& action, const QString& label, - QWidget* parent, const char* name) +ServiceDlg::ServiceDlg (const TQString& action, const TQString& label, + TQWidget* parent, const char* name) : KDialogBase (parent, name, false, action, Apply|Close, Apply, true) { - QWidget* page = new QWidget (this); + TQWidget* page = new TQWidget (this); - QBoxLayout* top = new QVBoxLayout (page, 0, spacingHint()); + TQBoxLayout* top = new TQVBoxLayout (page, 0, spacingHint()); - mServices = new QComboBox (false, page); - QLabel* desc = new QLabel(label, page); + mServices = new TQComboBox (false, page); + TQLabel* desc = new TQLabel(label, page); MIN_SIZE(desc); desc->setBuddy(mServices); MIN_SIZE(mServices); mServices->setMinimumWidth(mServices->minimumSize().width() * 2); - QBoxLayout* serv_layout = new QHBoxLayout(); + TQBoxLayout* serv_layout = new TQHBoxLayout(); top->addLayout (serv_layout); serv_layout->addWidget(desc); serv_layout->addWidget(mServices); @@ -73,13 +73,13 @@ void ServiceDlg::resetChooser(KSVDragList* list, bool edit) return; // initialize the combobox - for (QListViewItemIterator it (list); + for (TQListViewItemIterator it (list); it.current(); ++it) { const KSVItem* item = static_cast<KSVItem*> (it.current()); - QFileInfo info (item->filenameAndPath()); + TQFileInfo info (item->filenameAndPath()); if (edit) { @@ -100,14 +100,14 @@ void ServiceDlg::resetChooser(KSVDragList* list, bool edit) void ServiceDlg::show () { - QDialog::show (); + TQDialog::show (); emit display (true); } void ServiceDlg::hide () { - QDialog::hide (); + TQDialog::hide (); emit display (false); } |