summaryrefslogtreecommitdiffstats
path: root/part/kxetexteditordialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'part/kxetexteditordialog.cpp')
-rw-r--r--part/kxetexteditordialog.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/part/kxetexteditordialog.cpp b/part/kxetexteditordialog.cpp
index c7c74fc..6e3fa39 100644
--- a/part/kxetexteditordialog.cpp
+++ b/part/kxetexteditordialog.cpp
@@ -21,15 +21,15 @@
#include "kxeconfiguration.h"
#include "kxetextviewsettings.h"
-#include <qdom.h>
-#include <qpushbutton.h>
+#include <tqdom.h>
+#include <tqpushbutton.h>
#include <kmessagebox.h>
#include <ktextedit.h>
#include <klocale.h>
#include <kdebug.h>
-KXETextEditorDialog::KXETextEditorDialog(QWidget *parent, const char *name)
+KXETextEditorDialog::KXETextEditorDialog(TQWidget *parent, const char *name)
: KXETextEditorDialogBase(parent,name)
{
m_pSyntaxHighlighter = new KXESyntaxHighlighter(m_pTextEditor);
@@ -68,12 +68,12 @@ void KXETextEditorDialog::accept()
bool KXETextEditorDialog::validateXml(bool bInfoIfOK)
{
- QString strXML = "<root>" + editorText() + "</root>";
+ TQString strXML = "<root>" + editorText() + "</root>";
// create XML documemt from text
- QString strErrorMsg;
+ TQString strErrorMsg;
int iErrorLine, iErrorColumn;
- QDomDocument doc;
+ TQDomDocument doc;
if(!doc.setContent(strXML, true, &strErrorMsg, &iErrorLine, &iErrorColumn) )
{ kdDebug() << "KXETextEditorDialog::validateXml: Failed parsing the file." << endl;
@@ -112,8 +112,8 @@ void KXETextEditorDialog::slotTextViewSettingsChanged()
if(KXMLEditorFactory::configuration()->textview()->isWrapOn())
{
- m_pTextEditor->setHScrollBarMode(QScrollView::AlwaysOff);
- m_pTextEditor->setWordWrap(QTextEdit::WidgetWidth);
+ m_pTextEditor->setHScrollBarMode(TQScrollView::AlwaysOff);
+ m_pTextEditor->setWordWrap(TQTextEdit::WidgetWidth);
}
m_pSyntaxHighlighter->rehighlight();