summaryrefslogtreecommitdiffstats
path: root/src/qt_theme_draw.c
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-04-06 16:44:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-04-07 18:37:34 +0900
commita4f887865b7def199540a6c0b793b0f6122607c0 (patch)
tree443faf2afe0ab506e0de6e1d0ee1010ed8a21399 /src/qt_theme_draw.c
parent8aa81ba1cd940d68c5627ea5b3321c5aab2b5771 (diff)
downloadgtk-qt-engine-a4f887865b7def199540a6c0b793b0f6122607c0.tar.gz
gtk-qt-engine-a4f887865b7def199540a6c0b793b0f6122607c0.zip
Replace Qt with TQtr14.1.2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit cfc2c336e83a4252abac4a9b31893f9a2c56fdc5)
Diffstat (limited to 'src/qt_theme_draw.c')
-rw-r--r--src/qt_theme_draw.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qt_theme_draw.c b/src/qt_theme_draw.c
index 6473c9c..7e20861 100644
--- a/src/qt_theme_draw.c
+++ b/src/qt_theme_draw.c
@@ -222,9 +222,9 @@ draw_shadow(GtkStyle *style,
}
/* The remainder of this function was borrowed from the "Metal" theme/
- I don't really want to use Qt to draw these frames as there are too
+ I don't really want to use TQt to draw these frames as there are too
many of them (it would slow down the theme engine even more).
- TODO: Make them use the Qt color palette */
+ TODO: Make them use the TQt color palette */
switch (shadow_type)
{
@@ -887,10 +887,10 @@ draw_box(GtkStyle * style,
nb = (GtkNotebook *)widget;
nbpages = g_list_length(nb->children);
/* THIS IS WHAT WORKS NOW --
- Tabs and tabbarbase will be drawn properly according to the QT style
- But the tabs won't be aligned according to QT. GTK+ does not have
+ Tabs and tabbarbase will be drawn properly according to the TQt style
+ But the tabs won't be aligned according to TQt. GTK+ does not have
an option for alignment of tabs. So if were to do this not only do we have to
- calculate the x,y position of the tab ourselves, which is difficult in Qt unless
+ calculate the x,y position of the tab ourselves, which is difficult in TQt unless
we are displaying the tab (can be done by subclassing TQTabBar/TQTabWidget)
but also have to position the tab bar label ourselves in gtk.
*/