Remove the tq in front of these incorrectly TQt4-converted methods/data members:

tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gtk-qt-engine@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent b3f402e993
commit 0a404f40f6

@ -229,5 +229,5 @@ When enabled, they will override the standard keyboard shortcuts in GTK applicat
<slot>close()</slot>
</connection>
</connections>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -636,7 +636,7 @@
<tabstop>emacsDetails</tabstop>
<tabstop>firefoxFix</tabstop>
</tabstops>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kurllabel.h</includehint>
<includehint>ksqueezedtextlabel.h</includehint>

@ -67,7 +67,7 @@
</widget>
<customwidgets>
</customwidgets>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>klistview.h</includehint>
</includehints>

@ -148,5 +148,5 @@
<slot>reject()</slot>
</connection>
</connections>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -2138,8 +2138,8 @@ void addIconThemeDir(const TQString& theme)
iconThemeDirs.append(icondir);
// Do it again for any tqparent themes
TQStringList tqparents = iconInheritsDirs(icondir);
for ( TQStringList::Iterator it=tqparents.begin() ; it!=tqparents.end(); ++it)
TQStringList parents = iconInheritsDirs(icondir);
for ( TQStringList::Iterator it=parents.begin() ; it!=parents.end(); ++it)
addIconThemeDir((*it).stripWhiteSpace());
}

