summaryrefslogtreecommitdiffstats
path: root/designer/qscintillaplugin.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-30 12:33:18 -0600
committerTimothy Pearson <[email protected]>2011-11-30 12:33:18 -0600
commit03bc485016127d419bbbbc3cfb09e21e8754b383 (patch)
treecad8234bcf26063239ac7a565298b897ffdeef57 /designer/qscintillaplugin.cpp
parent664e37abfe5c796c1279b8295fb030f126b0a7d8 (diff)
downloadtqscintilla-03bc485016127d419bbbbc3cfb09e21e8754b383.tar.gz
tqscintilla-03bc485016127d419bbbbc3cfb09e21e8754b383.zip
Initial automated TQt conversion
Diffstat (limited to 'designer/qscintillaplugin.cpp')
-rw-r--r--designer/qscintillaplugin.cpp64
1 files changed, 32 insertions, 32 deletions
diff --git a/designer/qscintillaplugin.cpp b/designer/qscintillaplugin.cpp
index 1f1e595..b22c5ec 100644
--- a/designer/qscintillaplugin.cpp
+++ b/designer/qscintillaplugin.cpp
@@ -1,9 +1,9 @@
-// This implements the QScintilla plugin for Qt Designer.
+// This implements the TQScintilla plugin for TQt Designer.
-#include <qwidgetplugin.h>
+#include <tqwidgetplugin.h>
-#include "../qt/qextscintilla.h"
+#include "../tqt/qextscintilla.h"
static const char *qscintilla_pixmap[]={
@@ -68,25 +68,25 @@ static const char *qscintilla_pixmap[]={
};
-class QScintillaPlugin : public QWidgetPlugin
+class TQScintillaPlugin : public TQWidgetPlugin
{
public:
- QScintillaPlugin() {};
-
- QStringList keys() const;
- QWidget *create(const QString &classname, QWidget *parent = 0, const char *name = 0);
- QString group(const QString &) const;
- QIconSet iconSet(const QString &) const;
- QString includeFile(const QString &) const;
- QString toolTip(const QString &) const;
- QString whatsThis(const QString &) const;
- bool isContainer(const QString &) const;
+ TQScintillaPlugin() {};
+
+ TQStringList keys() const;
+ TQWidget *create(const TQString &classname, TQWidget *parent = 0, const char *name = 0);
+ TQString group(const TQString &) const;
+ TQIconSet iconSet(const TQString &) const;
+ TQString includeFile(const TQString &) const;
+ TQString toolTip(const TQString &) const;
+ TQString whatsThis(const TQString &) const;
+ bool isContainer(const TQString &) const;
};
-QStringList QScintillaPlugin::keys() const
+TQStringList TQScintillaPlugin::keys() const
{
- QStringList list;
+ TQStringList list;
list << "QextScintilla";
@@ -94,7 +94,7 @@ QStringList QScintillaPlugin::keys() const
}
-QWidget *QScintillaPlugin::create(const QString &key, QWidget *parent, const char *name)
+TQWidget *TQScintillaPlugin::create(const TQString &key, TQWidget *parent, const char *name)
{
if (key == "QextScintilla")
return new QextScintilla(parent, name);
@@ -103,52 +103,52 @@ QWidget *QScintillaPlugin::create(const QString &key, QWidget *parent, const cha
}
-QString QScintillaPlugin::group(const QString &feature) const
+TQString TQScintillaPlugin::group(const TQString &feature) const
{
if (feature == "QextScintilla")
return "Input";
- return QString::null;
+ return TQString();
}
-QIconSet QScintillaPlugin::iconSet(const QString &) const
+TQIconSet TQScintillaPlugin::iconSet(const TQString &) const
{
- return QIconSet(QPixmap(qscintilla_pixmap));
+ return TQIconSet(TQPixmap(qscintilla_pixmap));
}
-QString QScintillaPlugin::includeFile(const QString &feature) const
+TQString TQScintillaPlugin::includeFile(const TQString &feature) const
{
if (feature == "QextScintilla")
- return "qextscintilla.h";
+ return "tqextscintilla.h";
- return QString::null;
+ return TQString();
}
-QString QScintillaPlugin::toolTip(const QString &feature) const
+TQString TQScintillaPlugin::toolTip(const TQString &feature) const
{
if (feature == "QextScintilla")
- return "QScintilla Programmer's Editor";
+ return "TQScintilla Programmer's Editor";
- return QString::null;
+ return TQString();
}
-QString QScintillaPlugin::whatsThis(const QString &feature) const
+TQString TQScintillaPlugin::whatsThis(const TQString &feature) const
{
if (feature == "QextScintilla")
- return "A port to Qt of the Scintilla programmer's editor";
+ return "A port to TQt of the Scintilla programmer's editor";
- return QString::null;
+ return TQString();
}
-bool QScintillaPlugin::isContainer(const QString &) const
+bool TQScintillaPlugin::isContainer(const TQString &) const
{
return FALSE;
}
-Q_EXPORT_PLUGIN(QScintillaPlugin)
+TQ_EXPORT_PLUGIN(TQScintillaPlugin)