You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdenetwork/kppp/macros.h

16 lines
478 B

// helper macros for layouting
#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());
#endif