From 808e453c56036211f57482ed847d54aca01bba68 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:49:40 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kppp/macros.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kppp/macros.h') 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 - -#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 + +#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