From fa0cf93ec2bf31ebec29c5ddf07ce1771084ca7e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:01:17 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- tdegtk/tdegtk-draw.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tdegtk/tdegtk-draw.cpp') diff --git a/tdegtk/tdegtk-draw.cpp b/tdegtk/tdegtk-draw.cpp index 60f90ed..74cc4af 100644 --- a/tdegtk/tdegtk-draw.cpp +++ b/tdegtk/tdegtk-draw.cpp @@ -1532,7 +1532,7 @@ tdegtk_draw_common_background (DRAW_ARGS) TQMenuItem tqt3MenuItem; int maxAcceleratorTextWidth = 0; - int maxIconWidth = IconSize(KIcon::Small) + 4; + int maxIconWidth = IconSize(TDEIcon::Small) + 4; TQStyleOption menuOpt(&tqt3MenuItem, maxIconWidth, maxAcceleratorTextWidth); TQStyle::SFlags sflags = gtkToTQtStyleFlags(engine, state, TQT3WT_TQMenuItem, widget); @@ -1801,7 +1801,7 @@ tdegtk_draw_common_frame (DRAW_ARGS) TQMenuItem tqt3MenuItem; int maxAcceleratorTextWidth = 0; - int maxIconWidth = IconSize(KIcon::Small) + 4; + int maxIconWidth = IconSize(TDEIcon::Small) + 4; TQStyleOption menuOpt(&tqt3MenuItem, maxIconWidth, maxAcceleratorTextWidth); TQRect paintDeviceRect; @@ -2495,7 +2495,7 @@ tdegtk_draw_radio (DRAW_ARGS) bool checked = ((state & GTK_STATE_FLAG_ACTIVE) != 0); int maxAcceleratorTextWidth = 0; - int maxIconWidth = IconSize(KIcon::Small) + 4; + int maxIconWidth = IconSize(TDEIcon::Small) + 4; TQStringList objectTypes; objectTypes.append(TQPOPUPMENU_OBJECT_NAME_STRING); @@ -2555,7 +2555,7 @@ tdegtk_draw_separator (DRAW_ARGS) TQMenuItem tqt3MenuItem; tqt3MenuItem.setSeparator(true); int maxAcceleratorTextWidth = 0; - int maxIconWidth = IconSize(KIcon::Small) + 4; + int maxIconWidth = IconSize(TDEIcon::Small) + 4; TQStyleOption menuOpt(&tqt3MenuItem, maxIconWidth, maxAcceleratorTextWidth); // if (???) elementFlags = elementFlags | TQStyle::TQStyle::CEF_IsCheckable; -- cgit v1.2.1