diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tdeqt4converter.cpp | 2 | ||||
-rw-r--r-- | lib/tdeqt4converter.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/tdeqt4converter.cpp b/lib/tdeqt4converter.cpp index e65dca2..3c5675d 100644 --- a/lib/tdeqt4converter.cpp +++ b/lib/tdeqt4converter.cpp @@ -666,7 +666,7 @@ TQStyle::SFlags convertQt4ToTQt3SFlags(QStyle::State qt4stateflags, TQt3WidgetTy // sflags = sflags | TQStyle::; // } if (qt4stateflags & QStyle::State_Sunken) { - if ((wt == TQT3WT_TQPopupMenu) || (wt == TQT3WT_TQMenuBar) || (wt == TQT3WT_TQToolButton)) { + if ((wt == TQT3WT_TQPopupMenu) || (wt == TQT3WT_TQMenuBar) || (wt == TQT3WT_TQToolButton) || (wt == TQT3WT_TQRadioButton) || (wt == TQT3WT_TQCheckBox) || (wt == TQT3WT_TQPushButton)) { sflags = sflags | TQStyle::Style_Down; } sflags = sflags | TQStyle::Style_Sunken; diff --git a/lib/tdeqt4converter.h b/lib/tdeqt4converter.h index bea9035..13739e9 100644 --- a/lib/tdeqt4converter.h +++ b/lib/tdeqt4converter.h @@ -52,6 +52,7 @@ enum TQt3WidgetType { TQT3WT_TQTabBar, TQT3WT_TQRadioButton, TQT3WT_TQCheckBox, + TQT3WT_TQPushButton, TQT3WT_TQPopupMenu, TQT3WT_TQComboBox, TQT3WT_TQSlider, |