summaryrefslogtreecommitdiffstats
path: root/akregator/src/kcursorsaver.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /akregator/src/kcursorsaver.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'akregator/src/kcursorsaver.h')
-rw-r--r--akregator/src/kcursorsaver.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/akregator/src/kcursorsaver.h b/akregator/src/kcursorsaver.h
index c77a7377b..50e49aa87 100644
--- a/akregator/src/kcursorsaver.h
+++ b/akregator/src/kcursorsaver.h
@@ -3,8 +3,8 @@
#ifndef kcursorsaver_h
#define kcursorsaver_h
-#include <qcursor.h>
-#include <qapplication.h>
+#include <tqcursor.h>
+#include <tqapplication.h>
namespace Akregator {
@@ -17,9 +17,9 @@ namespace Akregator {
class KCursorSaver : public Qt
{
public:
- /// constructor taking QCursor shapes
+ /// constructor taking TQCursor shapes
KCursorSaver(Qt::CursorShape shape) {
- QApplication::setOverrideCursor( QCursor(shape) );
+ TQApplication::setOverrideCursor( TQCursor(shape) );
inited = true;
}
@@ -31,12 +31,12 @@ public:
/// restore the cursor
~KCursorSaver() {
if (inited)
- QApplication::restoreOverrideCursor();
+ TQApplication::restoreOverrideCursor();
}
/// call this to explitly restore the cursor
inline void restoreCursor(void) {
- QApplication::restoreOverrideCursor();
+ TQApplication::restoreOverrideCursor();
inited = false;
}
@@ -55,10 +55,10 @@ private:
*/
namespace KBusyPtr {
inline KCursorSaver idle() {
- return KCursorSaver(QCursor::ArrowCursor);
+ return KCursorSaver(TQCursor::ArrowCursor);
}
inline KCursorSaver busy() {
- return KCursorSaver(QCursor::WaitCursor);
+ return KCursorSaver(TQCursor::WaitCursor);
}
}