summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codegenerators/cppcodegenerationform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/codegenerators/cppcodegenerationform.cpp')
-rw-r--r--umbrello/umbrello/codegenerators/cppcodegenerationform.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/umbrello/umbrello/codegenerators/cppcodegenerationform.cpp b/umbrello/umbrello/codegenerators/cppcodegenerationform.cpp
index a4acf713..f5d8ec42 100644
--- a/umbrello/umbrello/codegenerators/cppcodegenerationform.cpp
+++ b/umbrello/umbrello/codegenerators/cppcodegenerationform.cpp
@@ -18,9 +18,9 @@
#include "cppcodegenerationform.h"
// qt/kde includes
-#include <qlabel.h>
-#include <qregexp.h>
-#include <qlistview.h>
+#include <tqlabel.h>
+#include <tqregexp.h>
+#include <tqlistview.h>
#include <kfiledialog.h>
#include <kdebug.h>
#include <klocale.h>
@@ -28,38 +28,38 @@
#include <kmessagebox.h>
-CPPCodeGenerationForm::CPPCodeGenerationForm( QWidget *parent, const char *name )
+CPPCodeGenerationForm::CPPCodeGenerationForm( TQWidget *parent, const char *name )
: CPPCodeGenerationFormBase (parent,name)
{
init();
GeneralOptionsListView->addColumn(tr2i18n("General Options"));
- pOptionPackageIsANamespace = new QCheckListItem( GeneralOptionsListView,
+ pOptionPackageIsANamespace = new TQCheckListItem( GeneralOptionsListView,
tr2i18n("Package is a namespace"),
- QCheckListItem::CheckBox );
- pOptionVirtualDestructors = new QCheckListItem( GeneralOptionsListView,
+ TQCheckListItem::CheckBox );
+ pOptionVirtualDestructors = new TQCheckListItem( GeneralOptionsListView,
tr2i18n("Virtual destructors"),
- QCheckListItem::CheckBox );
- pOptionGenerateEmptyConstructors = new QCheckListItem( GeneralOptionsListView,
+ TQCheckListItem::CheckBox );
+ pOptionGenerateEmptyConstructors = new TQCheckListItem( GeneralOptionsListView,
tr2i18n("Generate empty constructors"),
- QCheckListItem::CheckBox );
- pOptionGenerateAccessorMethods = new QCheckListItem( GeneralOptionsListView,
+ TQCheckListItem::CheckBox );
+ pOptionGenerateAccessorMethods = new TQCheckListItem( GeneralOptionsListView,
tr2i18n("Generate accessor methods"),
- QCheckListItem::CheckBox );
- pOptionOperationsAreInline = new QCheckListItem( GeneralOptionsListView,
+ TQCheckListItem::CheckBox );
+ pOptionOperationsAreInline = new TQCheckListItem( GeneralOptionsListView,
tr2i18n("Operations are inline"),
- QCheckListItem::CheckBox );
- pOptionAccessorsAreInline = new QCheckListItem( GeneralOptionsListView,
+ TQCheckListItem::CheckBox );
+ pOptionAccessorsAreInline = new TQCheckListItem( GeneralOptionsListView,
tr2i18n("Accessors are inline"),
- QCheckListItem::CheckBox );
+ TQCheckListItem::CheckBox );
- pOptionAccessorsArePublic = new QCheckListItem( GeneralOptionsListView,
+ pOptionAccessorsArePublic = new TQCheckListItem( GeneralOptionsListView,
tr2i18n("Accessors are public"),
- QCheckListItem::CheckBox );
+ TQCheckListItem::CheckBox );
connect(GeneralOptionsListView,
- SIGNAL(clicked(QListViewItem *)), this,
- SLOT(generalOptionsListViewClicked(QListViewItem *))
+ TQT_SIGNAL(clicked(TQListViewItem *)), this,
+ TQT_SLOT(generalOptionsListViewClicked(TQListViewItem *))
);
}
@@ -70,8 +70,8 @@ CPPCodeGenerationForm::~CPPCodeGenerationForm()
void CPPCodeGenerationForm::browseClicked()
{
- QString button = sender()->name();
- QString file = KFileDialog::getOpenFileName( QString::null, "*.h", this, "Get Header File");
+ TQString button = sender()->name();
+ TQString file = KFileDialog::getOpenFileName( TQString::null, "*.h", this, "Get Header File");
if(file.isEmpty())
return;
@@ -86,7 +86,7 @@ void CPPCodeGenerationForm::browseClicked()
}
}
-void CPPCodeGenerationForm::generalOptionsListViewClicked(QListViewItem *pSender) {
+void CPPCodeGenerationForm::generalOptionsListViewClicked(TQListViewItem *pSender) {
// operations are inline and accessors are operations :)
if (pOptionOperationsAreInline->isOn() && pOptionGenerateAccessorMethods->isOn())