From a2277b6bc715464e83882b90c2a058139b8a6b54 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 23 Jun 2011 01:42:07 +0000 Subject: 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 --- charselectapplet/charselectapplet.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'charselectapplet/charselectapplet.h') 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; -- cgit v1.2.1