Guitar
RepositoryInfo.h
Go to the documentation of this file.
1 #ifndef REPOSITORYINFO_H
2 #define REPOSITORYINFO_H
3 
4 #include <QList>
5 #include <QMetaType>
6 
7 struct RepositoryInfo {
8  QString name;
9  QString group;
10  QString local_dir;
11  QString ssh_key;
12 };
13 Q_DECLARE_METATYPE(RepositoryInfo)
14 
16 public:
17  RepositoryBookmark() = default;
18  static bool save(QString const &path, QList<RepositoryInfo> const *items);
19  static QList<RepositoryInfo> load(QString const &path);
20 };
21 
22 #endif // REPOSITORYINFO_H
Definition: RepositoryInfo.h:15
RepositoryBookmark()=default
Definition: RepositoryInfo.h:7
QString name
Definition: RepositoryInfo.h:8
QString ssh_key
Definition: RepositoryInfo.h:11
QString group
Definition: RepositoryInfo.h:9
QString local_dir
Definition: RepositoryInfo.h:10