diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-09 19:12:21 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-09 19:12:21 +0900 |
commit | 59999a5ad2e7a43bba88d4d25ef970c2fbc575f0 (patch) | |
tree | a7bd90575f42faec41c75058e1a14b73b808973f /src/__TODO/AboutDialogGraphicsView.cpp | |
parent | fbbe9cf4e456b0e045d43979ecd4dd620e4183fe (diff) | |
download | universal-indent-gui-tqt-59999a5ad2e7a43bba88d4d25ef970c2fbc575f0.tar.gz universal-indent-gui-tqt-59999a5ad2e7a43bba88d4d25ef970c2fbc575f0.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/__TODO/AboutDialogGraphicsView.cpp')
-rw-r--r-- | src/__TODO/AboutDialogGraphicsView.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/__TODO/AboutDialogGraphicsView.cpp b/src/__TODO/AboutDialogGraphicsView.cpp index b9b527b..1a6a7ea 100644 --- a/src/__TODO/AboutDialogGraphicsView.cpp +++ b/src/__TODO/AboutDialogGraphicsView.cpp @@ -74,7 +74,7 @@ AboutDialogGraphicsView::AboutDialogGraphicsView(AboutDialog *aboutDialog, TQWid setCacheMode(TQGraphicsView::CacheBackground); setViewportUpdateMode(TQGraphicsView::BoundingRectViewportUpdate); - connect(_aboutDialog, SIGNAL(finished(int)), this, SLOT(hide())); + connect(_aboutDialog, TQ_SIGNAL(finished(int)), this, TQ_SLOT(hide())); //setWindowOpacity(0.9); @@ -86,7 +86,7 @@ AboutDialogGraphicsView::AboutDialogGraphicsView(AboutDialog *aboutDialog, TQWid _timeLine->setFrameRange(270, 0); //_timeLine->setUpdateInterval(10); //_timeLine->setCurveShape(TQTimeLine::EaseInCurve); - connect(_timeLine, SIGNAL(frameChanged(int)), this, SLOT(updateStep(int))); + connect(_timeLine, TQ_SIGNAL(frameChanged(int)), this, TQ_SLOT(updateStep(int))); } AboutDialogGraphicsView::~AboutDialogGraphicsView(void) @@ -150,7 +150,7 @@ void AboutDialogGraphicsView::show() //_aboutDialogAsSplashScreen->show(); TQGraphicsView::show(); - connect(_timeLine, SIGNAL(finished()), this, SLOT(showAboutDialog())); + connect(_timeLine, TQ_SIGNAL(finished()), this, TQ_SLOT(showAboutDialog())); _timeLine->setDirection(TQTimeLine::Forward); _timeLine->start(); } @@ -176,7 +176,7 @@ void AboutDialogGraphicsView::updateStep(int step) void AboutDialogGraphicsView::showAboutDialog() { //hide(); - disconnect(_timeLine, SIGNAL(finished()), this, SLOT(showAboutDialog())); + disconnect(_timeLine, TQ_SIGNAL(finished()), this, TQ_SLOT(showAboutDialog())); _aboutDialog->move(int(_parentWindow->geometry().x() + (_parentWindow->geometry().width() - _graphicsProxyWidget->geometry().width()) / 2), _parentWindow->y() + _windowTitleBarWidth - _windowPosOffset); @@ -204,7 +204,7 @@ void AboutDialogGraphicsView::hide() //_aboutDialogAsSplashScreen->show(); TQGraphicsView::show(); - connect(_timeLine, SIGNAL(finished()), this, SLOT(hideReally())); + connect(_timeLine, TQ_SIGNAL(finished()), this, TQ_SLOT(hideReally())); _timeLine->setDirection(TQTimeLine::Backward); _timeLine->start(); } @@ -214,7 +214,7 @@ void AboutDialogGraphicsView::hide() */ void AboutDialogGraphicsView::hideReally() { - disconnect(_timeLine, SIGNAL(finished()), this, SLOT(hideReally())); + disconnect(_timeLine, TQ_SIGNAL(finished()), this, TQ_SLOT(hideReally())); TQGraphicsView::hide(); _parentWindow->activateWindow(); } |