diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
commit | f7e71d47719ab6094cf4a9fafffa5ea351973522 (patch) | |
tree | 30834aa632d442019e14f88685001d94657d060b /kdeui/kcursor.cpp | |
parent | b31cfd9a1ee986fe2ae9a693f3afd7f171dd897c (diff) | |
download | tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.tar.gz tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.zip |
Initial conversion for TQt for Qt4 3.4.0 TP2
This will also compile with TQt for Qt3, and should not cause any problems
with dependent modules such as kdebase. If it does then it needs to be fixed!
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kcursor.cpp')
-rw-r--r-- | kdeui/kcursor.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kdeui/kcursor.cpp b/kdeui/kcursor.cpp index 02f8723f5..0ee90bb1e 100644 --- a/kdeui/kcursor.cpp +++ b/kdeui/kcursor.cpp @@ -145,72 +145,72 @@ TQCursor KCursor::workingCursor() */ TQCursor KCursor::arrowCursor() { - return Qt::arrowCursor; + return tqarrowCursor; } TQCursor KCursor::upArrowCursor() { - return Qt::upArrowCursor; + return tqupArrowCursor; } TQCursor KCursor::crossCursor() { - return Qt::crossCursor; + return tqcrossCursor; } TQCursor KCursor::waitCursor() { - return Qt::waitCursor; + return tqwaitCursor; } TQCursor KCursor::ibeamCursor() { - return Qt::ibeamCursor; + return tqibeamCursor; } TQCursor KCursor::sizeVerCursor() { - return Qt::sizeVerCursor; + return tqsizeVerCursor; } TQCursor KCursor::sizeHorCursor() { - return Qt::sizeHorCursor; + return tqsizeHorCursor; } TQCursor KCursor::sizeBDiagCursor() { - return Qt::sizeBDiagCursor; + return tqsizeBDiagCursor; } TQCursor KCursor::sizeFDiagCursor() { - return Qt::sizeFDiagCursor; + return tqsizeFDiagCursor; } TQCursor KCursor::sizeAllCursor() { - return Qt::sizeAllCursor; + return tqsizeAllCursor; } TQCursor KCursor::blankCursor() { - return Qt::blankCursor; + return tqblankCursor; } TQCursor KCursor::whatsThisCursor() { - return Qt::whatsThisCursor; + return tqwhatsThisCursor; } // auto-hide cursor stuff @@ -317,7 +317,7 @@ TQWidget* KCursorPrivateAutoHideEventFilter::actualWidget() const bool KCursorPrivateAutoHideEventFilter::eventFilter( TQObject *o, TQEvent *e ) { - Q_ASSERT( o == m_widget ); + Q_ASSERT( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_widget) ); switch ( e->type() ) { @@ -370,9 +370,9 @@ KCursorPrivate::KCursorPrivate() hideCursorDelay = 5000; // 5s default value KConfig *kc = KGlobal::config(); - KConfigGroupSaver ks( kc, TQString::fromLatin1("KDE") ); + KConfigGroupSaver ks( kc, TQString::tqfromLatin1("KDE") ); enabled = kc->readBoolEntry( - TQString::fromLatin1("Autohiding cursor enabled"), true ); + TQString::tqfromLatin1("Autohiding cursor enabled"), true ); } KCursorPrivate::~KCursorPrivate() @@ -386,7 +386,7 @@ void KCursorPrivate::setAutoHideCursor( TQWidget *w, bool enable, bool customEve if ( enable ) { - if ( m_eventFilters.find( w ) != NULL ) + if ( m_eventFilters.tqfind( w ) != NULL ) return; KCursorPrivateAutoHideEventFilter* filter = new KCursorPrivateAutoHideEventFilter( w ); m_eventFilters.insert( w, filter ); @@ -412,7 +412,7 @@ bool KCursorPrivate::eventFilter( TQObject *o, TQEvent *e ) if ( !enabled ) return false; - KCursorPrivateAutoHideEventFilter* filter = m_eventFilters.find( o ); + KCursorPrivateAutoHideEventFilter* filter = m_eventFilters.tqfind( o ); Q_ASSERT( filter != NULL ); if ( filter == NULL ) |