diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/html/canvas-chart-example.html | 8 | ||||
| -rw-r--r-- | doc/html/chart-element-h.html | 8 | ||||
| -rw-r--r-- | doc/html/tqdns-h.html | 2 | ||||
| -rw-r--r-- | doc/html/tqglobal-h.html | 28 | ||||
| -rw-r--r-- | doc/html/tqiconset-h.html | 4 | ||||
| -rw-r--r-- | doc/html/tqmap-h.html | 7 | ||||
| -rw-r--r-- | doc/html/tqpixmap-h.html | 4 | ||||
| -rw-r--r-- | doc/html/tqtl-tqvaluelist-example.html | 3 | ||||
| -rw-r--r-- | doc/html/tqwidgetfactory-h.html | 2 |
9 files changed, 1 insertions, 65 deletions
diff --git a/doc/html/canvas-chart-example.html b/doc/html/canvas-chart-example.html index 85780a420..f6ed19806 100644 --- a/doc/html/canvas-chart-example.html +++ b/doc/html/canvas-chart-example.html @@ -122,14 +122,6 @@ public: void setProX( int index, double value ); void setProY( int index, double value ); -#ifdef TQ_FULL_TEMPLATE_INSTANTIATION - // xlC 3.x workaround - TQ_DUMMY_COMPARISON_OPERATOR(Element) - bool operator!=( const Element& e) const { - return ( !(e == *this) ); - } -#endif - private: void init( double value, TQColor valueColor, int valuePattern, const <a href="tqstring.html">TQString</a>& label, TQColor labelColor ); diff --git a/doc/html/chart-element-h.html b/doc/html/chart-element-h.html index fdd0b383b..c60dbe723 100644 --- a/doc/html/chart-element-h.html +++ b/doc/html/chart-element-h.html @@ -90,14 +90,6 @@ public: void setProX( int index, double value ); void setProY( int index, double value ); -#ifdef TQ_FULL_TEMPLATE_INSTANTIATION - // xlC 3.x workaround - TQ_DUMMY_COMPARISON_OPERATOR(Element) - bool operator!=( const Element& e) const { - return ( !(e == *this) ); - } -#endif - private: void init( double value, TQColor valueColor, int valuePattern, const <a href="tqstring.html">TQString</a>& label, TQColor labelColor ); diff --git a/doc/html/tqdns-h.html b/doc/html/tqdns-h.html index 704355867..e41495e4f 100644 --- a/doc/html/tqdns-h.html +++ b/doc/html/tqdns-h.html @@ -132,7 +132,6 @@ public: :name(n), priority(p) {} TQString name; TQ_UINT16 priority; - TQ_DUMMY_COMPARISON_OPERATOR(MailServer) }; TQValueList<MailServer> mailServers() const; @@ -144,7 +143,6 @@ public: TQ_UINT16 priority; TQ_UINT16 weight; TQ_UINT16 port; - TQ_DUMMY_COMPARISON_OPERATOR(Server) }; TQValueList<Server> servers() const; diff --git a/doc/html/tqglobal-h.html b/doc/html/tqglobal-h.html index 42a7d8d7b..c022f9632 100644 --- a/doc/html/tqglobal-h.html +++ b/doc/html/tqglobal-h.html @@ -276,11 +276,6 @@ body { background: #ffffff; color: black; } # define mutable /* no template classes in TQVariant */ # define TQT_NO_TEMPLATE_VARIANT -/* Wcc does not fill in functions needed by valuelists, maps, and - valuestacks implicitly */ -# define TQ_FULL_TEMPLATE_INSTANTIATION -/* can we just compare the structures? */ -# define TQ_FULL_TEMPLATE_INSTANTIATION_MEMCMP /* these are not useful to our customers */ # define TQT_NO_SQL # endif @@ -288,9 +283,6 @@ body { background: #ffffff; color: black; } #elif defined(__GNUC__) # define Q_CC_GNU # define Q_C_CALLBACKS -# if __GNUC__ == 2 && __GNUC_MINOR__ <= 7 -# define TQ_FULL_TEMPLATE_INSTANTIATION -# endif /* GCC 2.95 knows "using" but does not support it correctly */ # if __GNUC__ == 2 && __GNUC_MINOR__ <= 95 # define Q_NO_USING_KEYWORD @@ -339,7 +331,6 @@ body { background: #ffffff; color: black; } but it is not defined on older compilers like C Set 3.1 */ #elif defined(__xlC__) # define Q_CC_XLC -# define TQ_FULL_TEMPLATE_INSTANTIATION # if __xlC__ < 0x400 # define Q_NO_USING_KEYWORD # define TQ_TYPENAME @@ -438,7 +429,6 @@ body { background: #ffffff; color: black; } # define Q_CC_HPACC # else # define Q_CC_HP -# define TQ_FULL_TEMPLATE_INSTANTIATION # endif # define Q_NO_USING_KEYWORD /* ### check "using" status */ @@ -860,23 +850,7 @@ TQ_EXPORT const char *tqInstallPathSysconf(); #endif /* __cplusplus */ -/* - compilers which follow outdated template instantiation rules - require a class to have a comparison operator to exist when - a TQValueList of this type is instantiated. It's not actually - used in the list, though. Hence the dummy implementation. - Just in case other code relies on it we better trigger a warning - mandating a real implementation. -*/ -#ifdef TQ_FULL_TEMPLATE_INSTANTIATION -# define TQ_DUMMY_COMPARISON_OPERATOR(C) \ - bool operator==( const C& ) const { \ - tqWarning( #C"::operator==( const "#C"& ) got called." ); \ - return false; \ - } -#else -# define TQ_DUMMY_COMPARISON_OPERATOR(C) -#endif +#define TQ_DUMMY_COMPARISON_OPERATOR(C) #endif /* TQGLOBAL_H */ diff --git a/doc/html/tqiconset-h.html b/doc/html/tqiconset-h.html index 4dae2f354..a2a4d4cd8 100644 --- a/doc/html/tqiconset-h.html +++ b/doc/html/tqiconset-h.html @@ -124,10 +124,6 @@ public: static void setIconSize( Size which, const TQSize& size ); static const TQSize& iconSize( Size which ); -#ifndef Q_QDOC - TQ_DUMMY_COMPARISON_OPERATOR(TQIconSet) -#endif - private: void normalize( Size& which, const TQSize& pixSize ); TQPixmap *createScaled( Size size, const TQPixmap *suppliedPix ) const; diff --git a/doc/html/tqmap-h.html b/doc/html/tqmap-h.html index 21405dfa0..b75d6ea55 100644 --- a/doc/html/tqmap-h.html +++ b/doc/html/tqmap-h.html @@ -763,13 +763,6 @@ public: void remove( iterator it ) { detach(); sh->remove( it ); } void remove( const Key& k ); -#if defined(TQ_FULL_TEMPLATE_INSTANTIATION) - bool operator==( const TQMap<Key,T>& ) const { return false; } -#ifndef TQT_NO_STL - bool operator==( const std::map<Key,T>& ) const { return false; } -#endif -#endif - protected: /** * Helpers diff --git a/doc/html/tqpixmap-h.html b/doc/html/tqpixmap-h.html index b6f8fca80..8a8d6748d 100644 --- a/doc/html/tqpixmap-h.html +++ b/doc/html/tqpixmap-h.html @@ -203,10 +203,6 @@ public: void x11SetScreen( int screen ); #endif -#ifndef Q_QDOC - TQ_DUMMY_COMPARISON_OPERATOR(TQPixmap) -#endif - protected: TQPixmap( int w, int h, const uchar *data, bool isXbitmap ); int metric( int ) const; diff --git a/doc/html/tqtl-tqvaluelist-example.html b/doc/html/tqtl-tqvaluelist-example.html index 9600b07fe..33a6cfb89 100644 --- a/doc/html/tqtl-tqvaluelist-example.html +++ b/doc/html/tqtl-tqvaluelist-example.html @@ -63,9 +63,6 @@ public: int salary() const { return s; } void setSalary( int salary ) { s = salary; } - // this is here to support very old compilers - TQ_DUMMY_COMPARISON_OPERATOR( Employee ) - private: <a href="tqstring.html">TQString</a> n; int s; diff --git a/doc/html/tqwidgetfactory-h.html b/doc/html/tqwidgetfactory-h.html index 8c35945d3..2e1126ff5 100644 --- a/doc/html/tqwidgetfactory-h.html +++ b/doc/html/tqwidgetfactory-h.html @@ -186,7 +186,6 @@ private: TQString name; TQPixmap pix; TQString field; - TQ_DUMMY_COMPARISON_OPERATOR( Field ) }; struct SqlWidgetConnection @@ -197,7 +196,6 @@ private: TQString conn; TQString table; TQMap<TQString, TQString> *dbControls; - TQ_DUMMY_COMPARISON_OPERATOR( SqlWidgetConnection ) }; TQValueList<Image> images; |
