From 4b54ad17739d1075235f2960ecde230a58b5621c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:33:51 -0600 Subject: Rename old tq methods that no longer need a unique name (cherry picked from commit 089118c18533dfa3e6ce5065dbebdd4db94051f1) --- kppp/macros.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kppp/macros.h') diff --git a/kppp/macros.h b/kppp/macros.h index b631516a..6f541b76 100644 --- a/kppp/macros.h +++ b/kppp/macros.h @@ -5,11 +5,11 @@ #include -#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()); +#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 -- cgit v1.2.1