summaryrefslogtreecommitdiffstats
path: root/arts/gui/common
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
commitb1057f437bf65300831a0ccb45b920787c6b318d (patch)
treef8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /arts/gui/common
parent4ddfca384ced9ad654213aef9dc2c3973720b980 (diff)
downloadtdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz
tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'arts/gui/common')
-rw-r--r--arts/gui/common/artsgui.idl34
1 files changed, 17 insertions, 17 deletions
diff --git a/arts/gui/common/artsgui.idl b/arts/gui/common/artsgui.idl
index a9a3950a..2cf5b614 100644
--- a/arts/gui/common/artsgui.idl
+++ b/arts/gui/common/artsgui.idl
@@ -48,7 +48,7 @@ module Arts {
interface Widget {
readonly attribute long widgetID;
- attribute Widget parent;
+ attribute Widget tqparent;
attribute long x,y,width,height;
attribute boolean visible;
attribute SizePolicy hSizePolicy;
@@ -82,19 +82,19 @@ module Arts {
};
interface Frame : Widget {
- void constructor( Widget parent );
+ void constructor( Widget tqparent );
attribute long margin;
attribute long linewidth;
attribute long midlinewidth;
attribute long framestyle;
- attribute Shape frameshape;
+ attribute Shape frametqshape;
attribute Shadow frameshadow;
};
/**
- Some alignmentflags used by various widgets.
+ Some tqalignmentflags used by various widgets.
Taken from Qt. (akrille)
*/
enum Align {
@@ -117,8 +117,8 @@ module Arts {
/** The LayoutBox. - Arrange your widgets vertical or horizontal.
Usage is quite simple: Add the widgets you have in the right order
- to the layoutbox by calling addWidget().
- Thats it, no ._addChild or .parent with this widget.
+ to the tqlayoutbox by calling addWidget().
+ Thats it, no ._addChild or .tqparent with this widget.
For more information see QBoxLayout.
(akrille)
@@ -126,7 +126,7 @@ module Arts {
interface LayoutBox : Frame {
/// Sets the direction of the widgets. Can be changed on-the-fly.
attribute Direction direction;
- /// Adds a widget with the stretch-factor and the alignment.
+ /// Adds a widget with the stretch-factor and the tqalignment.
void addWidget( Widget widget, long stretch, long align );
void addWidget( Widget widget, long stretch );
void addWidget( Widget widget );
@@ -156,7 +156,7 @@ module Arts {
/// The spacing between all widgets.
attribute long spacing;
/// The margin at the outsideborder.
- attribute long layoutmargin;
+ attribute long tqlayoutmargin;
};
/** IMHO (akrille) this should be removed and everywhere replaced with the LayoutBox... */
@@ -173,7 +173,7 @@ module Arts {
Usage is quite simple: Create the Widget you want to be hidable inside
a container like LayoutBox or a normal widget. Then create the PopupBox
and call <Name_of_PopupBox>.widget( <Name_of_your_Container> ).
- Thats it, no ._addChild or .parent with this widget.
+ Thats it, no ._addChild or .tqparent with this widget.
(akrille)
*/
interface PopupBox : Frame {
@@ -186,8 +186,8 @@ module Arts {
};
interface Button : Widget {
- void constructor( Widget parent );
- void constructor( string text, Widget parent );
+ void constructor( Widget tqparent );
+ void constructor( string text, Widget tqparent );
attribute string text;
attribute boolean toggle;
@@ -205,7 +205,7 @@ module Arts {
};
interface Fader : Widget {
- void constructor( Widget parent );
+ void constructor( Widget tqparent );
attribute string caption, color;
attribute float min, max, value;
@@ -213,21 +213,21 @@ module Arts {
};
interface LineEdit : Widget {
- void constructor( Widget parent );
+ void constructor( Widget tqparent );
attribute string caption;
attribute string text;
};
interface SpinBox : Widget {
- void constructor( Widget parent );
+ void constructor( Widget tqparent );
attribute string caption;
attribute long min, max, value;
};
interface ComboBox : Widget {
- void constructor( Widget parent );
+ void constructor( Widget tqparent );
attribute string caption;
attribute sequence<string> choices;
@@ -235,7 +235,7 @@ module Arts {
};
interface Graph : Widget {
- void constructor( Widget parent );
+ void constructor( Widget tqparent );
attribute string caption;
attribute float minx, maxx, miny, maxy;
@@ -256,7 +256,7 @@ module Arts {
interface Label : Frame {
/// The text to show.
attribute string text;
- /// The alignment of the text. See enum Align
+ /// The tqalignment of the text. See enum Align
attribute long align;
/// Fontsize [pixel]
/*writeonly*/ attribute long fontsize;