mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-29 08:57:43 -04:00
Mark more methods as override.
This commit is contained in:
parent
ee81c7c00e
commit
9d42db9849
5 changed files with 32 additions and 32 deletions
|
@ -33,23 +33,23 @@ class AutoTypePlatformTest : public QObject,
|
||||||
Q_INTERFACES(AutoTypePlatformInterface AutoTypeTestInterface)
|
Q_INTERFACES(AutoTypePlatformInterface AutoTypeTestInterface)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QString keyToString(Qt::Key key);
|
QString keyToString(Qt::Key key) Q_DECL_OVERRIDE;
|
||||||
|
|
||||||
QStringList windowTitles();
|
QStringList windowTitles() Q_DECL_OVERRIDE;
|
||||||
WId activeWindow();
|
WId activeWindow() Q_DECL_OVERRIDE;
|
||||||
QString activeWindowTitle();
|
QString activeWindowTitle() Q_DECL_OVERRIDE;
|
||||||
bool registerGlobalShortcut(Qt::Key key, Qt::KeyboardModifiers modifiers);
|
bool registerGlobalShortcut(Qt::Key key, Qt::KeyboardModifiers modifiers) Q_DECL_OVERRIDE;
|
||||||
void unregisterGlobalShortcut(Qt::Key key, Qt::KeyboardModifiers modifiers);
|
void unregisterGlobalShortcut(Qt::Key key, Qt::KeyboardModifiers modifiers) Q_DECL_OVERRIDE;
|
||||||
int platformEventFilter(void* event);
|
int platformEventFilter(void* event) Q_DECL_OVERRIDE;
|
||||||
int initialTimeout();
|
int initialTimeout() Q_DECL_OVERRIDE;
|
||||||
bool raiseWindow(WId window);
|
bool raiseWindow(WId window) Q_DECL_OVERRIDE;
|
||||||
AutoTypeExecutor* createExecutor();
|
AutoTypeExecutor* createExecutor() Q_DECL_OVERRIDE;
|
||||||
|
|
||||||
void setActiveWindowTitle(const QString& title);
|
void setActiveWindowTitle(const QString& title) Q_DECL_OVERRIDE;
|
||||||
|
|
||||||
QString actionChars();
|
QString actionChars() Q_DECL_OVERRIDE;
|
||||||
int actionCount();
|
int actionCount() Q_DECL_OVERRIDE;
|
||||||
void clearActions();
|
void clearActions() Q_DECL_OVERRIDE;
|
||||||
|
|
||||||
void addActionChar(AutoTypeChar* action);
|
void addActionChar(AutoTypeChar* action);
|
||||||
void addActionKey(AutoTypeKey* action);
|
void addActionKey(AutoTypeKey* action);
|
||||||
|
@ -68,8 +68,8 @@ class AutoTypeExecturorTest : public AutoTypeExecutor
|
||||||
public:
|
public:
|
||||||
explicit AutoTypeExecturorTest(AutoTypePlatformTest* platform);
|
explicit AutoTypeExecturorTest(AutoTypePlatformTest* platform);
|
||||||
|
|
||||||
void execChar(AutoTypeChar* action);
|
void execChar(AutoTypeChar* action) Q_DECL_OVERRIDE;
|
||||||
void execKey(AutoTypeKey* action);
|
void execKey(AutoTypeKey* action) Q_DECL_OVERRIDE;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
AutoTypePlatformTest* const m_platform;
|
AutoTypePlatformTest* const m_platform;
|
||||||
|
|
|
@ -43,15 +43,15 @@ class AutoTypePlatformX11 : public QObject, public AutoTypePlatformInterface
|
||||||
public:
|
public:
|
||||||
AutoTypePlatformX11();
|
AutoTypePlatformX11();
|
||||||
void unload() Q_DECL_OVERRIDE;
|
void unload() Q_DECL_OVERRIDE;
|
||||||
QStringList windowTitles();
|
QStringList windowTitles() Q_DECL_OVERRIDE;
|
||||||
WId activeWindow();
|
WId activeWindow() Q_DECL_OVERRIDE;
|
||||||
QString activeWindowTitle();
|
QString activeWindowTitle() Q_DECL_OVERRIDE;
|
||||||
bool registerGlobalShortcut(Qt::Key key, Qt::KeyboardModifiers modifiers);
|
bool registerGlobalShortcut(Qt::Key key, Qt::KeyboardModifiers modifiers) Q_DECL_OVERRIDE;
|
||||||
void unregisterGlobalShortcut(Qt::Key key, Qt::KeyboardModifiers modifiers);
|
void unregisterGlobalShortcut(Qt::Key key, Qt::KeyboardModifiers modifiers) Q_DECL_OVERRIDE;
|
||||||
int platformEventFilter(void* event);
|
int platformEventFilter(void* event) Q_DECL_OVERRIDE;
|
||||||
int initialTimeout();
|
int initialTimeout() Q_DECL_OVERRIDE;
|
||||||
bool raiseWindow(WId window);
|
bool raiseWindow(WId window) Q_DECL_OVERRIDE;
|
||||||
AutoTypeExecutor* createExecutor();
|
AutoTypeExecutor* createExecutor() Q_DECL_OVERRIDE;
|
||||||
|
|
||||||
KeySym charToKeySym(const QChar& ch);
|
KeySym charToKeySym(const QChar& ch);
|
||||||
KeySym keyToKeySym(Qt::Key key);
|
KeySym keyToKeySym(Qt::Key key);
|
||||||
|
@ -122,8 +122,8 @@ class AutoTypeExecturorX11 : public AutoTypeExecutor
|
||||||
public:
|
public:
|
||||||
explicit AutoTypeExecturorX11(AutoTypePlatformX11* platform);
|
explicit AutoTypeExecturorX11(AutoTypePlatformX11* platform);
|
||||||
|
|
||||||
void execChar(AutoTypeChar* action);
|
void execChar(AutoTypeChar* action) Q_DECL_OVERRIDE;
|
||||||
void execKey(AutoTypeKey* action);
|
void execKey(AutoTypeKey* action) Q_DECL_OVERRIDE;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
AutoTypePlatformX11* const m_platform;
|
AutoTypePlatformX11* const m_platform;
|
||||||
|
|
|
@ -35,8 +35,8 @@ public:
|
||||||
QModelIndex index(Group* group) const;
|
QModelIndex index(Group* group) const;
|
||||||
Group* groupFromIndex(const QModelIndex& index) const;
|
Group* groupFromIndex(const QModelIndex& index) const;
|
||||||
|
|
||||||
int rowCount(const QModelIndex& parent = QModelIndex()) const;
|
int rowCount(const QModelIndex& parent = QModelIndex()) const Q_DECL_OVERRIDE;
|
||||||
int columnCount(const QModelIndex& parent = QModelIndex()) const;
|
int columnCount(const QModelIndex& parent = QModelIndex()) const Q_DECL_OVERRIDE;
|
||||||
QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const Q_DECL_OVERRIDE;
|
QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const Q_DECL_OVERRIDE;
|
||||||
QModelIndex parent(const QModelIndex& index) const Q_DECL_OVERRIDE;
|
QModelIndex parent(const QModelIndex& index) const Q_DECL_OVERRIDE;
|
||||||
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE;
|
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE;
|
||||||
|
|
|
@ -49,7 +49,7 @@ private Q_SLOTS:
|
||||||
void modelReset();
|
void modelReset();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void dragMoveEvent(QDragMoveEvent* event);
|
void dragMoveEvent(QDragMoveEvent* event) Q_DECL_OVERRIDE;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void recInitExpanded(Group* group);
|
void recInitExpanded(Group* group);
|
||||||
|
|
|
@ -31,8 +31,8 @@ public:
|
||||||
HashedBlockStream(QIODevice* baseDevice, qint32 blockSize);
|
HashedBlockStream(QIODevice* baseDevice, qint32 blockSize);
|
||||||
~HashedBlockStream();
|
~HashedBlockStream();
|
||||||
|
|
||||||
bool reset();
|
bool reset() Q_DECL_OVERRIDE;
|
||||||
void close();
|
void close() Q_DECL_OVERRIDE;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
qint64 readData(char* data, qint64 maxSize) Q_DECL_OVERRIDE;
|
qint64 readData(char* data, qint64 maxSize) Q_DECL_OVERRIDE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue