Fix inadvertent tqt changes.

pull/16/head
Darrell Anderson 12 years ago
parent 481457e585
commit 5d9a593c1f

@ -35,7 +35,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <stdio.h> #include <stdio.h>
/** /**
$QTDIR/bin/tqmoc testdcop.cpp -o testdcop.moc $QTDIR/bin/moc testdcop.cpp -o testdcop.moc
g++ -o testdcop testdcop.cpp -I$QTDIR/include -L$QTDIR/lib g++ -o testdcop testdcop.cpp -I$QTDIR/include -L$QTDIR/lib
@internal @internal

@ -231,7 +231,7 @@ protected slots:
#ifndef NO_SMOOTH_SCROLL_HACK #ifndef NO_SMOOTH_SCROLL_HACK
void scrollTick(); void scrollTick();
#else #else
void scrollTick() {}; // tqmoc cannot handle #if void scrollTick() {}; // moc cannot handle #if
#endif #endif
private slots: private slots:

@ -281,7 +281,7 @@ class TDECORE_EXPORT kdbgstream {
; ;
/** Operator to print out basic information about a TQWidget. /** Operator to print out basic information about a TQWidget.
* Output of class names only works if the class is tqmoc'ified. * Output of class names only works if the class is moc'ified.
* @param widget the widget to print * @param widget the widget to print
* @return this stream * @return this stream
*/ */

@ -67,7 +67,7 @@
#endif /*_KDELIBS_EXPORT_H*/ #endif /*_KDELIBS_EXPORT_H*/
/* workaround for tdecore: stupid tqmoc's grammar doesn't accept two macros /* workaround for tdecore: stupid moc's grammar doesn't accept two macros
between 'class' keyword and <classname>: */ between 'class' keyword and <classname>: */
#ifdef KDE_DEPRECATED #ifdef KDE_DEPRECATED
# ifndef TDECORE_EXPORT_DEPRECATED # ifndef TDECORE_EXPORT_DEPRECATED

@ -67,7 +67,7 @@ class TDEUI_EXPORT KArrowButton : public TQPushButton
*/ */
Qt::ArrowType arrowType() const; Qt::ArrowType arrowType() const;
// hacks for tqmoc braindamages with enums // hacks for moc braindamages with enums
int arrowTp() const { return (int) arrowType(); } int arrowTp() const { return (int) arrowType(); }
void setArrowTp( int tp ) { setArrowType( (Qt::ArrowType) tp ); } void setArrowTp( int tp ) { setArrowType( (Qt::ArrowType) tp ); }
public slots: public slots:

@ -876,7 +876,7 @@ public:
int precision() const; int precision() const;
/** Equivalent to setPrecision( @p precision, @p false ); Needed /** Equivalent to setPrecision( @p precision, @p false ); Needed
since Qt's tqmoc doesn't ignore trailing parameters with default since Qt's moc doesn't ignore trailing parameters with default
args when searching for a property setter method. */ args when searching for a property setter method. */
void setPrecision( int precision ); void setPrecision( int precision );

Loading…
Cancel
Save