diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:01:17 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:01:17 -0600 |
commit | fa0cf93ec2bf31ebec29c5ddf07ce1771084ca7e (patch) | |
tree | 82a6377924abfbbd5514a7c31eca3061a0f15fb8 /tdegtk/tdegtk-draw.cpp | |
parent | bc80a5e4638301ce3153d792c7e3c49a4270c4eb (diff) | |
download | gtk3-tqt-engine-fa0cf93ec2bf31ebec29c5ddf07ce1771084ca7e.tar.gz gtk3-tqt-engine-fa0cf93ec2bf31ebec29c5ddf07ce1771084ca7e.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'tdegtk/tdegtk-draw.cpp')
-rw-r--r-- | tdegtk/tdegtk-draw.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; |