summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/segmentcanvas/AudioPreviewPainter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/segment/segmentcanvas/AudioPreviewPainter.cpp')
-rw-r--r--src/gui/editors/segment/segmentcanvas/AudioPreviewPainter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/editors/segment/segmentcanvas/AudioPreviewPainter.cpp b/src/gui/editors/segment/segmentcanvas/AudioPreviewPainter.cpp
index 1b982dc..b0d3f3b 100644
--- a/src/gui/editors/segment/segmentcanvas/AudioPreviewPainter.cpp
+++ b/src/gui/editors/segment/segmentcanvas/AudioPreviewPainter.cpp
@@ -34,8 +34,8 @@
#include "misc/Debug.h"
#include "document/ConfigGroups.h"
-#include <qimage.h>
-#include <qapplication.h>
+#include <tqimage.h>
+#include <tqapplication.h>
#include <kapp.h>
#include <kconfig.h>
@@ -57,7 +57,7 @@ AudioPreviewPainter::AudioPreviewPainter(CompositionModelImpl& model,
{
int pixWidth = std::min(m_rect.getBaseWidth(), tileWidth());
- m_image = QImage(pixWidth, m_rect.height(), 8, 4);
+ m_image = TQImage(pixWidth, m_rect.height(), 8, 4);
m_image.setAlphaBuffer(true);
m_penWidth = (std::max(1U, m_rect.getPen().width()) * 2);
@@ -67,7 +67,7 @@ AudioPreviewPainter::AudioPreviewPainter(CompositionModelImpl& model,
int AudioPreviewPainter::tileWidth()
{
static int tw = -1;
- if (tw == -1) tw = QApplication::desktop()->width();
+ if (tw == -1) tw = TQApplication::desktop()->width();
return tw;
}
@@ -294,7 +294,7 @@ void AudioPreviewPainter::finalizeCurrentSlice()
m_image.setColor(0, qRgba(255, 255, 255, 0));
// foreground from computeSegmentPreviewColor
- QColor c = m_model.computeSegmentPreviewColor(m_segment);
+ TQColor c = m_model.computeSegmentPreviewColor(m_segment);
QRgb rgba = qRgba(c.red(), c.green(), c.blue(), 255);
m_image.setColor(1, rgba);