summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/TimerCallbackAssistant.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/studio/TimerCallbackAssistant.cpp
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/studio/TimerCallbackAssistant.cpp')
-rw-r--r--src/gui/studio/TimerCallbackAssistant.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/studio/TimerCallbackAssistant.cpp b/src/gui/studio/TimerCallbackAssistant.cpp
index ec8518c..7b2bc76 100644
--- a/src/gui/studio/TimerCallbackAssistant.cpp
+++ b/src/gui/studio/TimerCallbackAssistant.cpp
@@ -25,8 +25,8 @@
#include "TimerCallbackAssistant.h"
-#include <qobject.h>
-#include <qtimer.h>
+#include <tqobject.h>
+#include <tqtimer.h>
namespace Rosegarden
@@ -37,14 +37,14 @@ TimerCallbackAssistant::TimerCallbackAssistant(int ms, void (*callback)(void *da
m_callback(callback),
m_data(data)
{
- QTimer *timer = new QTimer(this);
- connect(timer, SIGNAL(timeout()), this, SLOT(slotCallback()));
+ TQTimer *timer = new TQTimer(this);
+ connect(timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotCallback()));
timer->start(ms, FALSE);
}
TimerCallbackAssistant::~TimerCallbackAssistant()
{
- // nothing -- the QTimer is deleted automatically by its parent QObject (me)
+ // nothing -- the TQTimer is deleted automatically by its parent TQObject (me)
}
void