diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-12-09 01:40:38 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-12-09 02:07:16 +0100 |
commit | 347f0b28701932eba7eb063d9093e446b81debae (patch) | |
tree | b6941843b550f83221b13a3b2643b5a95cd428db /designer/qscintillaplugin.cpp | |
parent | 5da5cb1c824c608159126a82011d8a8943b360e0 (diff) | |
download | tqscintilla-347f0b28701932eba7eb063d9093e446b81debae.tar.gz tqscintilla-347f0b28701932eba7eb063d9093e446b81debae.zip |
Rename Qt => TQt.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'designer/qscintillaplugin.cpp')
-rw-r--r-- | designer/qscintillaplugin.cpp | 154 |
1 files changed, 0 insertions, 154 deletions
diff --git a/designer/qscintillaplugin.cpp b/designer/qscintillaplugin.cpp deleted file mode 100644 index b0523bb..0000000 --- a/designer/qscintillaplugin.cpp +++ /dev/null @@ -1,154 +0,0 @@ -// This implements the TQScintilla plugin for TQt Designer. - - -#include <tqwidgetplugin.h> - -#include "../qt/qextscintilla.h" - - -static const char *qscintilla_pixmap[]={ - "22 22 35 1", - "m c #000000", - "n c #000033", - "p c #003300", - "r c #003333", - "v c #330000", - "o c #330033", - "l c #333300", - "h c #333333", - "c c #333366", - "d c #336666", - "u c #336699", - "E c #3366cc", - "k c #663333", - "i c #663366", - "b c #666666", - "e c #666699", - "A c #6666cc", - "G c #669966", - "f c #669999", - "j c #6699cc", - "y c #6699ff", - "t c #996666", - "a c #999999", - "g c #9999cc", - "s c #9999ff", - "C c #99cc99", - "x c #99cccc", - "w c #99ccff", - "F c #cc99ff", - "q c #cccccc", - "# c #ccccff", - "B c #ccffcc", - "z c #ccffff", - "D c #ffffcc", - ". c none", - "........#abcda........", - "......abefghdidcf.....", - ".....cadhfaehjheck....", - "....leh.m.ncbehjddo...", - "...depn.hqhqhr#mccch..", - "..bb.hcaeh.hqersjhjcd.", - ".tcm.uqn.hc.uvwxhuygha", - ".feh.n.hb.hhzemcwhmuAm", - "Bgehghqqme.eo#wlnysbnj", - "awhdAzn.engjepswhmuyuj", - "bCh#m.de.jpqwbmcwemlcz", - "hcb#xh.nd#qrbswfehwzbm", - "bd#d.A#zor#qmgbzwgjgws", - "ajbcuqhqzchwwbemewchmr", - "Dcn#cwmhgwehgsxbmhEjAc", - ".uanauFrhbgeahAAbcbuhh", - ".bohdAegcccfbbebuucmhe", - "..briuauAediddeclchhh.", - "...hcbhjccdecbceccch..", - "....nhcmeccdccephcp...", - ".....crbhchhhrhhck....", - "......tcmdhohhcnG....." -}; - - -class TQScintillaPlugin : public TQWidgetPlugin -{ -public: - 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; -}; - - -TQStringList TQScintillaPlugin::keys() const -{ - TQStringList list; - - list << "QextScintilla"; - - return list; -} - - -TQWidget *TQScintillaPlugin::create(const TQString &key, TQWidget *parent, const char *name) -{ - if (key == "QextScintilla") - return new QextScintilla(parent, name); - - return 0; -} - - -TQString TQScintillaPlugin::group(const TQString &feature) const -{ - if (feature == "QextScintilla") - return "Input"; - - return TQString(); -} - - -TQIconSet TQScintillaPlugin::iconSet(const TQString &) const -{ - return TQIconSet(TQPixmap(qscintilla_pixmap)); -} - - -TQString TQScintillaPlugin::includeFile(const TQString &feature) const -{ - if (feature == "QextScintilla") - return "qextscintilla.h"; - - return TQString(); -} - - -TQString TQScintillaPlugin::toolTip(const TQString &feature) const -{ - if (feature == "QextScintilla") - return "TQScintilla Programmer's Editor"; - - return TQString(); -} - - -TQString TQScintillaPlugin::whatsThis(const TQString &feature) const -{ - if (feature == "QextScintilla") - return "A port to TQt of the Scintilla programmer's editor"; - - return TQString(); -} - - -bool TQScintillaPlugin::isContainer(const TQString &) const -{ - return FALSE; -} - - -TQ_EXPORT_PLUGIN(TQScintillaPlugin) |