summaryrefslogtreecommitdiffstats
path: root/src/qt_rc_style.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 17:16:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 17:16:35 +0000
commit91064f3b1d93fb0449e588f70552f050b4033e9f (patch)
tree5d042542cfd52a1ea454774157300f0509b84441 /src/qt_rc_style.h
parent5cf5e6b8214ace7beb2836bce2f2b3e3324222ca (diff)
downloadgtk-qt-engine-91064f3b1d93fb0449e588f70552f050b4033e9f.tar.gz
gtk-qt-engine-91064f3b1d93fb0449e588f70552f050b4033e9f.zip
Port gtk-qt-engine to TQt4
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gtk-qt-engine@1230499 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/qt_rc_style.h')
-rw-r--r--src/qt_rc_style.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/qt_rc_style.h b/src/qt_rc_style.h
index 5235f09..e88a167 100644
--- a/src/qt_rc_style.h
+++ b/src/qt_rc_style.h
@@ -1,25 +1,25 @@
#include <gtk/gtkrc.h>
-typedef struct _QtEngineRcStyle QtEngineRcStyle;
-typedef struct _QtEngineRcStyleClass QtEngineRcStyleClass;
+typedef struct _TQtEngineRcStyle TQtEngineRcStyle;
+typedef struct _TQtEngineRcStyleClass TQtEngineRcStyleClass;
extern GType qtengine_type_rc_style;
-#define QTENGINE_TYPE_RC_STYLE qtengine_type_rc_style
-#define QTENGINE_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), QTENGINE_TYPE_RC_STYLE, QtEngineRcStyle))
-#define QTENGINE_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), QTENGINE_TYPE_RC_STYLE, QtEngineRcStyleClass))
-#define QTENGINE_IS_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), QTENGINE_TYPE_RC_STYLE))
-#define QTENGINE_IS_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), QTENGINE_TYPE_RC_STYLE))
-#define QTENGINE_RC_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), QTENGINE_TYPE_RC_STYLE, QtEngineRcStyleClass))
+#define TQTENGINE_TYPE_RC_STYLE qtengine_type_rc_style
+#define TQTENGINE_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), TQTENGINE_TYPE_RC_STYLE, TQtEngineRcStyle))
+#define TQTENGINE_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TQTENGINE_TYPE_RC_STYLE, TQtEngineRcStyleClass))
+#define TQTENGINE_IS_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), TQTENGINE_TYPE_RC_STYLE))
+#define TQTENGINE_IS_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TQTENGINE_TYPE_RC_STYLE))
+#define TQTENGINE_RC_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TQTENGINE_TYPE_RC_STYLE, TQtEngineRcStyleClass))
-struct _QtEngineRcStyle
+struct _TQtEngineRcStyle
{
- GtkRcStyle parent_instance;
+ GtkRcStyle tqparent_instance;
};
-struct _QtEngineRcStyleClass
+struct _TQtEngineRcStyleClass
{
- GtkRcStyleClass parent_class;
+ GtkRcStyleClass tqparent_class;
};
void qtengine_rc_style_register_type (GTypeModule *module);