summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/CountdownBar.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/dialogs/CountdownBar.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/dialogs/CountdownBar.cpp')
-rw-r--r--src/gui/dialogs/CountdownBar.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/dialogs/CountdownBar.cpp b/src/gui/dialogs/CountdownBar.cpp
index cfad3d8..8d4d0b8 100644
--- a/src/gui/dialogs/CountdownBar.cpp
+++ b/src/gui/dialogs/CountdownBar.cpp
@@ -26,25 +26,25 @@
#include "CountdownBar.h"
#include "gui/general/GUIPalette.h"
-#include <qframe.h>
-#include <qpainter.h>
-#include <qwidget.h>
+#include <tqframe.h>
+#include <tqpainter.h>
+#include <tqwidget.h>
namespace Rosegarden
{
-CountdownBar::CountdownBar(QWidget *parent, int width, int height):
- QFrame(parent), m_width(width), m_height(height), m_position(0)
+CountdownBar::CountdownBar(TQWidget *parent, int width, int height):
+ TQFrame(parent), m_width(width), m_height(height), m_position(0)
{
resize(m_width, m_height);
repaint();
}
void
-CountdownBar::paintEvent(QPaintEvent *e)
+CountdownBar::paintEvent(TQPaintEvent *e)
{
- QPainter p(this);
+ TQPainter p(this);
p.setClipRegion(e->region());
p.setClipRect(e->rect().normalize());