diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kppp/macros.h | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kppp/macros.h')
-rw-r--r-- | kppp/macros.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kppp/macros.h b/kppp/macros.h index 6f541b76..8b96469f 100644 --- a/kppp/macros.h +++ b/kppp/macros.h @@ -1,15 +1,15 @@ -// helper macros for layouting +// helper macros for tqlayouting #ifndef __MACROS__H__ #define __MACROS__H__ #include <tqlayout.h> -#define MIN_WIDTH(w) w->setMinimumWidth(w->sizeHint().width()); -#define MIN_HEIGHT(w) w->setMinimumHeight(w->sizeHint().height()); -#define MIN_SIZE(w) w->setMinimumSize(w->sizeHint()); -#define FIXED_SIZE(w) w->setFixedSize(w->sizeHint()); -#define FIXED_WIDTH(w) w->setFixedWidth(w->sizeHint().width()); -#define FIXED_HEIGHT(w) w->setFixedHeight(w->sizeHint().height()); +#define MIN_WIDTH(w) w->setMinimumWidth(w->tqsizeHint().width()); +#define MIN_HEIGHT(w) w->setMinimumHeight(w->tqsizeHint().height()); +#define MIN_SIZE(w) w->setMinimumSize(w->tqsizeHint()); +#define FIXED_SIZE(w) w->setFixedSize(w->tqsizeHint()); +#define FIXED_WIDTH(w) w->setFixedWidth(w->tqsizeHint().width()); +#define FIXED_HEIGHT(w) w->setFixedHeight(w->tqsizeHint().height()); #endif |