diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /ksirc/puke/commands.h | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/puke/commands.h')
-rw-r--r-- | ksirc/puke/commands.h | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/ksirc/puke/commands.h b/ksirc/puke/commands.h index 50ff88b2..8a8158e0 100644 --- a/ksirc/puke/commands.h +++ b/ksirc/puke/commands.h @@ -66,7 +66,7 @@ // Fetch widgets -// Desc: get widget from parent +// Desc: get widget from tqparent // iWinId: not defined // iArg: not defined // cArg: 2 feilds, tab sperated, must be returned unchanged. 1. random string. 3. Object Name. @@ -82,7 +82,7 @@ // Widget commands starts at 1000 and end at 10000 // Desc: create new widget -// iWinId: parent widget id +// iWinId: tqparent widget id // iArg: widget type as defined by PWIDGET_* // cArg: Must be return unchanged #define PUKE_WIDGET_CREATE 1000 @@ -130,38 +130,38 @@ // cArg: not define #define PUKE_WIDGET_HIDE_ACK -1003 -// Desc: repaint widget -// iWinId: widget to repaint +// Desc: tqrepaint widget +// iWinId: widget to tqrepaint // iArg: erase, 0 for false, 1 for true // cArg: no defines #define PUKE_WIDGET_REPAINT 1005 -// Desc: repaint widget ack -// iWinId: widget to repaint +// Desc: tqrepaint widget ack +// iWinId: widget to tqrepaint // iArg: not defined // cArg: not defined #define PUKE_WIDGET_REPAINT_ACK -1005 // Desc: update widget on next event loop -// iWinId: widget to repaint +// iWinId: widget to tqrepaint // iArg: erase, 0 for false, 1 for true // cArg: no defines #define PUKE_WIDGET_UPDATE 1010 -// Desc: repaint widget ack -// iWinId: widget to repaint +// Desc: tqrepaint widget ack +// iWinId: widget to tqrepaint // iArg: not defined // cArg: not defined #define PUKE_WIDGET_UPDATE_ACK -1010 // Desc: resize the widget -// iWinId: widget to repaint +// iWinId: widget to tqrepaint // iArg: width in the low 16 bit, height in next 16 bits // cArg: not defined #define PUKE_WIDGET_RESIZE 1015 -// Desc: repaint widget ack -// iWinId: widget to repaint +// Desc: tqrepaint widget ack +// iWinId: widget to tqrepaint // iArg: new widget in lower 16 bit, new height in lower 16 bits // cArg: not defined #define PUKE_WIDGET_RESIZE_ACK -1015 @@ -335,13 +335,13 @@ // cArg: not defined #define PUKE_WIDGET_SET_ENABLED_ACK -1090 -// Desc: recreate widget with new parent, etc +// Desc: recreate widget with new tqparent, etc // IwinId: window id -// iArg: window ID for new parent, 0x0 for no parent, toplevel +// iArg: window ID for new tqparent, 0x0 for no tqparent, toplevel // cArg: 3 packed ints, 0 = x, 1 = y, 2 = showit #define PUKE_WIDGET_RECREATE 1091 -// Desc: ACK recreate widget with new parent, etc +// Desc: ACK recreate widget with new tqparent, etc // IwinId: window id // iArg: 0 (for all ok, other for error) // cArg: 0 @@ -349,33 +349,33 @@ // TQFrame gets 1100 -// 1100 defines QFrame +// 1100 defines TQFrame // Desc: set Frame style // iWinId: widget to chanse // iArg: frame style to set. // cArg: no define -#define PUKE_QFRAME_SET_FRAME 1100 +#define PUKE_TQFRAME_SET_FRAME 1100 // Desc: get/ack Frame style // iWinId: widget to changed // iArg: frame style. // cArg: no define -#define PUKE_QFRAME_SET_FRAME_ACK -1100 +#define PUKE_TQFRAME_SET_FRAME_ACK -1100 // Desc: set Frame line width // iWinId: widget to chanse // iArg: newline width. // cArg: no define -#define PUKE_QFRAME_SET_LINEWIDTH 1105 +#define PUKE_TQFRAME_SET_LINEWIDTH 1105 // Desc: get/ack Frame line width // iWinId: widget to changed // iArg: line width. // cArg: no define -#define PUKE_QFRAME_SET_LINEWIDTH_ACK -1105 +#define PUKE_TQFRAME_SET_LINEWIDTH_ACK -1105 //---------------------------------------------------- -// 1200 is a QLineEdit +// 1200 is a TQLineEdit // Desc: set max line length // iWinId: widget to change @@ -766,13 +766,13 @@ // Desc: Set label's allignment // iWinId: window id -// iArg: alignment +// iArg: tqalignment // cArg: not defined #define PUKE_LABEL_SETALIGNMENT 1715 // Desc: Set label's allignment, ACK // iWinId: window id -// iArg: alignment +// iArg: tqalignment // cArg: not defined #define PUKE_LABEL_SETALIGNMENT_ACK -1715 @@ -944,7 +944,7 @@ // LINED defines the simple SLE #define PWIDGET_LINED 4 -// BUTTON defines the abstract class QButton +// BUTTON defines the abstract class TQButton #define PWIDGET_BUTTON 5 // PUSH defined the push button @@ -993,14 +993,14 @@ #define PWIDGET_OBJFINDER 18 -// Group layout commands exist between 10000 and 11000 +// Group tqlayout commands exist between 10000 and 11000 -// Desc: create new box layout -// iWinId: PWidget parent +// Desc: create new box tqlayout +// iWinId: PWidget tqparent // iArg: 2 shorts, short[0] direction, short[1] border // cArg: random character string #define PUKE_LAYOUT_NEW 11000 -// Desc: ack for box layout +// Desc: ack for box tqlayout // iWinId: Layout ID. // iArg: not define // cArg: same random m character string as PUKE_LAYOUT_NEW @@ -1009,10 +1009,10 @@ #define PUKE_LAYOUT_ADDLAYOUT 11005 #define PUKE_LAYOUT_ADDLAYOUT_ACK -11005 -// Desc: add widget into layout manager +// Desc: add widget into tqlayout manager // iWinId: Layout Manager to add widget too // iArg: Widget Id to be added -// cArg: 2 characters, char[0] strech, char[1] alignment +// cArg: 2 characters, char[0] strech, char[1] tqalignment #define PUKE_LAYOUT_ADDWIDGET 11010 // Desc: ack for add widget // iWinId: Layout manager @@ -1032,7 +1032,7 @@ // cArg: not define #define PUKE_LAYOUT_ADDSTRUT_ACK -11015 -// Desc: activates layout management, like show() for widget +// Desc: activates tqlayout management, like show() for widget // iWinId: Layout Manager to activate // iArg: undef // cArg: undef |