diff options
| author | 2018-11-27 21:38:17 -0500 | |
|---|---|---|
| committer | 2018-11-28 22:02:03 -0500 | |
| commit | 7de8aed0e6497b4d60c07047fee488690cb2bf00 (patch) | |
| tree | 262c4ec16051bd37fb453e4de5d934573a9b62b3 /src/modules/aliaseditor | |
| parent | Remove Q_UNUSED macros (diff) | |
| download | KVIrc-7de8aed0e6497b4d60c07047fee488690cb2bf00.tar.gz KVIrc-7de8aed0e6497b4d60c07047fee488690cb2bf00.tar.bz2 KVIrc-7de8aed0e6497b4d60c07047fee488690cb2bf00.zip | |
Remove unnecessary usages of the inline keyword per language evolution.
Diffstat (limited to 'src/modules/aliaseditor')
| -rw-r--r-- | src/modules/aliaseditor/AliasEditorWindow.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/aliaseditor/AliasEditorWindow.h b/src/modules/aliaseditor/AliasEditorWindow.h index c9102b559..cd993f83f 100644 --- a/src/modules/aliaseditor/AliasEditorWindow.h +++ b/src/modules/aliaseditor/AliasEditorWindow.h @@ -62,17 +62,17 @@ protected: int m_cPos; public: - inline const QString & name() { return m_szName; }; + const QString & name() const { return m_szName; } void setName(const QString & szName); - inline Type type() { return m_eType; }; + Type type() const { return m_eType; } void setType(Type t); - inline bool isAlias() { return m_eType == Alias; }; - inline bool isNamespace() { return m_eType == Namespace; }; + bool isAlias() const { return m_eType == Alias; } + bool isNamespace() const { return m_eType == Namespace; } void setParentItem(AliasEditorTreeWidgetItem * it) { m_pParentItem = it; }; AliasEditorTreeWidgetItem * parentItem() { return m_pParentItem; }; - inline void setBuffer(const QString & szBuffer) { m_szBuffer = szBuffer; }; - inline const QString & buffer() { return m_szBuffer; }; - inline const int & cursorPosition() { return m_cPos; }; + void setBuffer(const QString & szBuffer) { m_szBuffer = szBuffer; } + const QString & buffer() const { return m_szBuffer; } + const int & cursorPosition() const { return m_cPos; } void setCursorPosition(const int & cPos) { m_cPos = cPos; }; }; |
