Fix compilaton issues by including debug.h first.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7835 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2003-09-29 10:50:51 +00:00
parent 1e10701b64
commit 0d4dfc9b48
45 changed files with 53 additions and 30 deletions

View File

@ -1,3 +1,8 @@
2003-09-29 Lars Gullik Bjønnes <larsbj@gullik.net>
* several .C files: add debug.h at top to avoid compilation
errors.
2003-09-25 Angus Leeming <leeming@lyx.org> 2003-09-25 Angus Leeming <leeming@lyx.org>
* QExternal.C (update_contents, apply): InsetExternal::Params:: * QExternal.C (update_contents, apply): InsetExternal::Params::

View File

@ -36,6 +36,8 @@
#include "ControlVCLog.h" #include "ControlVCLog.h"
#include "ControlWrap.h" #include "ControlWrap.h"
#include "Qt2BC.h"
#include "ButtonController.h"
#include "QAbout.h" #include "QAbout.h"
#include "QBibitem.h" #include "QBibitem.h"
#include "QBibtex.h" #include "QBibtex.h"
@ -73,8 +75,6 @@
#include "QThesaurus.h" #include "QThesaurus.h"
#endif #endif
#include "Qt2BC.h"
#include "ButtonController.h"
#include "qt_helpers.h" #include "qt_helpers.h"
@ -110,7 +110,7 @@ private:
bool Dialogs::isValidName(string const & name) const bool Dialogs::isValidName(string const & name) const
{ {
return std::find_if(dialognames, end_dialognames, return std::find_if(dialognames, end_dialognames,
cmpCStr(name.c_str())) != end_dialognames; cmpCStr(name.c_str())) != end_dialognames;
} }

View File

@ -12,6 +12,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "Dialogs.h" #include "Dialogs.h"
#include "controllers/GUI.h" #include "controllers/GUI.h"
#include "ButtonController.h" #include "ButtonController.h"

View File

@ -11,9 +11,9 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "frontends/FileDialog.h" #include "frontends/FileDialog.h"
#include "FileDialog_private.h" #include "FileDialog_private.h"
#include "debug.h"
#include "qt_helpers.h" #include "qt_helpers.h"
#include "gettext.h" #include "gettext.h"

View File

@ -10,6 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "support/lstrings.h" #include "support/lstrings.h"
#include "support/std_sstream.h" #include "support/std_sstream.h"
#include "qt_helpers.h" #include "qt_helpers.h"

View File

@ -12,6 +12,7 @@
#include "debug.h"
#include "ControlCommand.h" #include "ControlCommand.h"
#include "qt_helpers.h" #include "qt_helpers.h"

View File

@ -12,6 +12,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "support/lstrings.h" #include "support/lstrings.h"
#include "ControlBibtex.h" #include "ControlBibtex.h"

View File

@ -10,6 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlChanges.h" #include "ControlChanges.h"
#include "qt_helpers.h" #include "qt_helpers.h"

View File

@ -11,6 +11,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "QCharacter.h" #include "QCharacter.h"
#include "ControlCharacter.h" #include "ControlCharacter.h"
#include "QCharacterDialog.h" #include "QCharacterDialog.h"

View File

@ -11,6 +11,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ui/QCitationFindDialogBase.h" #include "ui/QCitationFindDialogBase.h"
#include "QCitationDialog.h" #include "QCitationDialog.h"
#include "QCitation.h" #include "QCitation.h"

View File

@ -12,10 +12,10 @@
#include "qt_helpers.h"
#include "QDialogView.h"
#include "Qt2BC.h" #include "Qt2BC.h"
#include "ButtonController.h" #include "ButtonController.h"
#include "qt_helpers.h"
#include "QDialogView.h"
QDialogView::QDialogView(Dialog & parent, string const & t) QDialogView::QDialogView(Dialog & parent, string const & t)

View File

@ -10,6 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "qt_helpers.h" #include "qt_helpers.h"
#include "ControlDocument.h" #include "ControlDocument.h"

