diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2017-01-11 15:03:06 +0100 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2017-01-11 15:03:06 +0100 |
commit | 0d4300659b570819e25118c093872c659e285988 (patch) | |
tree | 3e0759a7a5595759c802d32fbd92306180f5954f /src/storemodel.h | |
parent | d6eb88d0529b2cefb11f1e3f356719a98231cefa (diff) |
Housekeeping
Diffstat (limited to 'src/storemodel.h')
-rw-r--r-- | src/storemodel.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/storemodel.h b/src/storemodel.h index 6f3b2bda..e92b518d 100644 --- a/src/storemodel.h +++ b/src/storemodel.h @@ -1,12 +1,12 @@ #ifndef STOREMODEL_H_ #define STOREMODEL_H_ +#include "util.h" +#include <QDataStream> #include <QFileSystemModel> #include <QRegExp> #include <QSortFilterProxyModel> #include <QStringListModel> -#include "util.h" -#include <QDataStream> #include <qtpasssettings.h> /*! @@ -19,7 +19,6 @@ private: QFileSystemModel *fs; QString store; - public: StoreModel(); @@ -35,17 +34,20 @@ public: Qt::ItemFlags flags(const QModelIndex &index) const; QStringList mimeTypes() const; QMimeData *mimeData(const QModelIndexList &indexes) const; - bool canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const; - bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); + bool canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, + int column, const QModelIndex &parent) const; + bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, + int column, const QModelIndex &parent); }; /*! \struct dragAndDropInfo - \brief holds values to share beetween drag and drop on the passwordstorage view + \brief holds values to share beetween drag and drop on the passwordstorage + view */ struct dragAndDropInfoPasswordStore { - bool isDir; - bool isFile; - QString path; + bool isDir; + bool isFile; + QString path; }; #endif // STOREMODEL_H_ |