Warning, file /maui/mauikit-filebrowsing/src/code/syncinglist.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #ifndef SYNCINGLIST_H 0002 #define SYNCINGLIST_H 0003 0004 #include "fmh.h" 0005 #include <QObject> 0006 0007 class FM; 0008 class SyncingList : public QObject 0009 { 0010 Q_OBJECT 0011 Q_DISABLE_COPY(SyncingList) 0012 0013 public: 0014 explicit SyncingList(QObject *parent = nullptr); 0015 FMH::MODEL_LIST items() const; 0016 0017 private: 0018 FMH::MODEL_LIST list; 0019 void setList(); 0020 FM *fm; 0021 0022 protected: 0023 signals: 0024 void preItemAppended(); 0025 void postItemAppended(); 0026 void preItemRemoved(int index); 0027 void postItemRemoved(); 0028 void updateModel(int index, QVector<int> roles); 0029 void preListChanged(); 0030 void postListChanged(); 0031 0032 public slots: 0033 QVariantMap get(const int &index) const; 0034 void insert(const QVariantMap &data); 0035 void removeAccount(const QString &server, const QString &user); 0036 void removeAccountAndFiles(const QString &server, const QString &user); 0037 void refresh(); 0038 }; 0039 0040 #endif // SYNCINGLIST_H