diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:49:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:49:40 -0600 |
commit | 808e453c56036211f57482ed847d54aca01bba68 (patch) | |
tree | 75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /kppp/macros.h | |
parent | cd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff) | |
download | tdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kppp/macros.h')
-rw-r--r-- | kppp/macros.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kppp/macros.h b/kppp/macros.h index b631516a..1b5120ac 100644 --- a/kppp/macros.h +++ b/kppp/macros.h @@ -3,13 +3,13 @@ #ifndef __MACROS__H__ #define __MACROS__H__ -#include <tqlayout.h> - -#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()); +#include <layout.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()); #endif |