summaryrefslogtreecommitdiffstats
path: root/designer
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-12-09 01:40:38 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-12-09 02:07:16 +0100
commit347f0b28701932eba7eb063d9093e446b81debae (patch)
treeb6941843b550f83221b13a3b2643b5a95cd428db /designer
parent5da5cb1c824c608159126a82011d8a8943b360e0 (diff)
downloadtqscintilla-347f0b28701932eba7eb063d9093e446b81debae.tar.gz
tqscintilla-347f0b28701932eba7eb063d9093e446b81debae.zip
Rename Qt => TQt.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'designer')
-rw-r--r--designer/CMakeLists.txt10
-rw-r--r--designer/designer.pro10
-rw-r--r--designer/tqscintillaplugin.cpp (renamed from designer/qscintillaplugin.cpp)22
3 files changed, 21 insertions, 21 deletions
diff --git a/designer/CMakeLists.txt b/designer/CMakeLists.txt
index 91cb885..b38c1f3 100644
--- a/designer/CMakeLists.txt
+++ b/designer/CMakeLists.txt
@@ -3,7 +3,7 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TQT_INCLUDE_DIRS}
- ${CMAKE_SOURCE_DIR}/qt
+ ${CMAKE_SOURCE_DIR}/tqt
)
link_directories(
@@ -11,14 +11,14 @@ link_directories(
)
-##### qscintillaplugin (shared)
+##### tqscintillaplugin (shared)
-tde_add_library( qscintillaplugin SHARED
+tde_add_library( tqscintillaplugin SHARED
SOURCES
- qscintillaplugin.cpp
+ tqscintillaplugin.cpp
LINK
- qscintilla-shared
+ tqscintilla-shared
DESTINATION ${TQT_PLUGINS_DIR}/designer
)
diff --git a/designer/designer.pro b/designer/designer.pro
index 068a795..ce41ce5 100644
--- a/designer/designer.pro
+++ b/designer/designer.pro
@@ -1,13 +1,13 @@
-# This is the qmake file for the QScintilla plugin for Qt Designer.
+# This is the qmake file for the TQScintilla plugin for TQt Designer.
TEMPLATE = lib
-TARGET = qscintillaplugin
+TARGET = tqscintillaplugin
# DESTDIR = $(TQTDIR)/plugins/designer
-INCLUDEPATH = ../qt /usr/include/tqt
+INCLUDEPATH = ../tqt /usr/include/tqt
LIBPATH += ../tmplib
CONFIG += qt warn_on release plugin
-SOURCES += qscintillaplugin.cpp
+SOURCES += tqscintillaplugin.cpp
-LIBS += -lqscintilla
+LIBS += -ltqscintilla
diff --git a/designer/qscintillaplugin.cpp b/designer/tqscintillaplugin.cpp
index b0523bb..d383729 100644
--- a/designer/qscintillaplugin.cpp
+++ b/designer/tqscintillaplugin.cpp
@@ -3,10 +3,10 @@
#include <tqwidgetplugin.h>
-#include "../qt/qextscintilla.h"
+#include "../tqt/tqextscintilla.h"
-static const char *qscintilla_pixmap[]={
+static const char *tqscintilla_pixmap[]={
"22 22 35 1",
"m c #000000",
"n c #000033",
@@ -88,7 +88,7 @@ TQStringList TQScintillaPlugin::keys() const
{
TQStringList list;
- list << "QextScintilla";
+ list << "TQextScintilla";
return list;
}
@@ -96,8 +96,8 @@ TQStringList TQScintillaPlugin::keys() const
TQWidget *TQScintillaPlugin::create(const TQString &key, TQWidget *parent, const char *name)
{
- if (key == "QextScintilla")
- return new QextScintilla(parent, name);
+ if (key == "TQextScintilla")
+ return new TQextScintilla(parent, name);
return 0;
}
@@ -105,7 +105,7 @@ TQWidget *TQScintillaPlugin::create(const TQString &key, TQWidget *parent, const
TQString TQScintillaPlugin::group(const TQString &feature) const
{
- if (feature == "QextScintilla")
+ if (feature == "TQextScintilla")
return "Input";
return TQString();
@@ -114,14 +114,14 @@ TQString TQScintillaPlugin::group(const TQString &feature) const
TQIconSet TQScintillaPlugin::iconSet(const TQString &) const
{
- return TQIconSet(TQPixmap(qscintilla_pixmap));
+ return TQIconSet(TQPixmap(tqscintilla_pixmap));
}
TQString TQScintillaPlugin::includeFile(const TQString &feature) const
{
- if (feature == "QextScintilla")
- return "qextscintilla.h";
+ if (feature == "TQextScintilla")
+ return "tqextscintilla.h";
return TQString();
}
@@ -129,7 +129,7 @@ TQString TQScintillaPlugin::includeFile(const TQString &feature) const
TQString TQScintillaPlugin::toolTip(const TQString &feature) const
{
- if (feature == "QextScintilla")
+ if (feature == "TQextScintilla")
return "TQScintilla Programmer's Editor";
return TQString();
@@ -138,7 +138,7 @@ TQString TQScintillaPlugin::toolTip(const TQString &feature) const
TQString TQScintillaPlugin::whatsThis(const TQString &feature) const
{
- if (feature == "QextScintilla")
+ if (feature == "TQextScintilla")
return "A port to TQt of the Scintilla programmer's editor";
return TQString();