summaryrefslogtreecommitdiffstats
path: root/kcontrol/filetypes/newtypedlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/filetypes/newtypedlg.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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();
}