summaryrefslogtreecommitdiffstats
path: root/buildtools/script/scriptoptionswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/script/scriptoptionswidget.cpp')
-rw-r--r--buildtools/script/scriptoptionswidget.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/buildtools/script/scriptoptionswidget.cpp b/buildtools/script/scriptoptionswidget.cpp
index c1660b00..d80cd501 100644
--- a/buildtools/script/scriptoptionswidget.cpp
+++ b/buildtools/script/scriptoptionswidget.cpp
@@ -11,27 +11,27 @@
#include "scriptoptionswidget.h"
-#include <qcheckbox.h>
+#include <tqcheckbox.h>
#include <klineedit.h>
-#include <qradiobutton.h>
-#include <qtabwidget.h>
+#include <tqradiobutton.h>
+#include <tqtabwidget.h>
#include "domutil.h"
#include "kdevlanguagesupport.h"
ScriptOptionsWidget::ScriptOptionsWidget(KDevPlugin *part,
- QWidget *parent, const char *name)
+ TQWidget *parent, const char *name)
: ScriptOptionsWidgetBase(parent, name)
{
m_part = part;
- QDomDocument &dom = *m_part->projectDom();
+ TQDomDocument &dom = *m_part->projectDom();
- QString includepatterns
+ TQString includepatterns
= DomUtil::readEntry(dom, "/kdevscriptproject/general/includepatterns");
if (includepatterns.isNull() && part->languageSupport()){
- QStringList includepatternList;
+ TQStringList includepatternList;
KMimeType::List list = part->languageSupport()->mimeTypes();
KMimeType::List::Iterator it = list.begin();
while( it != list.end() ){
@@ -41,7 +41,7 @@ ScriptOptionsWidget::ScriptOptionsWidget(KDevPlugin *part,
includepatterns = includepatternList.join( "," );
}
- QString excludepatterns
+ TQString excludepatterns
= DomUtil::readEntry(dom, "/kdevscriptproject/general/excludepatterns");
if (excludepatterns.isNull())
excludepatterns = "*~";
@@ -57,10 +57,10 @@ ScriptOptionsWidget::~ScriptOptionsWidget()
void ScriptOptionsWidget::accept()
{
- QDomDocument &dom = *m_part->projectDom();
+ TQDomDocument &dom = *m_part->projectDom();
- QString includepatterns = includepatterns_edit->text();
- QString excludepatterns = excludepatterns_edit->text();
+ TQString includepatterns = includepatterns_edit->text();
+ TQString excludepatterns = excludepatterns_edit->text();
DomUtil::writeEntry(dom, "/kdevscriptproject/general/includepatterns", includepatterns);
DomUtil::writeEntry(dom, "/kdevscriptproject/general/excludepatterns", excludepatterns);