From 17fa0266197f917cbedd25e957c0a4e0922adb78 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 14 Feb 2012 21:12:05 -0600 Subject: [PATCH] Update various qt function definitions and static methods for tqt3 --- acinclude.m4 | 12 ++++++------ src/replaygainscanner.cpp | 2 +- src/soundkonverter.cpp | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index a844011..5ead3b1 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1104,7 +1104,7 @@ EOF if test $kde_qtsubver -gt 0; then cat >> conftest.$ac_ext <exec() ) { emit addDir( dialog->directory, dialog->selectedFileTypes, dialog->recursive ); diff --git a/src/soundkonverter.cpp b/src/soundkonverter.cpp index dd7dcd9..61e3561 100755 --- a/src/soundkonverter.cpp +++ b/src/soundkonverter.cpp @@ -347,7 +347,7 @@ void soundKonverter::openArgFiles( const TQStringList &files ) TQT_TQOBJECT(fileList), TQT_SLOT(addFiles(TQStringList)) ); - Q_CHECK_PTR( dialog ); + TQ_CHECK_PTR( dialog ); if( profile != "" ) { dialog->setProfile( profile ); @@ -511,7 +511,7 @@ void soundKonverter::showDirDialog() DirDialog *dialog = new DirDialog( config, DirDialog::Convert, this, "DirDialog" ); - Q_CHECK_PTR( dialog ); + TQ_CHECK_PTR( dialog ); if( dialog->exec() ) { fileList->addDir( dialog->directory, dialog->selectedFileTypes, dialog->recursive ); @@ -535,7 +535,7 @@ void soundKonverter::showCdDialog( bool intern ) // TQT_TQOBJECT(fileList), TQT_SLOT(addFiles(TQStringList)) // ); - Q_CHECK_PTR( dialog ); + TQ_CHECK_PTR( dialog ); if( profile != "" ) { dialog->setProfile( profile ); @@ -590,7 +590,7 @@ void soundKonverter::showCdDialog( bool intern ) device = ""; - Q_CHECK_PTR( dialog ); + TQ_CHECK_PTR( dialog ); if( !dialog->noCD ) { @@ -696,7 +696,7 @@ void soundKonverter::showConfigDialog() { ConfigDialog *dialog = new ConfigDialog( config, this, "ConfigDialog", ConfigDialog::Page(configStartPage) ); - Q_CHECK_PTR( dialog ); + TQ_CHECK_PTR( dialog ); //dialog->setGeometry( frameGeometry() ); dialog->resize( size() ); @@ -724,7 +724,7 @@ void soundKonverter::showConfigEnvironmentPage() // { // AboutPlugins *dialog = new AboutPlugins( config, this, "AboutPlugins" ); // -// Q_CHECK_PTR( dialog ); +// TQ_CHECK_PTR( dialog ); // // dialog->exec(); //