Commit 652d6a75 authored by Laurent Montel's avatar Laurent Montel 😁

Use QHash

parent f73f8415
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <KABC/Addressee> #include <KABC/Addressee>
#include <QtCore/QMap> #include <QtCore/QHash>
/** /**
* @short The base class for all import/export modules. * @short The base class for all import/export modules.
...@@ -82,7 +82,7 @@ protected: ...@@ -82,7 +82,7 @@ protected:
private: private:
QWidget *mParentWidget; QWidget *mParentWidget;
QMap<QString, QString> mOptions; QHash<QString, QString> mOptions;
}; };
#endif #endif
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <Akonadi/Entity> #include <Akonadi/Entity>
#include <Akonadi/Collection> #include <Akonadi/Collection>
#include <QMap> #include <QHash>
#include <QModelIndex> #include <QModelIndex>
#include <QObject> #include <QObject>
...@@ -84,7 +84,7 @@ private slots: ...@@ -84,7 +84,7 @@ private slots:
private: private:
void updateShortcutsForIndex( const QModelIndex &parent, int start, int end ); void updateShortcutsForIndex( const QModelIndex &parent, int start, int end );
QMap< Akonadi::Entity::Id, FolderShortcutCommand* > mFolderShortcutCommands; QHash< Akonadi::Entity::Id, FolderShortcutCommand* > mFolderShortcutCommands;
KActionCollection *mActionCollection; KActionCollection *mActionCollection;
QWidget *mParent; QWidget *mParent;
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment