summaryrefslogtreecommitdiffstats
path: root/qtools/qfeatures.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-12-03 19:13:07 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-12-03 19:13:07 (GMT)
commit5167cf2076e30ed3f6ddd84b76543a0dff207496 (patch)
tree485fb83c5a301dd4b0edb3c534b1f31eeb08ab1f /qtools/qfeatures.h
parenta1995ea7b217edfe0a6ddf3d60ea7bde1e23c1d7 (diff)
downloadDoxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.zip
Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.tar.gz
Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.tar.bz2
Release-1.2.3-20001203
Diffstat (limited to 'qtools/qfeatures.h')
-rw-r--r--qtools/qfeatures.h605
1 files changed, 445 insertions, 160 deletions
diff --git a/qtools/qfeatures.h b/qtools/qfeatures.h
index 5f6f663..e2e356c 100644
--- a/qtools/qfeatures.h
+++ b/qtools/qfeatures.h
@@ -42,7 +42,29 @@
...
*/
+// Qt ships with a number of pre-defined configurations. If none suit
+// your needs, define QCONFIG_LOCAL and create a "qconfig-local.h" file.
+//
+// Note that disabling some features will produce a libqt that is not
+// compatible with other libqt builds. Such modifications are only
+// supported on Qt/Embedded where reducing the library size is important
+// and where the application-suite is often a fixed set.
+//
+#if defined(QCONFIG_LOCAL)
+#include <qconfig-local.h>
+#elif defined(QCONFIG_QPE)
+#include <qconfig-qpe.h>
+#elif defined(QCONFIG_MINIMAL)
+#include <qconfig-minimal.h>
+#elif defined(QCONFIG_SMALL)
+#include <qconfig-small.h>
+#elif defined(QCONFIG_MEDIUM)
+#include <qconfig-medium.h>
+#elif defined(QCONFIG_LARGE)
+#include <qconfig-large.h>
+#else // everything...
#include <qconfig.h>
+#endif
// Data structures
@@ -51,6 +73,13 @@
*/
//#define QT_NO_STRINGLIST
+#if defined(QT_NO_IMAGE_SMOOTHSCALE)
+/*!
+ QIconSet
+*/
+# define QT_NO_ICONSET
+#endif
+
// File I/O
#if defined(QT_NO_STRINGLIST)
/*!
@@ -60,6 +89,11 @@
#endif
/*!
+ Palettes
+*/
+//#define QT_NO_PALETTE
+
+/*!
QTextStream
*/
//#define QT_NO_TEXTSTREAM
@@ -68,6 +102,12 @@
*/
//#define QT_NO_DATASTREAM
+/*!
+ Dynamic module linking
+*/
+//#define QT_NO_PLUGIN
+
+
// Images
/*!
BMP image I/O
@@ -196,50 +236,112 @@
# define QT_NO_UNICODETABLES
#endif
-// MIME-typed data
/*!
MIME
*/
#if defined(QT_NO_DIR)
# define QT_NO_MIME
#endif
-#if defined(QT_NO_MIME) || defined(QT_NO_TEXTSTREAM)
+#if defined(QT_NO_MIME) || defined(QT_NO_TEXTSTREAM) || defined(QT_NO_DRAWUTIL) || defined(QT_NO_IMAGE_SMOOTHSCALE)
/*!
RichText (HTML) display
*/
# define QT_NO_RICHTEXT
#endif
-//XML
-
-#if defined(QT_NO_STRINGLIST)
+/*!
+ XML
+*/
+#if defined(QT_NO_STRINGLIST) || defined(QT_NO_TEXTSTREAM) || defined(QT_NO_TEXTCODEC)
# define QT_NO_XML
#endif
-/*! Document Object Model */
-#if defined(QT_NO_XML) ||defined(QT_NO_MIME)
+/*!
+ Document Object Model
+*/
+#if defined(QT_NO_XML) || defined(QT_NO_MIME)
# define QT_NO_DOM
#endif
// Sound
/*!
- QSound
+ Playing sounds
*/
//#define QT_NO_SOUND
-// Scripting
/*!
Properties
*/
-#if defined(QT_NO_STRINGLIST)
+#if defined(QT_NO_STRINGLIST) || defined(QT_NO_ICONSET)
# define QT_NO_PROPERTIES
#endif
+
+
+// Networking
+
+/*!
+ Network support
+*/
+//#define QT_NO_NETWORK
+
+#if defined(QT_NO_NETWORK) || defined(QT_NO_STRINGLIST) || defined(QT_NO_TEXTSTREAM)
+ /*!
+ DNS
+ */
+# define QT_NO_DNS
+#endif
+/*!
+ Network file access
+*/
+#if defined(QT_NO_NETWORK) || defined(QT_NO_DIR) || defined(QT_NO_STRINGLIST)
+# define QT_NO_NETWORKPROTOCOL
+#endif
+#if defined(QT_NO_NETWORKPROTOCOL) || defined(QT_NO_DNS)
+ /*!
+ FTP file access
+ */
+# define QT_NO_NETWORKPROTOCOL_FTP
+ /*!
+ HTTP file access
+ */
+# define QT_NO_NETWORKPROTOCOL_HTTP
+#endif
+
+/*!
+ External process invocation.
+*/
+//#define QT_NO_PROCESS
+
+
// Qt/Embedded-specific
+
+#if defined(QT_NO_NETWORK)
+ /*!
+ Multi-process support.
+ */
+# define QT_NO_QWS_MULTIPROCESS
+#endif
+
+#if defined(QT_NO_QWS_MULTIPROCESS) || defined(QT_NO_DATASTREAM)
+ /*!
+ Palmtop Communication Protocol
+ */
+# define QT_NO_COP
+#endif
+
+/*!
+ Console keyboard support
+*/
+//#define QT_NO_QWS_KEYBOARD
+
/*!
Visible cursor
*/
-//#define QT_NO_QWS_CURSOR
+#if defined(QT_NO_CURSOR)
+# define QT_NO_QWS_CURSOR
+#endif
+
/*!
Alpha-blended cursor
*/
@@ -247,20 +349,25 @@
/*!
Mach64 acceleration
*/
-#define QT_NO_QWS_MACH64
+//#define QT_NO_QWS_MACH64
/*!
Voodoo3 acceleration
*/
-#define QT_NO_QWS_VOODOO3
+//#define QT_NO_QWS_VOODOO3
/*!
Matrox MGA acceleration (Millennium/Millennium II/Mystique/G200/G400)
*/
-#define QT_NO_QWS_MATROX
+//#define QT_NO_QWS_MATROX
/*!
Virtual frame buffer
*/
+
//#define QT_NO_QWS_VFB
/*!
+ Transformed frame buffer
+*/
+//#define QT_NO_QWS_TRANSFORMED
+/*!
Remote frame buffer (VNC)
*/
#define QT_NO_QWS_VNC
@@ -270,9 +377,13 @@
//#define QT_NO_QWS_DEPTH_1
/*!
4-bit VGA
- Not yet implemented
*/
-#define QT_NO_QWS_VGA_16
+//#define QT_NO_QWS_VGA_16
+/*!
+ SVGALib Support
+ Not implemented yet
+*/
+#define QT_NO_QWS_SVGALIB
/*!
8-bit grayscale
*/
@@ -282,11 +393,7 @@
*/
//#define QT_NO_QWS_DEPTH_8
/*!
- 15-bit color
-*/
-#define QT_NO_QWS_DEPTH_15
-/*!
- 16-bit color
+ 15 or 16-bit color (define QT_QWS_DEPTH16_RGB as 555 for 15-bit)
*/
//#define QT_NO_QWS_DEPTH_16
/*!
@@ -302,7 +409,7 @@
/*!
Saving of fonts
*/
-#define QT_NO_QWS_SAVEFONTS
+//#define QT_NO_QWS_SAVEFONTS
/*!
Favour code size over graphics speed
@@ -316,8 +423,10 @@
*/
//#define QT_NO_QWS_PROPERTIES
-#if defined(QT_NO_QWS_PROPERTIES) || defined(QT_NO_MIME) && !defined(_WS_QWS_)
-/*! Cut and paste */
+#if defined(QT_NO_QWS_PROPERTIES) || defined(QT_NO_MIME)
+ /*!
+ Cut and paste
+ */
# define QT_NO_CLIPBOARD
#endif
@@ -328,6 +437,13 @@
# define QT_NO_DRAGANDDROP
#endif
+#if defined(QT_NO_PROPERTIES)
+ /*!
+ SQL
+ */
+# define QT_NO_SQL
+#endif
+
#if defined(QT_NO_CLIPBOARD) || defined(QT_NO_MIME) || defined(_WS_QWS_)
/*!
Cut and paste of complex data types (non-text)
@@ -362,36 +478,10 @@
*/
# define QT_NO_IMAGE_16_BIT
#endif
-#if defined(QT_NO_QWS_CURSOR) && defined(_WS_QWS_)
- /*!
- Cursors
- */
-# define QT_NO_CURSOR
-#endif
-
-
-
-// Networking
-/*!
- DNS
-*/
-//#define QT_NO_DNS
/*!
- Network file access
+ Cursors
*/
-#if defined(QT_NO_DIR) || defined(QT_NO_STRINGLIST)
-# define QT_NO_NETWORKPROTOCOL
-#endif
-#if defined(QT_NO_NETWORKPROTOCOL) || defined(QT_NO_DNS)
- /*!
- FTP file access
- */
-# define QT_NO_NETWORKPROTOCOL_FTP
- /*!
- HTTP file access
- */
-# define QT_NO_NETWORKPROTOCOL_HTTP
-#endif
+//#define QT_NO_CURSOR
// Painting
/*!
@@ -403,7 +493,6 @@
*/
//#define QT_NO_TRANSFORMATIONS
-// Printing
/*!
Printing
*/
@@ -411,7 +500,6 @@
# define QT_NO_PRINTER
#endif
-// Metafiles
/*!
QPicture
*/
@@ -426,64 +514,266 @@
//#define QT_NO_LAYOUT
// Widgets
+#if defined(QT_NO_DRAWUTIL) || defined(QT_NO_PALETTE)
/*!
QStyle
*/
-//#define QT_NO_STYLE
+# define QT_NO_STYLE
+#endif
-#if defined QT_NO_IMAGE_SMOOTHSCALE
/*!
- QIconSet
-*/
-# define QT_NO_ICONSET
-#endif
-/*!
- QDialog
+ Dialogs
*/
//#define QT_NO_DIALOG
/*!
- QSemiModal
+ Semi-modal dialogs
*/
//#define QT_NO_SEMIMODAL
/*!
- QFrame
+ Framed widgets
*/
//#define QT_NO_FRAME
-#if defined(QT_NO_FRAME) ||defined(QT_NO_PALETTE) || defined(QT_NO_STYLE) ||defined(QT_NO_DRAWUTIL)
- /*!
- Basic widgets: QLAbel, QPushbutton, ...
- */
-# define QT_NO_SIMPLEWIDGETS
-#endif
+/*!
+ Special widget effects (fading, scrolling)
+*/
+//#define QT_NO_EFFECTS
-#if defined(QT_NO_SIMPLEWIDGETS)
- /*!
- QLabel
- */
+
+/*!
+ QLabel
+*/
+#ifdef QT_NO_FRAME
# define QT_NO_LABEL
- /*!
- QPushButton (not implemented).
- */
-# define QT_NO_PUSHBUTTON
- /*!
- QLineEdit (not implemented).
- */
+#endif
+
+/*!
+ Toolbars
+*/
+#ifdef QT_NO_LAYOUT
+# define QT_NO_TOOLBAR
+#endif
+
+/*!
+ Buttons
+*/
+#if defined(QT_NO_BUTTON) || defined(QT_NO_STYLE)
+/*!
+ Check-boxes
+*/
+# define QT_NO_CHECKBOX
+/*!
+ Radio-buttons
+*/
+# define QT_NO_RADIOBUTTON
+#endif
+#if defined(QT_NO_BUTTON) || defined(QT_NO_TOOLBAR) || defined(QT_NO_ICONSET)
+/*!
+ Tool-buttons
+*/
+# define QT_NO_TOOLBUTTON
+#endif
+/*!
+ Grid layout widgets
+*/
+#ifdef QT_NO_FRAME
+# define QT_NO_GRID
+#endif
+/*!
+ Group boxes
+*/
+#ifdef QT_NO_FRAME
+# define QT_NO_GROUPBOX
+#endif
+#if defined(QT_NO_GROUPBOX)
+/*!
+ Button groups
+*/
+# define QT_NO_BUTTONGROUP
+/*!
+ Horizontal group boxes
+*/
+# define QT_NO_HGROUPBOX
+#endif
+#if defined(QT_NO_HGROUPBOX)
+/*!
+ Vertical group boxes
+*/
+# define QT_NO_VGROUPBOX
+#endif
+#if defined(QT_NO_BUTTONGROUP)
+/*!
+ Horizontal button groups
+*/
+# define QT_NO_HBUTTONGROUP
+#endif
+#if defined(QT_NO_HBUTTONGROUP)
+/*!
+ Vertical button groups
+*/
+# define QT_NO_VBUTTONGROUP
+#endif
+/*!
+ Horizonal box layout widgets
+*/
+#ifdef QT_NO_FRAME
+# define QT_NO_HBOX
+#endif
+#if defined(QT_NO_HBOX)
+/*!
+ Vertical box layout widgets
+*/
+# define QT_NO_VBOX
+#endif
+/*!
+ Single-line edits
+*/
+#if defined(QT_NO_PALETTE)
# define QT_NO_LINEEDIT
#endif
-#if defined(QT_NO_ICONSET) || defined(QT_NO_IMAGE_SMOOTHSCALE) || defined(QT_NO_SIMPLEWIDGETS)
- /*!
- Pre-defined complex widgets
- */
-# define QT_NO_COMPLEXWIDGETS
+#if defined(QT_NO_TOOLBAR)
+/*!
+ Main-windows
+*/
+# define QT_NO_MAINWINDOW
+#endif
+#if defined(QT_NO_ICONSET)
+/*!
+ Menu-like widgets
+*/
+# define QT_NO_MENUDATA
+#endif
+#if defined(QT_NO_MENUDATA)
+/*!
+ Popup-menus
+*/
+# define QT_NO_POPUPMENU
+/*!
+ Menu bars
+*/
+# define QT_NO_MENUBAR
+#endif
+#if defined(QT_NO_BUTTON) || defined(QT_NO_ICONSET) || defined(QT_NO_POPUPMENU)
+/*!
+ Push-buttons
+*/
+# define QT_NO_PUSHBUTTON
+#endif
+/*!
+ Progress bars
+*/
+#ifdef QT_NO_FRAME
+# define QT_NO_PROGRESSBAR
+#endif
+/*!
+ Range-control widgets
+*/
+//#define QT_NO_RANGECONTROL
+#if defined(QT_NO_RANGECONTROL) || defined(QT_NO_STYLE)
+/*!
+ Scroll bars
+*/
+# define QT_NO_SCROLLBAR
+/*!
+ Sliders
+*/
+# define QT_NO_SLIDER
+/*!
+ Spin boxes
+*/
+# define QT_NO_SPINBOX
+/*!
+ Dials
+*/
+# define QT_NO_DIAL
+#endif
+
+
+#if defined(QT_NO_SCROLLBAR) || defined(QT_NO_FRAME)
+/*!
+ Scrollable view widgets
+*/
+# define QT_NO_SCROLLVIEW
+#endif
+#if defined(QT_NO_SCROLLVIEW)
+/*!
+ QCanvas
+*/
+# define QT_NO_CANVAS
+/*!
+ QIconView
+*/
+# define QT_NO_ICONVIEW
+#endif
+
+#if defined(QT_NO_SCROLLBAR)
+/*!
+ Table-like widgets
+*/
+# define QT_NO_TABLEVIEW
+#endif
+#if defined(QT_NO_TABLEVIEW)
+/*!
+ Multi-line edits
+*/
+# define QT_NO_MULTILINEEDIT
+#endif
+
+/*!
+ Splitters
+*/
+#ifdef QT_NO_FRAME
+# define QT_NO_SPLITTER
+#endif
+/*!
+ Status bars
+*/
+#ifdef QT_NO_LAYOUT
+# define QT_NO_STATUSBAR
+#endif
+/*!
+ Tab-bars
+*/
+#if defined(QT_NO_ICONSET)
+# define QT_NO_TABBAR
+#endif
+#if defined(QT_NO_TABBAR)
+/*!
+ Tab widgets
+*/
+# define QT_NO_TABWIDGET
+#endif
+/*!
+ Tool tips
+*/
+#if defined( QT_NO_LABEL ) || defined( QT_NO_PALETTE )
+# define QT_NO_TOOLTIP
+#endif
+/*!
+ Input validators
+*/
+//#define QT_NO_VALIDATOR
+/*!
+ "What's this" help
+*/
+#if defined( QT_NO_TOOLTIP )
+# define QT_NO_WHATSTHIS
+#endif
+/*!
+ Widget stacks
+*/
+#ifdef QT_NO_FRAME
+# define QT_NO_WIDGETSTACK
#endif
-#if defined(QT_NO_COMPLEXWIDGETS) || defined(QT_NO_RICHTEXT)
+
+#if defined(QT_NO_RICHTEXT) || defined(QT_NO_SCROLLVIEW)
/*!
QTextView
*/
# define QT_NO_TEXTVIEW
#endif
+
#if defined(QT_NO_TEXTVIEW)
/*!
QTextBrowser
@@ -503,84 +793,74 @@
#endif
#if defined(QT_NO_STYLE_MOTIF)
+ /*!
+ Motif-plus style
+ */
# define QT_NO_STYLE_MOTIFPLUS
#endif
-#if defined(QT_NO_COMPLEXWIDGETS) || defined(QT_NO_STRINGLIST)
+#if defined(QT_NO_SCROLLVIEW) || defined(QT_NO_STRINGLIST)
/*!
QListBox
*/
# define QT_NO_LISTBOX
#endif
-#if defined(QT_NO_COMPLEXWIDGETS)
- /*!
- QAccel
- */
-# define QT_NO_ACCEL
+/*!
+ QAccel
+*/
+//#define QT_NO_ACCEL
- /*!
- QSizeGrip
- */
+/*!
+ QSizeGrip
+*/
+#ifdef QT_NO_PALETTE
# define QT_NO_SIZEGRIP
- /*!
- QHeader
- */
+#endif
+/*!
+ QHeader
+*/
+#ifdef QT_NO_ICONSET
# define QT_NO_HEADER
- /*!
- QMenuBar
- */
-# define QT_NO_MENUBAR
- /*!
- QCanvas
- */
-# define QT_NO_CANVAS
- /*!
- QDial
- */
-# define QT_NO_DIAL
- /*!
- QWorkSpace
- */
+#endif
+/*!
+ QWorkSpace
+*/
+#ifdef QT_NO_FRAME
# define QT_NO_WORKSPACE
- /*!
- QLCDNumber
- */
+#endif
+/*!
+ QLCDNumber
+*/
+#ifdef QT_NO_FRAME
# define QT_NO_LCDNUMBER
- /*!
- QAction
- */
-# define QT_NO_ACTION
+#endif
+/*!
+ QAction
+*/
+//#define QT_NO_ACTION
+
+#if defined(QT_NO_HEADER)
/*!
QTable
*/
# define QT_NO_TABLE
#endif
-#if defined(QT_NO_LISTBOX) || defined(QT_NO_COMPLEXWIDGETS)
+
+#if defined(QT_NO_LISTBOX)
/*!
QComboBox
*/
# define QT_NO_COMBOBOX
#endif
-#if defined(QT_NO_COMPLEXWIDGETS)
- /*!
- QIconView
- */
-# define QT_NO_ICONVIEW
-#endif
-#if defined(QT_NO_HEADER)
+
+#if defined(QT_NO_HEADER) || defined(QT_NO_SCROLLVIEW)
/*!
QListView
*/
# define QT_NO_LISTVIEW
#endif
-#if defined(QT_NO_COMPLEXWIDGETS) || defined(QT_NO_DIALOG)
- /*!
- Built-in dialogs
- */
-# define QT_NO_DIALOGS
-#endif
#if defined(QT_NO_STYLE_WINDOWS)
/*!
@@ -589,7 +869,7 @@
# define QT_NO_STYLE_COMPACT
#endif
-#if defined(QT_NO_STYLE_MOTIF)
+#if defined(QT_NO_STYLE_MOTIF) || defined(QT_NO_TRANSFORMATIONS)
/*!
CDE style
*/
@@ -606,53 +886,60 @@
# define QT_NO_STYLE_PLATINUM
#endif
-#if defined(QT_NO_DIALOGS)
- /*!
- QColorDialog
- */
+/*!
+ QColorDialog
+*/
+#if defined(QT_NO_LAYOUT) || defined(QT_NO_LABEL) || defined(QT_NO_PUSHBUTTON) || defined(QT_NO_DIALOG)
# define QT_NO_COLORDIALOG
- /*!
- QMessageBox
- */
+#endif
+#if defined(QT_NO_DIALOG)
+/*!
+ QMessageBox
+*/
# define QT_NO_MESSAGEBOX
- /*!
- QTabDialog
- */
-# define QT_NO_TABDIALOG
- /*!
- QWizard
- */
+#endif
+#if defined(QT_NO_DIALOG) || defined(QT_NO_TABBAR)
+/*!
+ QTabDialog
+*/
+#define QT_NO_TABDIALOG
+#endif
+
+#if defined(QT_NO_DIALOG)
+/*!
+ QWizard
+*/
# define QT_NO_WIZARD
#endif
-#if defined(QT_NO_DIALOGS) || defined(QT_NO_LISTVIEW) || defined(QT_NO_NETWORKPROTOCOL) || defined(QT_NO_COMBOBOX) || defined(QT_NO_DIR) || defined(QT_NO_MESSAGEBOX)
+#if defined(QT_NO_DIALOG) || defined(QT_NO_LISTVIEW) || defined(QT_NO_NETWORKPROTOCOL) || defined(QT_NO_COMBOBOX) || defined(QT_NO_DIR) || defined(QT_NO_MESSAGEBOX) || defined(QT_NO_SEMIMODAL)
/*!
QFileDialog
*/
# define QT_NO_FILEDIALOG
#endif
-#if defined(QT_NO_DIALOGS) || defined(QT_NO_FONTDATABASE) || defined(QT_NO_COMBOBOX)
+#if defined(QT_NO_DIALOG) || defined(QT_NO_FONTDATABASE) || defined(QT_NO_COMBOBOX)
/*!
QFontDialog
*/
# define QT_NO_FONTDIALOG
#endif
-#if defined(QT_NO_DIALOGS) || defined(QT_NO_LISTVIEW) || defined(QT_NO_PRINTER) || defined(QT_NO_COMBOBOX) || defined(QT_NO_DIR)
+#if defined(QT_NO_DIALOG) || defined(QT_NO_LISTVIEW) || defined(QT_NO_PRINTER) || defined(QT_NO_COMBOBOX) || defined(QT_NO_DIR) || defined(QT_NO_LAYOUT) || defined(QT_NO_LABEL)
/*!
QPrintDialog
*/
# define QT_NO_PRINTDIALOG
#endif
-#if defined(QT_NO_DIALOGS) || defined(QT_NO_SEMIMODAL)
+#if defined(QT_NO_SEMIMODAL)
/*!
QProgressDialog
*/
# define QT_NO_PROGRESSDIALOG
#endif
-#if defined(QT_NO_DIALOGS) || defined(QT_NO_COMBOBOX)
+#if defined(QT_NO_DIALOG) || defined(QT_NO_COMBOBOX)
/*!
QInputDialog
*/
@@ -660,12 +947,10 @@
#endif
#if defined(QT_NO_STRINGLIST)
- // Desktop features
- /*! Session management support */
+ /*!
+ Session management support
+ */
# define QT_NO_SESSIONMANAGER
#endif
-/*! Special widget effects (fading, scrolling) */
-//#define QT_NO_EFFECTS
-
#endif // QFEATURES_H