View File

@ -10,6 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "qt_helpers.h" #include "qt_helpers.h"
#include "ControlDocument.h" #include "ControlDocument.h"

View File

@ -10,7 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlERT.h" #include "ControlERT.h"
#include <qradiobutton.h> #include <qradiobutton.h>

View File

@ -10,6 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "qt_helpers.h" #include "qt_helpers.h"
#include "ControlErrorList.h" #include "ControlErrorList.h"
@ -56,4 +57,3 @@ void QErrorList::update_contents()
dialog_->errorsLB->setSelected(0, true); dialog_->errorsLB->setSelected(0, true);
} }

View File

@ -10,7 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlExternal.h" #include "ControlExternal.h"
#include "qt_helpers.h" #include "qt_helpers.h"

View File

@ -10,6 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlFloat.h" #include "ControlFloat.h"
#include "QFloatDialog.h" #include "QFloatDialog.h"
#include "QFloat.h" #include "QFloat.h"

View File

@ -12,6 +12,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlGraphics.h" #include "ControlGraphics.h"
#include "controllers/helper_funcs.h" #include "controllers/helper_funcs.h"
#include "support/lstrings.h" #include "support/lstrings.h"

View File

@ -10,7 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlInclude.h" #include "ControlInclude.h"
#include "qt_helpers.h" #include "qt_helpers.h"
@ -66,7 +66,7 @@ void QInclude::update_contents()
dialog_->typeCO->setCurrentItem(0); dialog_->typeCO->setCurrentItem(0);
dialog_->previewCB->setEnabled(true); dialog_->previewCB->setEnabled(true);
dialog_->previewCB->setChecked(params.preview()); dialog_->previewCB->setChecked(params.preview());
} else if (cmdname == "include") { } else if (cmdname == "include") {
dialog_->typeCO->setCurrentItem(1); dialog_->typeCO->setCurrentItem(1);

View File

@ -10,7 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlCommand.h" #include "ControlCommand.h"
#include "qt_helpers.h" #include "qt_helpers.h"

View File

@ -11,11 +11,10 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "QLImage.h" #include "QLImage.h"
#include "graphics/GraphicsParams.h" #include "graphics/GraphicsParams.h"
#include "format.h" #include "format.h"
#include "debug.h"
#include "support/lstrings.h" // lowercase #include "support/lstrings.h" // lowercase
#include "support/lyxfunctional.h" // compare_memfun #include "support/lyxfunctional.h" // compare_memfun
#include "qt_helpers.h" #include "qt_helpers.h"

View File

@ -10,6 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "qt_helpers.h" #include "qt_helpers.h"
#include "ControlLog.h" #include "ControlLog.h"
#include "support/std_sstream.h" #include "support/std_sstream.h"

View File

@ -11,9 +11,9 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "QLyXKeySym.h" #include "QLyXKeySym.h"
#include "qlkey.h" #include "qlkey.h"
#include "debug.h"
#include "qt_helpers.h" #include "qt_helpers.h"
#include <qevent.h> #include <qevent.h>

View File

@ -10,6 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "qt_helpers.h" #include "qt_helpers.h"
#include "support/tostr.h" #include "support/tostr.h"
#include "support/lstrings.h" #include "support/lstrings.h"

View File

@ -10,6 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlNote.h" #include "ControlNote.h"
#include "insets/insetnote.h" #include "insets/insetnote.h"
@ -67,4 +68,3 @@ void QNote::apply()
controller().params().type = type; controller().params().type = type;
} }

View File

@ -10,6 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlParagraph.h" #include "ControlParagraph.h"
#include "QParagraph.h" #include "QParagraph.h"
#include "QParagraphDialog.h" #include "QParagraphDialog.h"

View File

@ -10,6 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "support/lstrings.h" #include "support/lstrings.h"
#include "support/tostr.h" #include "support/tostr.h"
#include "support/std_sstream.h" #include "support/std_sstream.h"

View File

