summaryrefslogtreecommitdiffstats
path: root/src/kviewmpeg2.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-02 11:37:17 +0900
committerMichele Calgaro <[email protected]>2024-01-02 11:37:17 +0900
commit29a878ff9db7fe75caae6f8cebaad3b3afea3f7b (patch)
treeca4224837785c00381c5df7f35b0a5add7b3b335 /src/kviewmpeg2.cpp
parenteac40c1e0b1d008d4e2ec36c6fcfd1a7f2ad3bf5 (diff)
downloadk9copy-29a878ff9db7fe75caae6f8cebaad3b3afea3f7b.tar.gz
k9copy-29a878ff9db7fe75caae6f8cebaad3b3afea3f7b.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kviewmpeg2.cpp')
-rw-r--r--src/kviewmpeg2.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kviewmpeg2.cpp b/src/kviewmpeg2.cpp
index 7f369a1..b0946dc 100644
--- a/src/kviewmpeg2.cpp
+++ b/src/kviewmpeg2.cpp
@@ -82,9 +82,9 @@ kViewMPEG2::kViewMPEG2() {
m_layout=NULL;
bPlay->setPixmap(SmallIcon("media-playback-start"));
bStop->setPixmap(SmallIcon("media-playback-stop"));
- connect(&m_player , TQT_SIGNAL(setPosition(uint32_t)), this, TQT_SLOT(setPosition(uint32_t)));
- connect(&m_player , TQT_SIGNAL(setMax(uint32_t)), this, TQT_SLOT(setMax(uint32_t)));
- connect(&m_player , TQT_SIGNAL(setMin(uint32_t)), this, TQT_SLOT(setMin(uint32_t)));
+ connect(&m_player , TQ_SIGNAL(setPosition(uint32_t)), this, TQ_SLOT(setPosition(uint32_t)));
+ connect(&m_player , TQ_SIGNAL(setMax(uint32_t)), this, TQ_SLOT(setMax(uint32_t)));
+ connect(&m_player , TQ_SIGNAL(setMin(uint32_t)), this, TQ_SLOT(setMin(uint32_t)));
lockSlider=false;
stopped=true;
@@ -103,7 +103,7 @@ kViewMPEG2::kViewMPEG2() {
}
m_player.getDecoder()->setUseGL(m_prefUseGL);
if (m_prefUseGL) {
- connect(m_player.getDecoder() , TQT_SIGNAL(ppmReady(uchar *,int,int,int)), this, TQT_SLOT(drawppm(uchar *,int,int,int)));
+ connect(m_player.getDecoder() , TQ_SIGNAL(ppmReady(uchar *,int,int,int)), this, TQ_SLOT(drawppm(uchar *,int,int,int)));
m_GLwidget= k9GLWidget::createWidget(label);
m_widget=NULL;
@@ -115,7 +115,7 @@ kViewMPEG2::kViewMPEG2() {
config.save();
} else {
- connect(m_player.getDecoder() , TQT_SIGNAL(pixmapReady(TQImage *)), this, TQT_SLOT(drawPixmap(TQImage *)));
+ connect(m_player.getDecoder() , TQ_SIGNAL(pixmapReady(TQImage *)), this, TQ_SLOT(drawPixmap(TQImage *)));
m_widget=new k9Widget(label);
m_layout->addWidget(m_widget,0,0);