diff options
Diffstat (limited to 'designer')
-rw-r--r-- | designer/CMakeLists.txt | 10 | ||||
-rw-r--r-- | designer/designer.pro | 10 | ||||
-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(); |