@ -15,7 +15,7 @@ static void qtengine_rc_style_merge (GtkRcStyle *dest,
static GtkStyle *qtengine_rc_style_create_style (GtkRcStyle *rc_style);
static GtkRcStyleClass *tqparent_class;
static GtkRcStyleClass *parent_class;
GType qtengine_type_rc_style = 0;
@ -47,7 +47,7 @@ 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);
tqparent_class = g_type_class_peek_parent (klass);
parent_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)
{
tqparent_class->merge(dest, src);
parent_class->merge(dest, src);
}
/* Create an empty style suitable to this RC style

@ -14,12 +14,12 @@ extern GType qtengine_type_rc_style;
struct _TQtEngineRcStyle
{
GtkRcStyle tqparent_instance;
GtkRcStyle parent_instance;
};
struct _TQtEngineRcStyleClass
{
GtkRcStyleClass tqparent_class;
GtkRcStyleClass parent_class;
};
void qtengine_rc_style_register_type (GTypeModule *module);

@ -14,14 +14,14 @@ extern GType qtengine_type_style;
struct _TQtEngineStyle
{
GtkStyle tqparent_instance;
GtkStyle parent_instance;
GdkPixmap* menuBackground;
};
struct _TQtEngineStyleClass
{
GtkStyleClass tqparent_class;
GtkStyleClass parent_class;
};
void qtengine_style_register_type (GTypeModule *module);

@ -32,7 +32,7 @@ static void qtengine_style_class_init (TQtEngineStyleClass *klass);
static GtkNotebook *notebook = NULL;
static int nb_num_pages = 0;
static GtkStyleClass *tqparent_class = NULL;
static GtkStyleClass *parent_class = NULL;
static PangoLayout*
get_insensitive_layout (GdkDrawable *drawable,
@ -641,7 +641,7 @@ draw_box(GtkStyle * style,
if (DETAIL("menubar"))
{
if (openOfficeFix == 1)
tqparent_class->draw_box (style, window, state_type, shadow_type, area, widget, detail, x, y, width, height);
parent_class->draw_box (style, window, state_type, shadow_type, area, widget, detail, x, y, width, height);
else
drawMenubar(window,style,state_type,x,y,width,height);
return;
@ -649,7 +649,7 @@ draw_box(GtkStyle * style,
if (DETAIL("menu"))
{
if (openOfficeFix == 1)
tqparent_class->draw_box (style, window, state_type, shadow_type, area, widget, detail, x, y, width, height);
parent_class->draw_box (style, window, state_type, shadow_type, area, widget, detail, x, y, width, height);
else
{
if ((x >= 0) && (y >= 0)) /* Work around weirdness in firefox */
@ -811,7 +811,7 @@ draw_box(GtkStyle * style,
if (DETAIL("toolbar"))
{
if (openOfficeFix == 1)
tqparent_class->draw_box (style, window, state_type, shadow_type, area, widget, detail, x, y, width, height);
parent_class->draw_box (style, window, state_type, shadow_type, area, widget, detail, x, y, width, height);
else
drawToolbar(window,style,state_type,x,y,width,height);
return;
@ -1308,7 +1308,7 @@ void draw_layout (GtkStyle *style,
/* In baghira -- even highlight the menu bar items */
if ((GTK_IS_MENU_ITEM(tqparent) && (!GTK_IS_MENU_BAR(tqparent1) || isBaghira || isPolyester)) || GTK_IS_TREE_VIEW(widget))
{
PangoAttrList *tqlayoutattr;
PangoAttrList *layoutattr;
const gchar *text;
gint text_length = 0;
@ -1324,19 +1324,19 @@ void draw_layout (GtkStyle *style,
textcolorattr->start_index = 0;
textcolorattr->end_index = text_bytelen;
tqlayoutattr = pango_layout_get_attributes(tqlayout);
layoutattr = pango_layout_get_attributes(tqlayout);
if (tqlayoutattr == NULL)
if (layoutattr == NULL)
{
tqlayoutattr = pango_attr_list_new();
pango_attr_list_insert(tqlayoutattr, pango_attribute_copy(textcolorattr));
pango_layout_set_attributes(tqlayout,tqlayoutattr);
pango_attr_list_unref(tqlayoutattr);
layoutattr = pango_attr_list_new();
pango_attr_list_insert(layoutattr, pango_attribute_copy(textcolorattr));
pango_layout_set_attributes(tqlayout,layoutattr);
pango_attr_list_unref(layoutattr);
}
else
{
pango_attr_list_change(tqlayoutattr, pango_attribute_copy(textcolorattr));
pango_layout_set_attributes(tqlayout,tqlayoutattr);
pango_attr_list_change(layoutattr, pango_attribute_copy(textcolorattr));
pango_layout_set_attributes(tqlayout,layoutattr);
}
pango_attribute_destroy(textcolorattr);
}
@ -1845,7 +1845,7 @@ static void
set_background (GtkStyle *style, GdkWindow *window, GtkStateType state_type)
{
GdkPixmap *pixmap;
gint tqparent_relative;
gint parent_relative;
GdkPixmap* pix_test;
/* What kind of horrible person would store a pointer to a widget here... */
@ -1863,17 +1863,17 @@ set_background (GtkStyle *style, GdkWindow *window, GtkStateType state_type)
if (pix_test == (GdkPixmap*) GDK_PARENT_RELATIVE)
{
pixmap = NULL;
tqparent_relative = TRUE;
parent_relative = TRUE;
}
else
{
pixmap = pix_test;
tqparent_relative = FALSE;
parent_relative = FALSE;
gdk_drawable_set_colormap(pixmap, style->colormap);
}
if (pixmap && !gdk_drawable_get_colormap (pixmap)) gdk_drawable_set_colormap (pixmap, gdk_drawable_get_colormap (window));
gdk_window_set_back_pixmap (window, pixmap, tqparent_relative);
gdk_window_set_back_pixmap (window, pixmap, parent_relative);
}
else
gdk_window_set_background (window, &style->bg[state_type]);
@ -1884,7 +1884,7 @@ qtengine_style_class_init (TQtEngineStyleClass *klass)
{
GtkStyleClass *style_class = GTK_STYLE_CLASS (klass);
tqparent_class = g_type_class_peek_parent (klass);
parent_class = g_type_class_peek_parent (klass);
style_class->draw_hline = draw_hline;
style_class->draw_vline = draw_vline;

Loading…
Cancel
Save