diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-23 01:42:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-23 01:42:07 +0000 |
commit | a2277b6bc715464e83882b90c2a058139b8a6b54 (patch) | |
tree | ab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /charselectapplet/charselectapplet.h | |
parent | d3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff) | |
download | tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip |
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'charselectapplet/charselectapplet.h')
-rw-r--r-- | charselectapplet/charselectapplet.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/charselectapplet/charselectapplet.h b/charselectapplet/charselectapplet.h index b223b53..332c18c 100644 --- a/charselectapplet/charselectapplet.h +++ b/charselectapplet/charselectapplet.h @@ -36,9 +36,10 @@ class KAboutData; class ConfigDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - ConfigDialog(TQWidget* parent = 0, const char* name = 0); + ConfigDialog(TQWidget* tqparent = 0, const char* name = 0); void setCharacters(const TQString& s) { _characterInput->setText(s); } void setCellWidth(int w) { _widthSpinBox->setValue(w); } @@ -54,12 +55,13 @@ private: KLineEdit *_characterInput; }; -class CharTable : public QFrame +class CharTable : public TQFrame { Q_OBJECT + TQ_OBJECT public: - CharTable(TQWidget* parent = 0, const char* name = 0); + CharTable(TQWidget* tqparent = 0, const char* name = 0); void setRowsAndColumns(int, int); @@ -73,7 +75,7 @@ protected: void mouseMoveEvent(TQMouseEvent*); void paintCell(TQPainter*, int, int); - void repaintCell(int, int); + void tqrepaintCell(int, int); void selectCell(int row, int col); void insertString(TQString s); @@ -95,10 +97,11 @@ private: class CharSelectApplet : public KPanelApplet { Q_OBJECT + TQ_OBJECT public: CharSelectApplet(const TQString& configFile, Type t = Stretch, int actions = 0, - TQWidget *parent = 0, const char *name = 0); + TQWidget *tqparent = 0, const char *name = 0); int widthForHeight(int height) const; int heightForWidth(int width) const; |