summaryrefslogtreecommitdiffstats
path: root/kppp/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/macros.h')
-rw-r--r--kppp/macros.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/kppp/macros.h b/kppp/macros.h
index 1b5120ac..b631516a 100644
--- a/kppp/macros.h
+++ b/kppp/macros.h
@@ -3,13 +3,13 @@
#ifndef __MACROS__H__
#define __MACROS__H__
-#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());
+#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());
#endif