summaryrefslogtreecommitdiffstats
path: root/src/translators/xsltimporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/translators/xsltimporter.cpp')
-rw-r--r--src/translators/xsltimporter.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/translators/xsltimporter.cpp b/src/translators/xsltimporter.cpp
index 67f1fd2..62f7255 100644
--- a/src/translators/xsltimporter.cpp
+++ b/src/translators/xsltimporter.cpp
@@ -20,10 +20,10 @@
#include <klocale.h>
#include <kurlrequester.h>
-#include <qhbox.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qgroupbox.h>
+#include <tqhbox.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqgroupbox.h>
#include <memory>
@@ -39,9 +39,9 @@ static bool isUTF8(const KURL& url_) {
}
ref->open();
- QTextStream stream(ref->file());
- QString line = stream.readLine().lower();
- return line.find(QString::fromLatin1("utf-8")) > 0;
+ TQTextStream stream(ref->file());
+ TQString line = stream.readLine().lower();
+ return line.tqfind(TQString::tqfromLatin1("utf-8")) > 0;
}
}
@@ -77,7 +77,7 @@ Tellico::Data::CollPtr XSLTImporter::collection() {
return 0;
}
// kdDebug() << text() << endl;
- QString str = handler.applyStylesheet(text());
+ TQString str = handler.applyStylesheet(text());
// kdDebug() << str << endl;
Import::TellicoImporter imp(str);
@@ -86,22 +86,22 @@ Tellico::Data::CollPtr XSLTImporter::collection() {
return m_coll;
}
-QWidget* XSLTImporter::widget(QWidget* parent_, const char* name_) {
+TQWidget* XSLTImporter::widget(TQWidget* tqparent_, const char* name_) {
// if the url has already been set, then there's no widget
if(!m_xsltURL.isEmpty()) {
return 0;
}
- m_widget = new QWidget(parent_, name_);
- QVBoxLayout* l = new QVBoxLayout(m_widget);
+ m_widget = new TQWidget(tqparent_, name_);
+ TQVBoxLayout* l = new TQVBoxLayout(m_widget);
- QGroupBox* box = new QGroupBox(1, Qt::Vertical, i18n("XSLT Options"), m_widget);
+ TQGroupBox* box = new TQGroupBox(1, Qt::Vertical, i18n("XSLT Options"), m_widget);
l->addWidget(box);
- (void) new QLabel(i18n("XSLT file:"), box);
+ (void) new TQLabel(i18n("XSLT file:"), box);
m_URLRequester = new KURLRequester(box);
- QString filter = i18n("*.xsl|XSL Files (*.xsl)") + QChar('\n');
+ TQString filter = i18n("*.xsl|XSL Files (*.xsl)") + TQChar('\n');
filter += i18n("*|All Files");
m_URLRequester->setFilter(filter);