diff -r b193168bad98 src/cmdline.cpp
|
|
|
289 | 289 | "Sets the X display (default is $DISPLAY)." |
290 | 290 | }, |
291 | 291 | { "style", 0, true, 's', |
292 | | "Sets the application GUI style. Possible values are motif, windows, " |
293 | | "and platinum. " |
294 | | }, |
| 292 | "Sets the application GUI style. Possible values are fusion, windows, " |
| 293 | "or QtCurve when that style has been installed. " |
| 294 | }, |
| 295 | { "platform", 0, true, 'x', |
| 296 | "Sets the platform plugin to be used. For instance, on OS X one can use " |
| 297 | "cocoa or xcb as platform plugins." |
| 298 | }, |
295 | 299 | { "geometry", 0, true, 'g', |
296 | 300 | "Sets the client geometry of the main widget." |
297 | 301 | }, |
… |
… |
|
339 | 343 | //------------------------------------------------------------------------------ |
340 | 344 | // |
341 | 345 | XxCmdline::XxCmdline() : |
| 346 | _forcePlatform( false ), |
342 | 347 | _forceStyle( false ), |
343 | 348 | _forceGeometry( false ), |
344 | 349 | _forceFont( false ), |
… |
… |
|
642 | 647 | } break; |
643 | 648 | |
644 | 649 | case 'd': |
645 | | case 's': |
| 650 | case 's': // --style |
| 651 | case 'x': // --platform |
646 | 652 | case 'G': |
647 | 653 | case 'g': |
648 | 654 | case 'F': |
… |
… |
|
771 | 777 | if ( strncmp( _qtOptions[ ii ], "-style", 6 ) == 0 ) { |
772 | 778 | _forceStyle = true; |
773 | 779 | } |
| 780 | else if ( strncmp( _qtOptions[ ii ], "-platform", 9 ) == 0 ) { |
| 781 | _forcePlatform = true; |
| 782 | } |
774 | 783 | else if ( strncmp( _qtOptions[ ii ], "-geometry", 9 ) == 0 ) { |
775 | 784 | _forceGeometry = true; |
776 | 785 | } |
diff -r b193168bad98 src/cmdline.h
|
|
|
117 | 117 | /*----- data members -----*/ |
118 | 118 | |
119 | 119 | // Cmdline-related variables. |
| 120 | bool _forcePlatform; |
120 | 121 | bool _forceStyle; |
121 | 122 | bool _forceGeometry; |
122 | 123 | bool _forceFont; |