summaryrefslogtreecommitdiffstats
path: root/src/storemodel.h
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2017-01-11 15:03:06 +0100
committerAnne Jan Brouwer <brouwer@annejan.com>2017-01-11 15:03:06 +0100
commit0d4300659b570819e25118c093872c659e285988 (patch)
tree3e0759a7a5595759c802d32fbd92306180f5954f /src/storemodel.h
parentd6eb88d0529b2cefb11f1e3f356719a98231cefa (diff)
Housekeeping
Diffstat (limited to 'src/storemodel.h')
-rw-r--r--src/storemodel.h20
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_