From 29a878ff9db7fe75caae6f8cebaad3b3afea3f7b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 2 Jan 2024 11:37:17 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/kviewmpeg2.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/kviewmpeg2.cpp') 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); -- cgit v1.2.1