summaryrefslogtreecommitdiffstats
path: root/buildtools/script/scriptoptionswidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /buildtools/script/scriptoptionswidget.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);