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 @@ updateConfigDialogLists( const QStringList & supportedFileTypes ) - buildDestination( const QString & format, const MetaBundle & mb ) const - cleanPath( const QString & component ) const + buildDestination( const QString & format, const MetaBundle & mb ) + cleanPath( const QString & component ) setDevice( GenericMediaDevice * device ) - buildFormatTip() const + buildFormatTip() init() destroy() 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 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 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 @@ slotDetails() - buildDestination( const QString & format, const MetaBundle & mb ) const - buildFormatTip() const - buildFormatString() const + buildDestination( const QString & format, const MetaBundle & mb ) + buildFormatTip() + buildFormatString() setPreviewBundle( const MetaBundle & bundle ) - cleanPath( const QString & component ) const + cleanPath( const QString & component ) init() 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 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;