summaryrefslogtreecommitdiffstats
path: root/src/qt_rc_style.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt_rc_style.c')
-rw-r--r--src/qt_rc_style.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/qt_rc_style.c b/src/qt_rc_style.c
index 0a9947a..ba03a7f 100644
--- a/src/qt_rc_style.c
+++ b/src/qt_rc_style.c
@@ -4,8 +4,8 @@
-static void qtengine_rc_style_init (QtEngineRcStyle *style);
-static void qtengine_rc_style_class_init (QtEngineRcStyleClass *klass);
+static void qtengine_rc_style_init (TQtEngineRcStyle *style);
+static void qtengine_rc_style_class_init (TQtEngineRcStyleClass *klass);
static void qtengine_rc_style_finalize (GObject *object);
static guint qtengine_rc_style_parse (GtkRcStyle *rc_style,
GtkSettings *settings,
@@ -15,7 +15,7 @@ static void qtengine_rc_style_merge (GtkRcStyle *dest,
static GtkStyle *qtengine_rc_style_create_style (GtkRcStyle *rc_style);
-static GtkRcStyleClass *parent_class;
+static GtkRcStyleClass *tqparent_class;
GType qtengine_type_rc_style = 0;
@@ -24,30 +24,30 @@ void qtengine_rc_style_register_type (GTypeModule *module)
{
static const GTypeInfo object_info =
{
- sizeof (QtEngineRcStyleClass),
+ sizeof (TQtEngineRcStyleClass),
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) qtengine_rc_style_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
- sizeof (QtEngineRcStyle),
+ sizeof (TQtEngineRcStyle),
0, /* n_preallocs */
(GInstanceInitFunc) qtengine_rc_style_init,
};
- qtengine_type_rc_style = g_type_module_register_type (module, GTK_TYPE_RC_STYLE, "QtEngineRcStyle", &object_info, 0);
+ qtengine_type_rc_style = g_type_module_register_type (module, GTK_TYPE_RC_STYLE, "TQtEngineRcStyle", &object_info, 0);
}
-static void qtengine_rc_style_init (QtEngineRcStyle *style)
+static void qtengine_rc_style_init (TQtEngineRcStyle *style)
{
}
-static void qtengine_rc_style_class_init (QtEngineRcStyleClass *klass)
+static void qtengine_rc_style_class_init (TQtEngineRcStyleClass *klass)
{
GtkRcStyleClass *rc_style_class = GTK_RC_STYLE_CLASS (klass);
GObjectClass *object_class = G_OBJECT_CLASS (klass);
- parent_class = g_type_class_peek_parent (klass);
+ tqparent_class = g_type_class_peek_parent (klass);
rc_style_class->parse = qtengine_rc_style_parse;
rc_style_class->merge = qtengine_rc_style_merge;
@@ -88,7 +88,7 @@ static void
qtengine_rc_style_merge (GtkRcStyle * dest,
GtkRcStyle * src)
{
- parent_class->merge(dest, src);
+ tqparent_class->merge(dest, src);
}
/* Create an empty style suitable to this RC style
@@ -96,6 +96,6 @@ qtengine_rc_style_merge (GtkRcStyle * dest,
static GtkStyle *
qtengine_rc_style_create_style (GtkRcStyle *rc_style)
{
- void *ptr = GTK_STYLE (g_object_new (QTENGINE_TYPE_STYLE, NULL));
+ void *ptr = GTK_STYLE (g_object_new (TQTENGINE_TYPE_STYLE, NULL));
return (GtkStyle *)ptr;
}