summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-02-15 18:49:06 +0900
committerMichele Calgaro <[email protected]>2024-02-15 18:58:23 +0900
commit1d318a47b0b45a7f916f526de60d628302cbfd4c (patch)
tree40e178533acb193432ab512d05eb3f03ff4a855c /doc
parent67bff2edcacb208dc44dcd521386bef686dc6dbf (diff)
downloadtqt3-1d318a47b0b45a7f916f526de60d628302cbfd4c.tar.gz
tqt3-1d318a47b0b45a7f916f526de60d628302cbfd4c.zip
Replace QT_STATIC_CONST_* with actual definitions
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc')
-rw-r--r--doc/html/qglobal-h.html13
-rw-r--r--doc/html/qnamespace-h.html72
-rw-r--r--doc/html/qsqldatabase-h.html2
-rw-r--r--doc/html/qstring-h.html12
4 files changed, 43 insertions, 56 deletions
diff --git a/doc/html/qglobal-h.html b/doc/html/qglobal-h.html
index bd41a2385..2a3a3a13d 100644
--- a/doc/html/qglobal-h.html
+++ b/doc/html/qglobal-h.html
@@ -715,19 +715,6 @@ const bool true = TRUE;
//
-// Workaround for static const members on MSVC++.
-//
-
-#if defined(Q_CC_MSVC)
-# define QT_STATIC_CONST static
-# define QT_STATIC_CONST_IMPL
-#else
-# define QT_STATIC_CONST static const
-# define QT_STATIC_CONST_IMPL const
-#endif
-
-
-//
// Utility macros and inline functions
//
diff --git a/doc/html/qnamespace-h.html b/doc/html/qnamespace-h.html
index d8aece710..3e8a6b3a6 100644
--- a/doc/html/qnamespace-h.html
+++ b/doc/html/qnamespace-h.html
@@ -88,25 +88,25 @@ class TQCursor;
class TQ_EXPORT TQt {
public:
- QT_STATIC_CONST TQColor &amp; color0;
- QT_STATIC_CONST TQColor &amp; color1;
- QT_STATIC_CONST TQColor &amp; black;
- QT_STATIC_CONST TQColor &amp; white;
- QT_STATIC_CONST TQColor &amp; darkGray;
- QT_STATIC_CONST TQColor &amp; gray;
- QT_STATIC_CONST TQColor &amp; lightGray;
- QT_STATIC_CONST TQColor &amp; red;
- QT_STATIC_CONST TQColor &amp; green;
- QT_STATIC_CONST TQColor &amp; blue;
- QT_STATIC_CONST TQColor &amp; cyan;
- QT_STATIC_CONST TQColor &amp; magenta;
- QT_STATIC_CONST TQColor &amp; yellow;
- QT_STATIC_CONST TQColor &amp; darkRed;
- QT_STATIC_CONST TQColor &amp; darkGreen;
- QT_STATIC_CONST TQColor &amp; darkBlue;
- QT_STATIC_CONST TQColor &amp; darkCyan;
- QT_STATIC_CONST TQColor &amp; darkMagenta;
- QT_STATIC_CONST TQColor &amp; darkYellow;
+ static const TQColor &amp; color0;
+ static const TQColor &amp; color1;
+ static const TQColor &amp; black;
+ static const TQColor &amp; white;
+ static const TQColor &amp; darkGray;
+ static const TQColor &amp; gray;
+ static const TQColor &amp; lightGray;
+ static const TQColor &amp; red;
+ static const TQColor &amp; green;
+ static const TQColor &amp; blue;
+ static const TQColor &amp; cyan;
+ static const TQColor &amp; magenta;
+ static const TQColor &amp; yellow;
+ static const TQColor &amp; darkRed;
+ static const TQColor &amp; darkGreen;
+ static const TQColor &amp; darkBlue;
+ static const TQColor &amp; darkCyan;
+ static const TQColor &amp; darkMagenta;
+ static const TQColor &amp; darkYellow;
// documented in qevent.cpp
enum ButtonState { // mouse/keyboard state values
@@ -815,25 +815,25 @@ public:
// Global cursors
- QT_STATIC_CONST TQCursor &amp; arrowCursor; // standard arrow cursor
- QT_STATIC_CONST TQCursor &amp; upArrowCursor; // upwards arrow
- QT_STATIC_CONST TQCursor &amp; crossCursor; // crosshair
- QT_STATIC_CONST TQCursor &amp; waitCursor; // hourglass/watch
- QT_STATIC_CONST TQCursor &amp; ibeamCursor; // ibeam/text entry
- QT_STATIC_CONST TQCursor &amp; sizeVerCursor; // vertical resize
- QT_STATIC_CONST TQCursor &amp; sizeHorCursor; // horizontal resize
- QT_STATIC_CONST TQCursor &amp; sizeBDiagCursor; // diagonal resize (/)
- QT_STATIC_CONST TQCursor &amp; sizeFDiagCursor; // diagonal resize (\)
- QT_STATIC_CONST TQCursor &amp; sizeAllCursor; // all directions resize
- QT_STATIC_CONST TQCursor &amp; blankCursor; // blank/invisible cursor
- QT_STATIC_CONST TQCursor &amp; splitVCursor; // vertical bar with left-right
+ static const TQCursor &amp; arrowCursor; // standard arrow cursor
+ static const TQCursor &amp; upArrowCursor; // upwards arrow
+ static const TQCursor &amp; crossCursor; // crosshair
+ static const TQCursor &amp; waitCursor; // hourglass/watch
+ static const TQCursor &amp; ibeamCursor; // ibeam/text entry
+ static const TQCursor &amp; sizeVerCursor; // vertical resize
+ static const TQCursor &amp; sizeHorCursor; // horizontal resize
+ static const TQCursor &amp; sizeBDiagCursor; // diagonal resize (/)
+ static const TQCursor &amp; sizeFDiagCursor; // diagonal resize (\)
+ static const TQCursor &amp; sizeAllCursor; // all directions resize
+ static const TQCursor &amp; blankCursor; // blank/invisible cursor
+ static const TQCursor &amp; splitVCursor; // vertical bar with left-right
// arrows
- QT_STATIC_CONST TQCursor &amp; splitHCursor; // horizontal bar with up-down
+ static const TQCursor &amp; splitHCursor; // horizontal bar with up-down
// arrows
- QT_STATIC_CONST TQCursor &amp; pointingHandCursor; // pointing hand
- QT_STATIC_CONST TQCursor &amp; forbiddenCursor; // forbidden cursor (slashed circle)
- QT_STATIC_CONST TQCursor &amp; whatsThisCursor; // arrow with a question mark
- QT_STATIC_CONST TQCursor &amp; busyCursor; // arrow with hourglass
+ static const TQCursor &amp; pointingHandCursor; // pointing hand
+ static const TQCursor &amp; forbiddenCursor; // forbidden cursor (slashed circle)
+ static const TQCursor &amp; whatsThisCursor; // arrow with a question mark
+ static const TQCursor &amp; busyCursor; // arrow with hourglass
enum TextFormat {
diff --git a/doc/html/qsqldatabase-h.html b/doc/html/qsqldatabase-h.html
index e89c2d5d2..0e78bf809 100644
--- a/doc/html/qsqldatabase-h.html
+++ b/doc/html/qsqldatabase-h.html
@@ -160,7 +160,7 @@ public:
TQSqlDriver* driver() const;
// MOC_SKIP_BEGIN
- QT_STATIC_CONST char * const defaultConnection;
+ static const char * const defaultConnection;
// MOC_SKIP_END
static TQSqlDatabase* addDatabase( const TQString&amp; type, const TQString&amp; connectionName = defaultConnection );
diff --git a/doc/html/qstring-h.html b/doc/html/qstring-h.html
index 1c566e581..a3c3dbef7 100644
--- a/doc/html/qstring-h.html
+++ b/doc/html/qstring-h.html
@@ -121,11 +121,11 @@ public:
TQChar( uint rc );
TQChar( int rc );
- QT_STATIC_CONST TQChar null; // 0000
- QT_STATIC_CONST TQChar replacement; // FFFD
- QT_STATIC_CONST TQChar byteOrderMark; // FEFF
- QT_STATIC_CONST TQChar byteOrderSwapped; // FFFE
- QT_STATIC_CONST TQChar nbsp; // 00A0
+ static const TQChar null; // 0000
+ static const TQChar replacement; // FFFD
+ static const TQChar byteOrderMark; // FEFF
+ static const TQChar byteOrderSwapped; // FFFE
+ static const TQChar nbsp; // 00A0
// Unicode information
@@ -458,7 +458,7 @@ public:
TQString &amp;operator=( TQChar c );
TQString &amp;operator=( char c );
- QT_STATIC_CONST TQString null;
+ static const TQString null;
bool isNull() const;
bool isEmpty() const;