@ -11,7 +11,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "PrinterParams.h" #include "PrinterParams.h"
#include "ControlPrint.h" #include "ControlPrint.h"
#include "qt_helpers.h" #include "qt_helpers.h"

View File

@ -10,7 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlRef.h" #include "ControlRef.h"
#include "insets/insetref.h" #include "insets/insetref.h"

View File

@ -10,7 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlSearch.h" #include "ControlSearch.h"
#include "QSearch.h" #include "QSearch.h"

View File

@ -10,7 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlShowFile.h" #include "ControlShowFile.h"
#include "qt_helpers.h" #include "qt_helpers.h"

View File

@ -10,7 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlSpellchecker.h" #include "ControlSpellchecker.h"
#include "QSpellcheckerDialog.h" #include "QSpellcheckerDialog.h"
#include "QSpellchecker.h" #include "QSpellchecker.h"

View File

@ -12,6 +12,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlTabular.h" #include "ControlTabular.h"
#include "qt_helpers.h" #include "qt_helpers.h"
#include "support/tostr.h" #include "support/tostr.h"

View File

@ -10,7 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlTabularCreate.h" #include "ControlTabularCreate.h"
#include "QTabularCreateDialog.h" #include "QTabularCreateDialog.h"
#include "QTabularCreate.h" #include "QTabularCreate.h"

View File

@ -10,7 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "QTexinfoDialog.h" #include "QTexinfoDialog.h"
#include "QTexinfo.h" #include "QTexinfo.h"
#include "Qt2BC.h" #include "Qt2BC.h"

View File

@ -10,7 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlThesaurus.h" #include "ControlThesaurus.h"
#include "QThesaurusDialog.h" #include "QThesaurusDialog.h"
#include "QThesaurus.h" #include "QThesaurus.h"

View File

@ -10,6 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include <stack> #include <stack>
#include "qt_helpers.h" #include "qt_helpers.h"

View File

@ -10,6 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "ControlCommand.h" #include "ControlCommand.h"
#include "qt_helpers.h" #include "qt_helpers.h"

View File

@ -10,6 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "support/std_sstream.h" #include "support/std_sstream.h"
#include "qt_helpers.h" #include "qt_helpers.h"
#include "support/lstrings.h" #include "support/lstrings.h"

View File

@ -10,8 +10,8 @@
#include <config.h> #include <config.h>
#include "QWorkArea.h"
#include "debug.h" #include "debug.h"
#include "QWorkArea.h"
#include "LColor.h" #include "LColor.h"
#include "qt_helpers.h" #include "qt_helpers.h"
#include "lcolorcache.h" #include "lcolorcache.h"

View File

@ -10,6 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "qt_helpers.h" #include "qt_helpers.h"
#include "support/tostr.h" #include "support/tostr.h"
#include "support/lstrings.h" #include "support/lstrings.h"

View File

@ -10,7 +10,7 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "qt_helpers.h" #include "qt_helpers.h"
#include "Qt2Base.h" #include "Qt2Base.h"
#include "Qt2BC.h" #include "Qt2BC.h"

View File

@ -11,10 +11,9 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "qfont_loader.h" #include "qfont_loader.h"
#include "qt_helpers.h" #include "qt_helpers.h"
#include "debug.h"
#include "lyxrc.h" #include "lyxrc.h"
#include "support/lstrings.h" #include "support/lstrings.h"

View File

@ -10,9 +10,9 @@
#include <config.h> #include <config.h>
#include "debug.h"
#include "QWorkArea.h" #include "QWorkArea.h"
#include "qscreen.h" #include "qscreen.h"
#include "debug.h"
#include "LColor.h" #include "LColor.h"
#include <qapplication.h> #include <qapplication.h>

View File

@ -10,8 +10,8 @@
#include <config.h> #include <config.h>
#include "qtTimeout.h"
#include "debug.h" #include "debug.h"
#include "qtTimeout.h"
Timeout::Timeout(unsigned int msec, Type t) Timeout::Timeout(unsigned int msec, Type t)