diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-09-13 19:35:58 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-09-13 19:35:58 -0500 |
commit | b9daa01a7dab10bf81410e171efe31bdd57da43b (patch) | |
tree | 3bd564f03f33c0609436e461b0b0e08118b2aa11 /lib | |
parent | db0c7b24cfa766aa88a8c0d7dfdae16f346033a0 (diff) | |
download | qt4-tqt-theme-engine-b9daa01a7dab10bf81410e171efe31bdd57da43b.tar.gz qt4-tqt-theme-engine-b9daa01a7dab10bf81410e171efe31bdd57da43b.zip |
Add widget cache and fix checkboxes and pushbuttons
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, |