From bc28f1332bbbf9bad49bbad6fd01ef03b4ab99b9 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 9 Feb 2012 19:10:54 +0000 Subject: refactoring: add QmmpUiSettings class, removed deprecated code git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2588 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/playlistmanager.h | 42 ------------------------------------------ 1 file changed, 42 deletions(-) (limited to 'src/qmmpui/playlistmanager.h') diff --git a/src/qmmpui/playlistmanager.h b/src/qmmpui/playlistmanager.h index 150964428..16bf5a7c6 100644 --- a/src/qmmpui/playlistmanager.h +++ b/src/qmmpui/playlistmanager.h @@ -80,42 +80,6 @@ public: * \b i must be a valid index position in the list (i.e., 0 <= i < count()). */ PlayListModel *playListAt(int i) const; - /*! - * Returns state of the "Convert underscores to blanks" option (\b true - enabled, \b false - disabled). - */ - bool convertUnderscore() const; - /*! - * Returns state of the "Convert %20 to blanks" option (\b true - enabled, \b false - disabled). - */ - bool convertTwenty() const; - /*! - * Returns the state of metadata usage (\b true - use, \b false - not use). - */ - bool useMetadata() const; - /*! - * Returns title format string. - */ - const QString format() const; - /*! - * Sets the "Convert underscores to blanks" option state to \b enabled - * @param enabled Option state (\b true - enabled, \b false - disabled) - */ - void setConvertUnderscore(bool enabled); - /*! - * Sets the "Convert %20 to blanks" option state to \b enabled - * @param enabled Option state (\b true - enabled, \b false - disabled) - */ - void setConvertTwenty(bool enabled); - /*! - * Sets metadata usage option state to \b enabled - * @param enabled Option state (\b true - enabled, \b false - disabled) - */ - void setUseMetadata(bool enabled); - /*! - * Sets short title template. - * @param format title template. \sa MetaDataFormatter - */ - void setFormat(const QString &format); /*! * Returns state of "Repeat All" option. */ @@ -125,7 +89,6 @@ public: */ bool isShuffle() const; - signals: /*! * Emitted when current playlist changes. @@ -165,10 +128,6 @@ signals: * @param state New state of the "Shuffle" option (\b true - enabled, \b false disabled) */ void shuffleChanged(bool state); - /*! - * Emitted when other settings (format, metadata, etc) have changed. - */ - void settingsChanged(); public slots: /*! @@ -298,7 +257,6 @@ public slots: */ void stopAfterSelected(); - private: void readPlayLists(); void writePlayLists(); -- cgit v1.2.3-13-gbd6f