diff --git a/src/Application.cpp b/src/Application.cpp index 66f5a8a7b..e19682450 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -56,7 +56,7 @@ Application::Application() // check for compositing functionality TerminalDisplay::setTransparencyEnabled( KWindowSystem::compositingActive() ); -}; +} Application* Application::self() { diff --git a/src/Application.h b/src/Application.h index e46ce88c5..213f66043 100644 --- a/src/Application.h +++ b/src/Application.h @@ -84,5 +84,5 @@ private: MainWindow* _backgroundInstance; }; -}; +} #endif //KONSOLEAPP_H diff --git a/src/BookmarkHandler.h b/src/BookmarkHandler.h index 56b35ab98..cb49307cb 100644 --- a/src/BookmarkHandler.h +++ b/src/BookmarkHandler.h @@ -113,6 +113,6 @@ private: QList m_views; }; -}; +} #endif // KONSOLEBOOKMARKHANDLER_H diff --git a/src/ColorSchemeEditor.cpp b/src/ColorSchemeEditor.cpp index 1cf3863ca..232ace5ad 100644 --- a/src/ColorSchemeEditor.cpp +++ b/src/ColorSchemeEditor.cpp @@ -134,7 +134,7 @@ void ColorSchemeEditor::setDescription(const QString& text) } void ColorSchemeEditor::setTransparencyPercentLabel(int percent) { - _ui->transparencyPercentLabel->setText( QString("%1\%").arg(percent) ); + _ui->transparencyPercentLabel->setText( QString("%1%").arg(percent) ); qreal opacity = ( 100.0 - percent ) / 100.0; _colors->setOpacity(opacity); diff --git a/src/ColorSchemeEditor.h b/src/ColorSchemeEditor.h index f6debdc29..e1b16abdc 100644 --- a/src/ColorSchemeEditor.h +++ b/src/ColorSchemeEditor.h @@ -74,6 +74,6 @@ private: ColorScheme* _colors; }; -}; +} #endif // COLORSCHEMEEDITOR_H diff --git a/src/EditProfileDialog.h b/src/EditProfileDialog.h index 61fd572e0..915d5f8ff 100644 --- a/src/EditProfileDialog.h +++ b/src/EditProfileDialog.h @@ -34,7 +34,7 @@ class QAbstractButton; namespace Ui { class EditProfileDialog; -}; +} namespace Konsole { @@ -215,6 +215,6 @@ public: }; -}; +} #endif // EDITSESSIONDIALOG_H diff --git a/src/EditTabTitleFormatDialog.h b/src/EditTabTitleFormatDialog.h index 8c5006744..d6099874c 100644 --- a/src/EditTabTitleFormatDialog.h +++ b/src/EditTabTitleFormatDialog.h @@ -29,7 +29,7 @@ namespace Ui { class EditTabTitleFormatDialog; -}; +} namespace Konsole { @@ -65,6 +65,6 @@ private: static const int _remoteElementCount; }; -}; +} #endif // EDITTABTITLEFORMATDIALOG_H diff --git a/src/Emulation.h b/src/Emulation.h index d1dd465e5..fc8daf4e6 100644 --- a/src/Emulation.h +++ b/src/Emulation.h @@ -265,6 +265,6 @@ private: }; -}; +} #endif // ifndef EMULATION_H diff --git a/src/Filter.h b/src/Filter.h index bba98d5ce..0dd5eb5f7 100644 --- a/src/Filter.h +++ b/src/Filter.h @@ -374,5 +374,5 @@ private: QList* _linePositions; }; -}; +} #endif //FILTER_H diff --git a/src/History.h b/src/History.h index 62bc3cefb..6dc660431 100644 --- a/src/History.h +++ b/src/History.h @@ -334,6 +334,6 @@ protected: #endif -}; +} #endif // TEHISTORY_H diff --git a/src/HistorySizeDialog.h b/src/HistorySizeDialog.h index 6b9794e27..2b1ce7e8b 100644 --- a/src/HistorySizeDialog.h +++ b/src/HistorySizeDialog.h @@ -84,6 +84,6 @@ private: QSpinBox* _lineCountBox; }; -}; +} #endif // HISTORYSIZEDIALOG_H diff --git a/src/IncrementalSearchBar.h b/src/IncrementalSearchBar.h index efd41c8c1..be41432d7 100644 --- a/src/IncrementalSearchBar.h +++ b/src/IncrementalSearchBar.h @@ -190,5 +190,5 @@ private: QTimer* _searchTimer; }; -}; +} #endif // INCREMENTALSEARCHBAR_H diff --git a/src/KeyBindingEditor.h b/src/KeyBindingEditor.h index 88c991e20..0907881e1 100644 --- a/src/KeyBindingEditor.h +++ b/src/KeyBindingEditor.h @@ -26,7 +26,7 @@ namespace Ui { class KeyBindingEditor; -}; +} namespace Konsole { @@ -57,6 +57,6 @@ private: KeyboardTranslator* _translator; }; -}; +} #endif //KEYBINDINGEDITOR_H diff --git a/src/KeyboardTranslator.h b/src/KeyboardTranslator.h index 904888635..ce2a4078f 100644 --- a/src/KeyboardTranslator.h +++ b/src/KeyboardTranslator.h @@ -374,7 +374,7 @@ inline KeyboardTranslator::State KeyboardTranslator::Entry::state() const return _state; } -}; +} Q_DECLARE_METATYPE(const Konsole::KeyboardTranslator*) diff --git a/src/MainWindow.h b/src/MainWindow.h index 3ecfec32a..d8f1e10ac 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -118,6 +118,6 @@ class MainWindow : public KXmlGuiWindow QPointer _pluggedController; }; -}; +} #endif // KONSOLEMAINWINDOW_H diff --git a/src/ManageProfilesDialog.h b/src/ManageProfilesDialog.h index eb7bb4176..06a404e67 100644 --- a/src/ManageProfilesDialog.h +++ b/src/ManageProfilesDialog.h @@ -33,7 +33,7 @@ class QStandardItemModel; namespace Ui { class ManageProfilesDialog; -}; +} namespace Konsole { @@ -85,6 +85,6 @@ public: const QStyleOptionViewItem& option,const QModelIndex& index); }; -}; +} #endif // SESSIONTYPEDIALOG_H diff --git a/src/Part.h b/src/Part.h index d392e6b3d..a05150c1a 100644 --- a/src/Part.h +++ b/src/Part.h @@ -84,6 +84,6 @@ private: SessionController* _pluggedController; }; -}; +} #endif // PART_H diff --git a/src/ProcessInfo.cpp b/src/ProcessInfo.cpp index 401389037..8e1a6c83f 100644 --- a/src/ProcessInfo.cpp +++ b/src/ProcessInfo.cpp @@ -254,7 +254,7 @@ bool UnixProcessInfo::readProcessInfo(int pid , bool enableEnvironmentRead) setParentPid(parentPid); return true; -}; +} ProcessInfo* ProcessInfo::newInstance(int pid,bool enableEnvironmentRead) { diff --git a/src/ProcessInfo.h b/src/ProcessInfo.h index 9f52cacaa..b7b4f5659 100644 --- a/src/ProcessInfo.h +++ b/src/ProcessInfo.h @@ -345,5 +345,5 @@ private: QString _command; }; -}; +} #endif //PROCESSINFO_H diff --git a/src/ProfileList.h b/src/ProfileList.h index 25426f160..c26ebf872 100644 --- a/src/ProfileList.h +++ b/src/ProfileList.h @@ -60,6 +60,6 @@ private: QActionGroup* _group; }; -}; +} #endif diff --git a/src/Pty.h b/src/Pty.h index c1bb0fa28..d47a1d358 100644 --- a/src/Pty.h +++ b/src/Pty.h @@ -120,6 +120,6 @@ Q_OBJECT bool m_bufferFull; }; -}; +} #endif diff --git a/src/RemoteConnectionDialog.h b/src/RemoteConnectionDialog.h index 1a1014adc..9420b8518 100644 --- a/src/RemoteConnectionDialog.h +++ b/src/RemoteConnectionDialog.h @@ -26,7 +26,7 @@ namespace Ui { class RemoteConnectionDialog; -}; +} namespace Konsole { @@ -47,6 +47,6 @@ private: Ui::RemoteConnectionDialog* _ui; }; -}; +} #endif // REMOTECONNECTIONDIALOG_H diff --git a/src/Screen.h b/src/Screen.h index 103b95417..9f532b1ef 100644 --- a/src/Screen.h +++ b/src/Screen.h @@ -456,6 +456,6 @@ private: // helper static Character defaultChar; }; -}; +} #endif // TESCREEN_H diff --git a/src/ScreenWindow.h b/src/ScreenWindow.h index 9caa07535..4c284eb8b 100644 --- a/src/ScreenWindow.h +++ b/src/ScreenWindow.h @@ -210,5 +210,5 @@ private: // the last call to resetScrollCount() }; -}; +} #endif // SCREENWINDOW_H diff --git a/src/Session.h b/src/Session.h index f77f1c4ea..9d8f63df0 100644 --- a/src/Session.h +++ b/src/Session.h @@ -337,6 +337,6 @@ private: }; -}; +} #endif diff --git a/src/SessionController.h b/src/SessionController.h index 4a94f6463..c125a596f 100644 --- a/src/SessionController.h +++ b/src/SessionController.h @@ -19,7 +19,7 @@ namespace KIO { class Job; -}; +} class QAction; class QTextCodec; @@ -349,6 +349,6 @@ private: static QPointer _thread; }; -}; +} #endif //SESSIONCONTROLLER_H diff --git a/src/SessionManager.h b/src/SessionManager.h index 5aca624c6..8a52eb243 100644 --- a/src/SessionManager.h +++ b/src/SessionManager.h @@ -620,5 +620,5 @@ private: static SessionManager* _instance; }; -}; +} #endif //SESSIONMANAGER_H diff --git a/src/ShellCommand.h b/src/ShellCommand.h index c05e1527c..67138df15 100644 --- a/src/ShellCommand.h +++ b/src/ShellCommand.h @@ -58,7 +58,7 @@ private: QStringList _arguments; }; -}; +} #endif // SHELLCOMMAND_H diff --git a/src/TerminalCharacterDecoder.h b/src/TerminalCharacterDecoder.h index 9086d725c..dcfd57b1b 100644 --- a/src/TerminalCharacterDecoder.h +++ b/src/TerminalCharacterDecoder.h @@ -115,6 +115,6 @@ private: const ColorEntry* colorTable; }; -}; +} #endif diff --git a/src/TerminalDisplay.h b/src/TerminalDisplay.h index 6894919c4..9ee3c8aab 100644 --- a/src/TerminalDisplay.h +++ b/src/TerminalDisplay.h @@ -63,7 +63,7 @@ class TerminalImageFilterChain; namespace Filter { class HotSpot; -}; +} class FilterChain; class ScreenWindow; @@ -689,6 +689,6 @@ public: } }; -}; +} #endif // TERMINALDISPLAY_H diff --git a/src/ViewContainer.h b/src/ViewContainer.h index 6da894655..3a42be2f1 100644 --- a/src/ViewContainer.h +++ b/src/ViewContainer.h @@ -328,5 +328,5 @@ private: QListWidget* _listWidget; }; -}; +} #endif //VIEWCONTAINER_H diff --git a/src/ViewManager.h b/src/ViewManager.h index 609d26697..af70f8192 100644 --- a/src/ViewManager.h +++ b/src/ViewManager.h @@ -211,6 +211,6 @@ private: QSignalMapper* _containerSignalMapper; }; -}; +} #endif diff --git a/src/ViewProperties.h b/src/ViewProperties.h index 8975f7083..b8911dd72 100644 --- a/src/ViewProperties.h +++ b/src/ViewProperties.h @@ -93,6 +93,6 @@ private: int _id; }; -}; +} #endif //VIEWPROPERTIES_H diff --git a/src/ViewSplitter.h b/src/ViewSplitter.h index f64c4408e..3f12a0fa1 100644 --- a/src/ViewSplitter.h +++ b/src/ViewSplitter.h @@ -168,6 +168,6 @@ private: bool _recursiveSplitting; }; -}; +} #endif //VIEWSPLITTER_H diff --git a/src/Vt102Emulation.h b/src/Vt102Emulation.h index bc06a2325..d1f6f5b70 100644 --- a/src/Vt102Emulation.h +++ b/src/Vt102Emulation.h @@ -232,6 +232,6 @@ protected: }; -}; +} #endif // ifndef ANSIEMU_H diff --git a/src/ZModemDialog.h b/src/ZModemDialog.h index 321e2cd06..8415918c6 100644 --- a/src/ZModemDialog.h +++ b/src/ZModemDialog.h @@ -49,6 +49,6 @@ private: QTextEdit* _textEdit; }; -}; +} #endif