diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-03-12 19:12:05 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-03-12 19:12:05 +0000 |
commit | d2ca745d50741414e157d9bace9cab2e37ba19f9 (patch) | |
tree | d012bdda9299ce51d3b41081352a9d715bbb2775 | |
parent | 2a98648e2c89cbb1265f842903c6370e71f544ae (diff) | |
download | amarok-d2ca745d50741414e157d9bace9cab2e37ba19f9.tar.gz amarok-d2ca745d50741414e157d9bace9cab2e37ba19f9.zip |
[applications/amarok] hack which allow uic3 generated code to be compiled with gcc 4.5
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1224609 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r-- | amarok/src/collectiondb.cpp | 2 | ||||
-rw-r--r-- | amarok/src/collectiondb.h | 2 | ||||
-rw-r--r-- | amarok/src/mediadevice/generic/genericmediadeviceconfigdialog.ui | 6 | ||||
-rw-r--r-- | amarok/src/mediadevice/generic/genericmediadeviceconfigdialog.ui.h | 6 | ||||
-rw-r--r-- | amarok/src/organizecollectiondialog.ui | 8 | ||||
-rw-r--r-- | amarok/src/organizecollectiondialog.ui.h | 8 |
6 files changed, 16 insertions, 16 deletions
diff --git a/amarok/src/collectiondb.cpp b/amarok/src/collectiondb.cpp index a1bcd0fc..1db531e7 100644 --- a/amarok/src/collectiondb.cpp +++ b/amarok/src/collectiondb.cpp @@ -3985,7 +3985,7 @@ void CollectionDB::cancelMovingFileJob() } bool -CollectionDB::organizeFile( const KURL &src, const OrganizeCollectionDialog &dialog, bool copy ) +CollectionDB::organizeFile( const KURL &src, OrganizeCollectionDialog &dialog, bool copy ) { if( !MetaBundle::isKioUrl( src ) ) return false; diff --git a/amarok/src/collectiondb.h b/amarok/src/collectiondb.h index 816c8eca..ab38b6cb 100644 --- a/amarok/src/collectiondb.h +++ b/amarok/src/collectiondb.h @@ -389,7 +389,7 @@ class LIBAMAROK_EXPORT CollectionDB : public TQObject, public EngineObserver TQDateTime getLastPlay( const TQString &url ); void migrateFile( const TQString &oldURL, const TQString &newURL ); bool moveFile( const TQString &src, const TQString &dest, bool overwrite, bool copy = false ); - bool organizeFile( const KURL &src, const OrganizeCollectionDialog &dialog, bool copy ); + bool organizeFile( const KURL &src, OrganizeCollectionDialog &dialog, bool copy ); //artist methods TQStringList similarArtists( const TQString &artist, uint count ); diff --git a/amarok/src/mediadevice/generic/genericmediadeviceconfigdialog.ui b/amarok/src/mediadevice/generic/genericmediadeviceconfigdialog.ui index 9782071a..d6e28e2f 100644 --- a/amarok/src/mediadevice/generic/genericmediadeviceconfigdialog.ui +++ b/amarok/src/mediadevice/generic/genericmediadeviceconfigdialog.ui @@ -449,10 +449,10 @@ </slots> <functions> <function access="private" specifier="non virtual">updateConfigDialogLists( const QStringList & supportedFileTypes )</function> - <function access="private" specifier="non virtual" returnType="QString">buildDestination( const QString & format, const MetaBundle & mb ) const</function> - <function access="private" specifier="non virtual" returnType="QString">cleanPath( const QString & component ) const</function> + <function access="private" specifier="non virtual" returnType="QString">buildDestination( const QString & format, const MetaBundle & mb )</function> + <function access="private" specifier="non virtual" returnType="QString">cleanPath( const QString & component )</function> <function specifier="non virtual">setDevice( GenericMediaDevice * device )</function> - <function access="private" specifier="non virtual" returnType="QString">buildFormatTip() const</function> + <function access="private" specifier="non virtual" returnType="QString">buildFormatTip()</function> <function access="private" specifier="non virtual">init()</function> <function access="private" specifier="non virtual">destroy()</function> </functions> diff --git a/amarok/src/mediadevice/generic/genericmediadeviceconfigdialog.ui.h b/amarok/src/mediadevice/generic/genericmediadeviceconfigdialog.ui.h index 192d4fa0..78be94ba 100644 --- a/amarok/src/mediadevice/generic/genericmediadeviceconfigdialog.ui.h +++ b/amarok/src/mediadevice/generic/genericmediadeviceconfigdialog.ui.h @@ -157,7 +157,7 @@ GenericMediaDeviceConfigDialog::updateConfigDialogLists( const TQStringList & su } QString -GenericMediaDeviceConfigDialog::buildDestination( const TQString &format, const MetaBundle &mb ) const +GenericMediaDeviceConfigDialog::buildDestination( const TQString &format, const MetaBundle &mb ) { bool isCompilation = mb.compilation() > 0; TQMap<TQString, TQString> args; @@ -198,7 +198,7 @@ GenericMediaDeviceConfigDialog::buildDestination( const TQString &format, const return m_device->mountPoint() + tail.replace( TQRegExp( "/\\.*" ), "/" ); } -TQString GenericMediaDeviceConfigDialog::cleanPath( const TQString &component ) const +TQString GenericMediaDeviceConfigDialog::cleanPath( const TQString &component ) { TQString result = Amarok::cleanPath( component ); @@ -246,7 +246,7 @@ GenericMediaDeviceConfigDialog::setDevice( GenericMediaDevice* device ) } QString -GenericMediaDeviceConfigDialog::buildFormatTip() const +GenericMediaDeviceConfigDialog::buildFormatTip() { TQMap<TQString, TQString> args; for( int i = 0; i < MetaBundle::NUM_COLUMNS; i++ ) diff --git a/amarok/src/organizecollectiondialog.ui b/amarok/src/organizecollectiondialog.ui index 0466bcea..3bdb1418 100644 --- a/amarok/src/organizecollectiondialog.ui +++ b/amarok/src/organizecollectiondialog.ui @@ -578,11 +578,11 @@ <slot>slotDetails()</slot> </slots> <functions> - <function returnType="QString">buildDestination( const QString & format, const MetaBundle & mb ) const</function> - <function returnType="QString">buildFormatTip() const</function> - <function returnType="QString">buildFormatString() const</function> + <function returnType="QString">buildDestination( const QString & format, const MetaBundle & mb )</function> + <function returnType="QString">buildFormatTip()</function> + <function returnType="QString">buildFormatString()</function> <function>setPreviewBundle( const MetaBundle & bundle )</function> - <function returnType="QString">cleanPath( const QString & component ) const</function> + <function returnType="QString">cleanPath( const QString & component )</function> <function>init()</function> </functions> <layoutdefaults spacing="6" margin="0"/> diff --git a/amarok/src/organizecollectiondialog.ui.h b/amarok/src/organizecollectiondialog.ui.h index 9c8da710..3a63e13f 100644 --- a/amarok/src/organizecollectiondialog.ui.h +++ b/amarok/src/organizecollectiondialog.ui.h @@ -4,7 +4,7 @@ #include "qstringx.h" -TQString OrganizeCollectionDialog::buildDestination( const TQString &format, const MetaBundle &mb ) const +TQString OrganizeCollectionDialog::buildDestination( const TQString &format, const MetaBundle &mb ) { bool isCompilation = false; if( !mb.album().isEmpty() ) @@ -55,7 +55,7 @@ TQString OrganizeCollectionDialog::buildDestination( const TQString &format, con return result.replace( TQRegExp( "/\\.*" ), "/" ); } -TQString OrganizeCollectionDialog::buildFormatTip() const +TQString OrganizeCollectionDialog::buildFormatTip() { TQMap<TQString, TQString> args; for( int i = 0; i < MetaBundle::NUM_COLUMNS; i++ ) @@ -92,7 +92,7 @@ TQString OrganizeCollectionDialog::buildFormatTip() const } -TQString OrganizeCollectionDialog::buildFormatString() const +TQString OrganizeCollectionDialog::buildFormatString() { TQString format = "%folder/"; if( filetypeCheck->isChecked() ) @@ -131,7 +131,7 @@ void OrganizeCollectionDialog::preview( const TQString &format ) } -TQString OrganizeCollectionDialog::cleanPath( const TQString &component ) const +TQString OrganizeCollectionDialog::cleanPath( const TQString &component ) { TQString result = component; |