diff options
Diffstat (limited to 'src/qt_qt_wrapper.cpp')
-rw-r--r-- | src/qt_qt_wrapper.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qt_qt_wrapper.cpp b/src/qt_qt_wrapper.cpp index d3e13bb..928aef3 100644 --- a/src/qt_qt_wrapper.cpp +++ b/src/qt_qt_wrapper.cpp @@ -651,7 +651,7 @@ void drawButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int defa } if (gwidget) { - TQString gwLabel(gtk_button_get_label(gwidget)); + TQString gwLabel(gtk_button_get_label(gwidget)); if (gtk_button_get_use_stock(gwidget)) { GtkStockItem stockData; gtk_stock_lookup(gwLabel.ascii(), &stockData); @@ -660,8 +660,8 @@ void drawButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int defa gwLabel.replace("&", "&&"); gwLabel.replace("_", "&"); - TQPixmap buttonicon; - TQBitmap buttonicon_mask; + TQPixmap buttonicon; + TQBitmap buttonicon_mask; GtkWidget* giconwidget = gtk_button_get_image(gwidget); if (giconwidget) { @@ -746,9 +746,9 @@ void drawButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int defa if (defaultButton) sflags |= TQStyle::Style_ButtonDefault; button.setDefault(defaultButton); - + painter.fillRect(0, 0, w, h, tqApp->palette().active().background()); - + tqApp->style().drawControl(TQStyle::CE_PushButton, &painter, &button, TQRect(0,0,w,h), button.palette().active(), sflags); |