diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-19 01:42:14 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-19 01:42:14 +0000 |
commit | 8155225c9be993acc0512956416d195edfef4eb9 (patch) | |
tree | de4f3cd17614fc67e47eefabcdbe2fbe170c9be7 /klipper/configdialog.h | |
parent | 364641b8e0279758d236af39abd138d379328a19 (diff) | |
download | tdebase-8155225c9be993acc0512956416d195edfef4eb9.tar.gz tdebase-8155225c9be993acc0512956416d195edfef4eb9.zip |
Enable compilation with TQt for Qt4 3.4.0 TP2
This should not break compatibility with TQt for Qt3; if it does please fix it ASAP!
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klipper/configdialog.h')
-rw-r--r-- | klipper/configdialog.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/klipper/configdialog.h b/klipper/configdialog.h index b7aa26659..219f5f6cf 100644 --- a/klipper/configdialog.h +++ b/klipper/configdialog.h @@ -42,7 +42,7 @@ class TQPushButton; class TQDialog; class ConfigDialog; -class GeneralWidget : public QVBox +class GeneralWidget : public TQVBox { Q_OBJECT @@ -66,7 +66,7 @@ private: // only for use inside ActionWidget -class AdvancedWidget : public QVBox +class AdvancedWidget : public TQVBox { Q_OBJECT @@ -81,7 +81,7 @@ private: KEditListBox *editListBox; }; -class ActionWidget : public QVBox +class ActionWidget : public TQVBox { Q_OBJECT @@ -237,11 +237,11 @@ public: ListView( ConfigDialog* configWidget, TQWidget *parent, const char *name ) : KListView( parent, name ), _configWidget( configWidget ), _regExpEditor(0L) {} - // TQListView has a weird idea of a sizeHint... - virtual TQSize sizeHint () const { - int w = minimumSizeHint().width(); + // TQListView has a weird idea of a tqsizeHint... + virtual TQSize tqsizeHint () const { + int w = tqminimumSizeHint().width(); int h = header()->height(); - h += viewport()->sizeHint().height(); + h += viewport()->tqsizeHint().height(); h += horizontalScrollBar()->height(); TQListViewItem *item = firstChild(); |