From ba76bf5eb85db5a10839fccee3430d906d3f7b70 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sun, 17 Feb 2008 20:47:04 +0000 Subject: [PATCH] header cleanup git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23048 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/CustomizedWidgets.cpp | 1 - src/frontends/qt4/DialogView.cpp | 1 - src/frontends/qt4/GuiBibtex.cpp | 1 - src/frontends/qt4/GuiBox.cpp | 1 - src/frontends/qt4/GuiBranch.cpp | 1 - src/frontends/qt4/GuiChanges.cpp | 1 - src/frontends/qt4/GuiCharacter.cpp | 1 - src/frontends/qt4/GuiERT.cpp | 1 - src/frontends/qt4/GuiErrorList.cpp | 1 - src/frontends/qt4/GuiExternal.cpp | 1 - src/frontends/qt4/GuiFloat.cpp | 1 - src/frontends/qt4/GuiGraphics.cpp | 1 - src/frontends/qt4/GuiHyperlink.cpp | 1 - src/frontends/qt4/GuiInclude.cpp | 1 - src/frontends/qt4/GuiLabel.cpp | 8 -------- src/frontends/qt4/GuiLabel.h | 2 -- src/frontends/qt4/GuiListings.cpp | 1 - src/frontends/qt4/GuiLog.cpp | 1 - src/frontends/qt4/GuiNomencl.cpp | 1 - src/frontends/qt4/GuiNote.cpp | 2 -- src/frontends/qt4/GuiParagraph.cpp | 1 - src/frontends/qt4/GuiParagraph.h | 1 - src/frontends/qt4/GuiPrefs.cpp | 1 - src/frontends/qt4/GuiSearch.cpp | 1 - src/frontends/qt4/GuiSendto.cpp | 1 - src/frontends/qt4/GuiShowFile.cpp | 1 - src/frontends/qt4/GuiTabular.cpp | 1 - src/frontends/qt4/GuiTabularCreate.cpp | 1 - src/frontends/qt4/GuiTexinfo.cpp | 1 - src/frontends/qt4/GuiThesaurus.cpp | 1 - src/frontends/qt4/GuiVSpace.cpp | 1 - src/frontends/qt4/GuiWrap.cpp | 1 - 32 files changed, 41 deletions(-) diff --git a/src/frontends/qt4/CustomizedWidgets.cpp b/src/frontends/qt4/CustomizedWidgets.cpp index 65d847742c..2e9bbca6d5 100644 --- a/src/frontends/qt4/CustomizedWidgets.cpp +++ b/src/frontends/qt4/CustomizedWidgets.cpp @@ -26,7 +26,6 @@ #include "GuiKeySymbol.h" #include -#include #include "support/qstring_helpers.h" diff --git a/src/frontends/qt4/DialogView.cpp b/src/frontends/qt4/DialogView.cpp index 30a233354c..433e22df6a 100644 --- a/src/frontends/qt4/DialogView.cpp +++ b/src/frontends/qt4/DialogView.cpp @@ -15,7 +15,6 @@ #include "GuiView.h" #include "qt_helpers.h" -#include #include using namespace std; diff --git a/src/frontends/qt4/GuiBibtex.cpp b/src/frontends/qt4/GuiBibtex.cpp index 8487f6bf1c..7971105729 100644 --- a/src/frontends/qt4/GuiBibtex.cpp +++ b/src/frontends/qt4/GuiBibtex.cpp @@ -33,7 +33,6 @@ #include #include #include -#include #include using namespace std; diff --git a/src/frontends/qt4/GuiBox.cpp b/src/frontends/qt4/GuiBox.cpp index 849a235a5b..b52d1ea352 100644 --- a/src/frontends/qt4/GuiBox.cpp +++ b/src/frontends/qt4/GuiBox.cpp @@ -29,7 +29,6 @@ #include #include -#include using namespace std; diff --git a/src/frontends/qt4/GuiBranch.cpp b/src/frontends/qt4/GuiBranch.cpp index 95c52ac014..0f6793d2d1 100644 --- a/src/frontends/qt4/GuiBranch.cpp +++ b/src/frontends/qt4/GuiBranch.cpp @@ -25,7 +25,6 @@ #include "insets/InsetBranch.h" #include -#include using namespace std; diff --git a/src/frontends/qt4/GuiChanges.cpp b/src/frontends/qt4/GuiChanges.cpp index f4a700089b..5405e5d603 100644 --- a/src/frontends/qt4/GuiChanges.cpp +++ b/src/frontends/qt4/GuiChanges.cpp @@ -28,7 +28,6 @@ #include "lyxfind.h" #include "LyXRC.h" -#include #include diff --git a/src/frontends/qt4/GuiCharacter.cpp b/src/frontends/qt4/GuiCharacter.cpp index 94ef29957b..a5bf25cbe7 100644 --- a/src/frontends/qt4/GuiCharacter.cpp +++ b/src/frontends/qt4/GuiCharacter.cpp @@ -21,7 +21,6 @@ #include "FuncRequest.h" #include "Language.h" -#include using namespace std; diff --git a/src/frontends/qt4/GuiERT.cpp b/src/frontends/qt4/GuiERT.cpp index e91fc294ba..0ff9399465 100644 --- a/src/frontends/qt4/GuiERT.cpp +++ b/src/frontends/qt4/GuiERT.cpp @@ -18,7 +18,6 @@ #include #include -#include using namespace std; diff --git a/src/frontends/qt4/GuiErrorList.cpp b/src/frontends/qt4/GuiErrorList.cpp index 007e30fcfd..9fe844cc6c 100644 --- a/src/frontends/qt4/GuiErrorList.cpp +++ b/src/frontends/qt4/GuiErrorList.cpp @@ -26,7 +26,6 @@ #include #include #include -#include using namespace std; using namespace lyx::support; diff --git a/src/frontends/qt4/GuiExternal.cpp b/src/frontends/qt4/GuiExternal.cpp index eb025be449..cd17d2d2f6 100644 --- a/src/frontends/qt4/GuiExternal.cpp +++ b/src/frontends/qt4/GuiExternal.cpp @@ -38,7 +38,6 @@ #include "qt_helpers.h" #include "Validator.h" -#include #include #include #include diff --git a/src/frontends/qt4/GuiFloat.cpp b/src/frontends/qt4/GuiFloat.cpp index 03c059b843..aae2de3931 100644 --- a/src/frontends/qt4/GuiFloat.cpp +++ b/src/frontends/qt4/GuiFloat.cpp @@ -17,7 +17,6 @@ #include "insets/InsetFloat.h" -#include #include using namespace std; diff --git a/src/frontends/qt4/GuiGraphics.cpp b/src/frontends/qt4/GuiGraphics.cpp index 7194868b65..b48c2fd06f 100644 --- a/src/frontends/qt4/GuiGraphics.cpp +++ b/src/frontends/qt4/GuiGraphics.cpp @@ -43,7 +43,6 @@ #include #include -#include #include #include #include diff --git a/src/frontends/qt4/GuiHyperlink.cpp b/src/frontends/qt4/GuiHyperlink.cpp index 063bce724e..95ae76a64a 100644 --- a/src/frontends/qt4/GuiHyperlink.cpp +++ b/src/frontends/qt4/GuiHyperlink.cpp @@ -18,7 +18,6 @@ #include "insets/InsetCommand.h" #include -#include #include #include diff --git a/src/frontends/qt4/GuiInclude.cpp b/src/frontends/qt4/GuiInclude.cpp index fcd8ede71c..23a79015f3 100644 --- a/src/frontends/qt4/GuiInclude.cpp +++ b/src/frontends/qt4/GuiInclude.cpp @@ -33,7 +33,6 @@ #include #include -#include #include #include diff --git a/src/frontends/qt4/GuiLabel.cpp b/src/frontends/qt4/GuiLabel.cpp index d49bb74585..d5c99a4e5a 100644 --- a/src/frontends/qt4/GuiLabel.cpp +++ b/src/frontends/qt4/GuiLabel.cpp @@ -18,7 +18,6 @@ #include #include #include -#include using namespace std; @@ -62,13 +61,6 @@ void GuiLabel::reject() } -void GuiLabel::closeEvent(QCloseEvent * e) -{ - slotClose(); - e->accept(); -} - - void GuiLabel::updateContents() { docstring const contents = params_["name"]; diff --git a/src/frontends/qt4/GuiLabel.h b/src/frontends/qt4/GuiLabel.h index 15ecdee562..73c6654ffa 100644 --- a/src/frontends/qt4/GuiLabel.h +++ b/src/frontends/qt4/GuiLabel.h @@ -31,8 +31,6 @@ private Q_SLOTS: void reject(); private: - /// - void closeEvent(QCloseEvent * e); /// bool isValid(); /// Apply changes diff --git a/src/frontends/qt4/GuiListings.cpp b/src/frontends/qt4/GuiListings.cpp index d6894d0f62..52c03e9508 100644 --- a/src/frontends/qt4/GuiListings.cpp +++ b/src/frontends/qt4/GuiListings.cpp @@ -23,7 +23,6 @@ #include "support/lstrings.h" #include -#include #include #include #include diff --git a/src/frontends/qt4/GuiLog.cpp b/src/frontends/qt4/GuiLog.cpp index 9cc479d614..a02544dda0 100644 --- a/src/frontends/qt4/GuiLog.cpp +++ b/src/frontends/qt4/GuiLog.cpp @@ -18,7 +18,6 @@ #include "support/gettext.h" #include "Lexer.h" -#include #include #include #include diff --git a/src/frontends/qt4/GuiNomencl.cpp b/src/frontends/qt4/GuiNomencl.cpp index cd6a04326b..2027f46472 100644 --- a/src/frontends/qt4/GuiNomencl.cpp +++ b/src/frontends/qt4/GuiNomencl.cpp @@ -21,7 +21,6 @@ #include #include #include -#include using namespace std; diff --git a/src/frontends/qt4/GuiNote.cpp b/src/frontends/qt4/GuiNote.cpp index f21dfb7fc3..0768328096 100644 --- a/src/frontends/qt4/GuiNote.cpp +++ b/src/frontends/qt4/GuiNote.cpp @@ -17,8 +17,6 @@ #include "insets/InsetNote.h" -#include - using namespace std; namespace lyx { diff --git a/src/frontends/qt4/GuiParagraph.cpp b/src/frontends/qt4/GuiParagraph.cpp index 0f0a71dd3a..abb11fd1a0 100644 --- a/src/frontends/qt4/GuiParagraph.cpp +++ b/src/frontends/qt4/GuiParagraph.cpp @@ -31,7 +31,6 @@ #include "support/gettext.h" #include -#include #include #include diff --git a/src/frontends/qt4/GuiParagraph.h b/src/frontends/qt4/GuiParagraph.h index f8dd3241e7..bc0e96d42a 100644 --- a/src/frontends/qt4/GuiParagraph.h +++ b/src/frontends/qt4/GuiParagraph.h @@ -25,7 +25,6 @@ #include "qt_helpers.h" #include "support/debug.h" -#include #include #include #include diff --git a/src/frontends/qt4/GuiPrefs.cpp b/src/frontends/qt4/GuiPrefs.cpp index cce2399110..290089b3f1 100644 --- a/src/frontends/qt4/GuiPrefs.cpp +++ b/src/frontends/qt4/GuiPrefs.cpp @@ -56,7 +56,6 @@ #include #include #include -#include #include #include diff --git a/src/frontends/qt4/GuiSearch.cpp b/src/frontends/qt4/GuiSearch.cpp index 7cfe5af647..e1ee183336 100644 --- a/src/frontends/qt4/GuiSearch.cpp +++ b/src/frontends/qt4/GuiSearch.cpp @@ -19,7 +19,6 @@ #include "FuncRequest.h" #include "lyxfind.h" -#include #include #include diff --git a/src/frontends/qt4/GuiSendto.cpp b/src/frontends/qt4/GuiSendto.cpp index 0afd45723d..1d744fcae0 100644 --- a/src/frontends/qt4/GuiSendto.cpp +++ b/src/frontends/qt4/GuiSendto.cpp @@ -25,7 +25,6 @@ #include #include -#include using namespace std; using namespace lyx::support; diff --git a/src/frontends/qt4/GuiShowFile.cpp b/src/frontends/qt4/GuiShowFile.cpp index 58ea26e42f..9cde4ba22e 100644 --- a/src/frontends/qt4/GuiShowFile.cpp +++ b/src/frontends/qt4/GuiShowFile.cpp @@ -18,7 +18,6 @@ #include #include -#include using namespace std; using namespace lyx::support; diff --git a/src/frontends/qt4/GuiTabular.cpp b/src/frontends/qt4/GuiTabular.cpp index 982a8a3b2c..8174570e67 100644 --- a/src/frontends/qt4/GuiTabular.cpp +++ b/src/frontends/qt4/GuiTabular.cpp @@ -25,7 +25,6 @@ #include "insets/InsetTabular.h" -#include #include #include #include diff --git a/src/frontends/qt4/GuiTabularCreate.cpp b/src/frontends/qt4/GuiTabularCreate.cpp index fea04a3ac6..33e20f33e5 100644 --- a/src/frontends/qt4/GuiTabularCreate.cpp +++ b/src/frontends/qt4/GuiTabularCreate.cpp @@ -17,7 +17,6 @@ #include "support/convert.h" -#include #include #include diff --git a/src/frontends/qt4/GuiTexinfo.cpp b/src/frontends/qt4/GuiTexinfo.cpp index c83aab1e9f..579f2dd13e 100644 --- a/src/frontends/qt4/GuiTexinfo.cpp +++ b/src/frontends/qt4/GuiTexinfo.cpp @@ -22,7 +22,6 @@ #include "qt_helpers.h" -#include #include #include #include diff --git a/src/frontends/qt4/GuiThesaurus.cpp b/src/frontends/qt4/GuiThesaurus.cpp index 5bd2d9a44b..bd3e179472 100644 --- a/src/frontends/qt4/GuiThesaurus.cpp +++ b/src/frontends/qt4/GuiThesaurus.cpp @@ -20,7 +20,6 @@ #include "support/debug.h" #include "support/gettext.h" -#include #include #include #include diff --git a/src/frontends/qt4/GuiVSpace.cpp b/src/frontends/qt4/GuiVSpace.cpp index 2f8a1013c0..dbf6116366 100644 --- a/src/frontends/qt4/GuiVSpace.cpp +++ b/src/frontends/qt4/GuiVSpace.cpp @@ -30,7 +30,6 @@ #include "support/lstrings.h" #include -#include #include #include #include diff --git a/src/frontends/qt4/GuiWrap.cpp b/src/frontends/qt4/GuiWrap.cpp index 14bf05c06e..7b6106bd17 100644 --- a/src/frontends/qt4/GuiWrap.cpp +++ b/src/frontends/qt4/GuiWrap.cpp @@ -23,7 +23,6 @@ #include "support/lstrings.h" #include -#include #include using namespace std;