inc/mpsettingsmanager.h
changeset 37 eb79a7c355bf
parent 35 fdb31ab341af
equal deleted inserted replaced
36:a0afa279b8fe 37:eb79a7c355bf
    44     static bool shuffle();
    44     static bool shuffle();
    45     static bool repeat();
    45     static bool repeat();
    46     static int preset();
    46     static int preset();
    47     static bool inspireMe();
    47     static bool inspireMe();
    48     static bool songDetailsGb();
    48     static bool songDetailsGb();
       
    49     static bool showMtpInfo();
       
    50     static QString mtpInfoUrl();
    49 
    51 
    50 public slots:
    52 public slots:
    51     void valueChanged(const XQSettingsKey& key, const QVariant& value);
    53     void valueChanged(const XQSettingsKey& key, const QVariant& value);
    52     static void setShuffle(bool shuffle);
    54     static void setShuffle(bool shuffle);
    53     static void setRepeat(bool repeat);
    55     static void setRepeat(bool repeat);
    54     static void setPreset(int preset);
    56     static void setPreset(int preset);
    55     static void setInspireMe(bool inspireme);
    57     static void setInspireMe(bool inspireme);
    56     static void setSongDetailsGb(bool songdetails);
    58     static void setSongDetailsGb(bool songdetails);
       
    59     static void stopShowingMtpInfo();
    57         
    60         
    58 signals:
    61 signals:
    59     void shuffleChanged(bool shuffle);
    62     void shuffleChanged(bool shuffle);
    60     void repeatChanged(bool repeat);
    63     void repeatChanged(bool repeat);
    61     void presetChanged(int preset);
    64     void presetChanged(int preset);
    63     void SongDetailsGbChanged(bool songdetails);
    66     void SongDetailsGbChanged(bool songdetails);
    64     
    67     
    65 private:
    68 private:
    66     Q_DISABLE_COPY(MpSettingsManager)
    69     Q_DISABLE_COPY(MpSettingsManager)
    67     XQSettingsManager* mSettingsManager;
    70     XQSettingsManager* mSettingsManager;
    68     bool mFirstStartup;
    71     bool        mFirstStartup;
    69     bool mShuffle;
    72     bool        mShuffle;
    70     bool mRepeat;
    73     bool        mRepeat;
    71     int  mPreset;
    74     int         mPreset;
    72     bool mInspireMe;
    75     bool        mInspireMe;
    73     bool mSongDetailsGb;
    76     bool        mSongDetailsGb;
       
    77     bool        mShowMtpInfo;
       
    78     QString     mMtpInfoUrl;
    74 };
    79 };
    75 
    80 
    76 #endif    // MPSETTINGSMANAGER_H
    81 #endif    // MPSETTINGSMANAGER_H