Changeset 174 for trunk/src/styles/qstylefactory.cpp
- Timestamp:
- Nov 6, 2007, 11:27:57 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/styles/qstylefactory.cpp
r2 r174 52 52 #include "qwindowsxpstyle.h" 53 53 #endif 54 #ifndef QT_NO_STYLE_WARP4 55 #include "qwarp4style.h" 56 #endif 54 57 #ifndef QT_NO_STYLE_AQUA 55 58 #include "qaquastyle.h" … … 109 112 including "windows", "motif", "cde", "motifplus", "platinum", 110 113 "sgi" and "compact". Depending on the platform, "windowsxp", 111 " aqua" or "macintosh" may be available.114 "warp4", "aqua" or "macintosh" may be available. 112 115 */ 113 116 … … 132 135 else 133 136 #endif 137 #ifndef QT_NO_STYLE_WARP4 138 if ( style == "warp4" ) 139 ret = new QWarp4Style; 140 else 141 #endif 134 142 #ifndef QT_NO_STYLE_MOTIF 135 143 if ( style == "motif" ) … … 165 173 if ( style == "aqua" ) 166 174 ret = new QAquaStyle; 175 else 167 176 #endif 168 177 #ifndef QT_NO_STYLE_POCKETPC 169 178 if ( style == "pocketpc" ) 170 ret = new QPocketPCStyle; 179 ret = new QPocketPCStyle; 180 else 171 181 #endif 172 182 #if !defined( QT_NO_STYLE_MAC ) && defined( Q_WS_MAC ) 173 183 if( style.left(9) == "macintosh" ) 174 ret = new QMacStyle; 184 ret = new QMacStyle; 185 else 175 186 #endif 176 187 { } // Keep these here - they make the #ifdefery above work … … 216 227 if ( !list.contains( "WindowsXP" ) && QWindowsXPStyle::resolveSymbols() ) 217 228 list << "WindowsXP"; 229 #endif 230 #ifndef QT_NO_STYLE_WARP4 231 if ( !list.contains( "Warp4" ) ) 232 list << "Warp4"; 218 233 #endif 219 234 #ifndef QT_NO_STYLE_MOTIF
Note:
See TracChangeset
for help on using the changeset viewer.