summaryrefslogtreecommitdiffstats
path: root/kcontrol/filetypes/newtypedlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/filetypes/newtypedlg.cpp')
-rw-r--r--kcontrol/filetypes/newtypedlg.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kcontrol/filetypes/newtypedlg.cpp b/kcontrol/filetypes/newtypedlg.cpp
index 24760cf1d..fb358f567 100644
--- a/kcontrol/filetypes/newtypedlg.cpp
+++ b/kcontrol/filetypes/newtypedlg.cpp
@@ -1,39 +1,39 @@
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qwhatsthis.h>
-#include <qcombobox.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqwhatsthis.h>
+#include <tqcombobox.h>
#include <klocale.h>
#include <klineedit.h>
#include "newtypedlg.h"
-NewTypeDialog::NewTypeDialog(QStringList groups,
- QWidget *parent, const char *name)
+NewTypeDialog::NewTypeDialog(TQStringList groups,
+ TQWidget *parent, const char *name)
: KDialogBase(parent, name, true, i18n( "Create New File Type" ),
Ok|Cancel, Ok, true)
{
- QFrame *main = makeMainWidget();
- QVBoxLayout *topl = new QVBoxLayout(main, 0, spacingHint());
+ TQFrame *main = makeMainWidget();
+ TQVBoxLayout *topl = new TQVBoxLayout(main, 0, spacingHint());
- QGridLayout *grid = new QGridLayout(2, 2);
+ TQGridLayout *grid = new TQGridLayout(2, 2);
grid->setColStretch(1, 1);
topl->addLayout(grid);
- QLabel *l = new QLabel(i18n("Group:"), main);
+ TQLabel *l = new TQLabel(i18n("Group:"), main);
grid->addWidget(l, 0, 0);
- groupCombo = new QComboBox(main);
+ groupCombo = new TQComboBox(main);
//groupCombo->setEditable( true ); M.O.: Currently, the code in filetypesview isn't capable of handling
//new top level types; so better not let them be added than crash.
groupCombo->insertStringList(groups);
grid->addWidget(groupCombo, 0, 1);
- QWhatsThis::add( groupCombo, i18n("Select the category under which"
+ TQWhatsThis::add( groupCombo, i18n("Select the category under which"
" the new file type should be added.") );
- l = new QLabel(i18n("Type name:"), main);
+ l = new TQLabel(i18n("Type name:"), main);
grid->addWidget(l, 1, 0);
typeEd = new KLineEdit(main);
@@ -45,13 +45,13 @@ NewTypeDialog::NewTypeDialog(QStringList groups,
setMinimumSize( 300, 50 );
}
-QString NewTypeDialog::group() const
+TQString NewTypeDialog::group() const
{
return groupCombo->currentText();
}
-QString NewTypeDialog::text() const
+TQString NewTypeDialog::text() const
{
return typeEd->text();
}