summaryrefslogtreecommitdiffstats
path: root/noatun/modules/voiceprint
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/voiceprint')
-rw-r--r--noatun/modules/voiceprint/prefs.cpp2
-rw-r--r--noatun/modules/voiceprint/voiceprint.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/noatun/modules/voiceprint/prefs.cpp b/noatun/modules/voiceprint/prefs.cpp
index b90d4b03..7d772c5b 100644
--- a/noatun/modules/voiceprint/prefs.cpp
+++ b/noatun/modules/voiceprint/prefs.cpp
@@ -4,7 +4,7 @@
#include <klocale.h>
#include <kglobal.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kcolorbutton.h>
#include <kconfig.h>
diff --git a/noatun/modules/voiceprint/voiceprint.cpp b/noatun/modules/voiceprint/voiceprint.cpp
index 234aafd0..0cfcb264 100644
--- a/noatun/modules/voiceprint/voiceprint.cpp
+++ b/noatun/modules/voiceprint/voiceprint.cpp
@@ -113,12 +113,12 @@ void VoicePrint::scopeEvent(float *data, int bands)
// redraw changes with the minimum amount of work
if(newOffset != 0)
{
- tqrepaint(mOffset,0,mSegmentWidth*2,height(),false);
+ repaint(mOffset,0,mSegmentWidth*2,height(),false);
}
else
{
- tqrepaint(mOffset,0,mSegmentWidth,height(),false);
- tqrepaint(newOffset,0,mSegmentWidth,height(),false);
+ repaint(mOffset,0,mSegmentWidth,height(),false);
+ repaint(newOffset,0,mSegmentWidth,height(),false);
}
mOffset = newOffset;
}