Strip out another 350 redundant #includes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7678 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-09-05 14:56:51 +00:00
parent 2480466ba0
commit 7070d9305c
95 changed files with 8 additions and 354 deletions

View File

@ -10,6 +10,9 @@
#include <config.h>
#include "Alert_pimpl.h"
#include "Alert.h"
#include <qmessagebox.h>
#include <qlabel.h>
#include <qlineedit.h>
@ -19,12 +22,6 @@
#include <algorithm>
#include "Alert.h"
#include "Alert_pimpl.h"
#include "support/BoostFormat.h"
#include "gettext.h"
using std::pair;
using std::make_pair;
using lyx::support::bformat;

View File

@ -14,16 +14,12 @@
#include "support/filetools.h"
#include "support/LAssert.h"
#include "debug.h"
#include "Bullet.h"
#include "ui/BulletsModuleBase.h"
#include "QBrowseBox.h"
#include "BulletsModule.h"
#include <qinputdialog.h>
#include <qpopupmenu.h>
#include <qpixmap.h>
#include <qpushbutton.h>
#include <qcombobox.h>

View File

@ -1,3 +1,7 @@
2003-09-05 Angus Leeming <leeming@lyx.org>
* *.C: strip out redundant #includes. (352 in total.)
2003-09-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
* ui/QTabularDialogBase.ui: fix typo in tooltip.

View File

@ -11,7 +11,6 @@
#include <config.h>
#include "Dialogs.h"
#include "Dialog.h"
#include "ControlAboutlyx.h"
#include "ControlBibtex.h"
@ -33,7 +32,6 @@
#include "ControlShowFile.h"
#include "ControlTabular.h"
#include "ControlTabularCreate.h"
#include "ControlTexinfo.h"
#include "ControlToc.h"
#include "ControlVCLog.h"
#include "ControlWrap.h"

View File

@ -17,15 +17,11 @@
#include "ButtonController.h"
#include "ControlDocument.h"
#include "ControlForks.h"
#include "ControlPrefs.h"
#include "ControlPrint.h"
#include "ControlSearch.h"
#include "ControlSendto.h"
#include "ControlSpellchecker.h"
#include "QCharacter.h"
#include "QCharacterDialog.h"
#include "QDocument.h"
#include "QDocumentDialog.h"
//#include "QForks.h"
@ -44,7 +40,6 @@
#include "QSpellchecker.h"
#include "QSpellcheckerDialog.h"
#include "Qt2BC.h"

View File

@ -11,16 +11,12 @@
#include <config.h>
#include "lfuns.h"
#include "LString.h"
#include "frontends/FileDialog.h"
#include "FileDialog_private.h"
#include "debug.h"
#include "qt_helpers.h"
#include "gettext.h"
#include <qapplication.h>
#include <utility>
using std::make_pair;

View File

@ -11,17 +11,12 @@
#include <config.h>
#include "QtLyXView.h"
#include "debug.h"
#include "funcrequest.h"
#include "lyxfunc.h"
#include "FileDialog_private.h"
#include "qt_helpers.h"
#include "support/lstrings.h"
#include <qapplication.h>
#include <qfiledialog.h>
#include <qtoolbutton.h>
using namespace lyx::support;

View File

@ -10,7 +10,6 @@
#include <config.h>
#include "frontends/LyXKeySymFactory.h"
#include "QLyXKeySym.h"

View File

@ -10,7 +10,6 @@
#include <config.h>
#include "frontends/LyXScreenFactory.h"
#include "QWorkArea.h"

View File

@ -13,9 +13,7 @@
#include "support/lstrings.h"
#include "Lsstream.h"
#include "debug.h"
#include "qt_helpers.h"
#include "LyXView.h"
#include "ButtonController.h"
#include "ControlAboutlyx.h"

View File

@ -11,11 +11,9 @@
#include <config.h>
#include "support/lstrings.h"
#include "ControlCommand.h"
#include "qt_helpers.h"
#include "debug.h"
#include <qlineedit.h>
#include <qpushbutton.h>

View File

@ -11,7 +11,6 @@
#include <config.h>
#include <qpushbutton.h>
#include <qlineedit.h>
#include "QBibitemDialog.h"
#include "QBibitem.h"

View File

@ -16,12 +16,9 @@
#include "ControlBibtex.h"
#include "qt_helpers.h"
#include "debug.h"
#include "support/filetools.h" // ChangeExtension
#include "support/lstrings.h" // getVectorFromString
#include <qlineedit.h>
#include <qcombobox.h>
#include <qpushbutton.h>
#include <qlistbox.h>

View File

@ -11,26 +11,20 @@
#include <config.h>
#include "ControlBibtex.h"
#include "qt_helpers.h"
#include "debug.h"
#include "support/filetools.h"
#include "support/lyxalgo.h" // eliminate_duplicates
#include <qwidget.h>
#include <qpushbutton.h>
#include <qcombobox.h>
#include <qlineedit.h>
#include <qlistbox.h>
#include <qcheckbox.h>
#include <qfiledialog.h>
#include "ui/QBibtexAddDialogBase.h"
#include "QBibtexDialog.h"
#include "QBibtex.h"
#include <vector>
using namespace lyx::support;

View File

@ -10,19 +10,14 @@
#include <config.h>
#include <qstring.h>
#include <qpixmap.h>
#include <qkeycode.h>
#include <qpainter.h>
#include <qapplication.h>
#include <qdrawutil.h>
#include <qstyle.h>
#include <qimage.h>
#include "QBrowseBox.h"
#include <cstdio>
#include <cmath>
QBrowseBox::QBrowseBox(int rows, int cols, QWidget* parent, const char * name, WFlags f)

View File

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

View File

@ -14,17 +14,12 @@
#include "ControlCharacter.h"
#include "QCharacterDialog.h"
#include "QCharacter.h"
#include "Qt2BC.h"
#include "qt_helpers.h"
#include "support/lstrings.h"
#include <qcombobox.h>
#include <qcheckbox.h>
#include <qpushbutton.h>
#include <vector>
using namespace frnt;
using std::vector;

View File

@ -13,10 +13,7 @@
#include "QCharacterDialog.h"
#include <qcombobox.h>
#include <qcheckbox.h>
#include <qpushbutton.h>
#include <qgroupbox.h>
QCharacterDialog::QCharacterDialog(QCharacter * form)

View File

@ -23,13 +23,10 @@
#include <qpushbutton.h>
#include <qlabel.h>
#include "QtLyXView.h"
#include "Qt2BC.h"
#include "ControlCitation.h"
#include "debug.h"
#include "qt_helpers.h"
#include "support/lstrings.h"
#include "helper_funcs.h"
using namespace lyx::support;

View File

@ -11,24 +11,19 @@
#include <config.h>
#include <algorithm>
#include "qt_helpers.h"
#include "controllers/ControlCitation.h"
#include "debug.h"
#include <qcheckbox.h>
#include <qcombobox.h>
#include <qlineedit.h>
#include <qlistbox.h>
#include <qmultilineedit.h>
#include <qpushbutton.h>
#include <qlabel.h>
#include "ui/QCitationFindDialogBase.h"
#include "QCitationDialog.h"
#include "QCitation.h"
#include "support/lstrings.h"
using std::vector;
using std::find;

View File

@ -14,20 +14,16 @@
#include "support/filetools.h"
#include "controllers/ControlCommandBuffer.h"
#include "qt_helpers.h"
#include "debug.h"
#include "QtView.h"
#include "QCommandBuffer.h"
#include "QCommandEdit.h"
#include <qcombobox.h>
#include <qlistbox.h>
#include <qpixmap.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qpushbutton.h>
#include "LString.h"
using namespace lyx::support;

View File

@ -11,18 +11,14 @@
#include <config.h>
#include "debug.h"
#include "QWorkArea.h"
#include "QLyXKeySym.h"
#include "funcrequest.h"
#include "qt_helpers.h"
#include <qevent.h>
#include <qpainter.h>
#include <qtimer.h>
#include <qapplication.h>
#include <qcursor.h>
using std::endl;

View File

@ -11,9 +11,7 @@
#include <config.h>
#include "support/filetools.h"
#include "qt_helpers.h"
#include "debug.h"
#include "ControlMath.h"
#include "QMath.h"
@ -23,7 +21,6 @@
#include <qlabel.h>
#include <qpixmap.h>
#include <qpushbutton.h>
#include <qcheckbox.h>
namespace {

View File

@ -11,16 +11,11 @@
#include <config.h>
#include <qdialog.h>
#include <qapplication.h>
#include "debug.h"
#include "qt_helpers.h"
#include "QtLyXView.h"
#include "QDialogView.h"
#include "Qt2BC.h"
#include "ButtonController.h"
#include "support/LAssert.h"
QDialogView::QDialogView(Dialog & parent, string const & t)

View File

@ -15,38 +15,27 @@
#include "ControlDocument.h"
#include "QDocument.h"
#include "QDocumentDialog.h"
#include "Qt2BC.h"
#include "language.h"
#include "helper_funcs.h" // getSecond()
#include "insets/insetquotes.h"
#include "frnt_lang.h"
#include "lyxrc.h" // defaultUnit
#include "tex-strings.h" // tex_graphics
#include "support/tostr.h"
#include "support/lstrings.h"
#include "support/filetools.h" // LibFileSearch()
#include "support/BoostFormat.h"
#include "lyxtextclasslist.h"
#include "vspace.h"
#include "bufferparams.h"
#include "qt_helpers.h"
#include "floatplacement.h"
#include <qpushbutton.h>
#include <qmultilineedit.h>
#include <qradiobutton.h>
#include <qcombobox.h>
#include <qcheckbox.h>
#include <qslider.h>
#include <qlineedit.h>
#include <qstringlist.h>
#include "lengthcombo.h"
#include "QBrowseBox.h"
#include <vector>
using std::vector;
using lyx::support::bformat;

View File

@ -10,7 +10,6 @@
#include <config.h>
#include "buffer.h" //*here* because of braindead qt headers's #define signals
#include "qt_helpers.h"
@ -20,33 +19,18 @@
#include "QDocumentDialog.h"
#include "ui/TextLayoutModuleBase.h"
#include "ui/MathsModuleBase.h"
#include "ui/LaTeXModuleBase.h"
#include "ui/PageLayoutModuleBase.h"
#include "ui/LanguageModuleBase.h"
#include "ui/BulletsModuleBase.h"
#include "BulletsModule.h"
#include "ui/BiblioModuleBase.h"
#include "ui/NumberingModuleBase.h"
#include "ui/MarginsModuleBase.h"
#include "ui/PreambleModuleBase.h"
#include "panelstack.h"
#include "floatplacement.h"
#include "Spacing.h"
#include "support/lstrings.h"
#include "lyxrc.h"
#include <qwidgetstack.h>
#include <qlistbox.h>
#include <qlabel.h>
#include <qmultilineedit.h>
#include <qlineedit.h>
#include <qlistview.h>
#include <qpushbutton.h>
#include <qcombobox.h>
#include <qradiobutton.h>
#include <qcheckbox.h>
#include <qslider.h>

View File

@ -12,7 +12,6 @@
#include "ControlERT.h"
#include "qt_helpers.h"
#include <qradiobutton.h>
#include <qpushbutton.h>

View File

@ -10,11 +10,7 @@
#include <config.h>
#include "LyXView.h"
#include "errorlist.h"
#include "qt_helpers.h"
#include "support/lstrings.h"
#include "debug.h"
#include "ControlErrorList.h"
#include "QErrorList.h"

View File

@ -13,10 +13,8 @@
#include "QErrorList.h"
#include "QErrorListDialog.h"
#include "qt_helpers.h"
#include <qlistbox.h>
#include <qtextbrowser.h>
#include <qpushbutton.h>

View File

@ -29,7 +29,6 @@
#include "QExternal.h"
#include "Qt2BC.h"
#include <vector>
using namespace lyx::support;

View File

@ -14,10 +14,8 @@
#include "qt_helpers.h"
#include "ControlExternal.h"
#include <qwidget.h>
#include <qpushbutton.h>
#include <qfiledialog.h>
#include <qcombobox.h>
#include <qtextview.h>
#include <qlineedit.h>
#include <qvalidator.h>

View File

@ -14,14 +14,11 @@
#include "QFloatDialog.h"
#include "QFloat.h"
#include "Qt2BC.h"
#include "qt_helpers.h"
#include "floatplacement.h"
#include "insets/insetfloat.h"
#include "support/lstrings.h"
#include <qpushbutton.h>
#include <qcheckbox.h>
typedef QController<ControlFloat, QView<QFloatDialog> > base_class;

View File

@ -11,14 +11,11 @@
#include <config.h>
#include "LString.h"
#include "ControlFloat.h"
#include "floatplacement.h"
#include <qpushbutton.h>
#include <qcheckbox.h>
#include "QFloatDialog.h"
#include "QFloat.h"

View File

@ -12,13 +12,10 @@
#include <config.h>
#include "QtLyXView.h"
#include "ControlGraphics.h"
#include "controllers/helper_funcs.h"
#include "support/lstrings.h"
#include "support/tostr.h"
#include "support/FileInfo.h"
#include "support/filetools.h"
#include "support/lyxlib.h"
#include "insets/insetgraphicsParams.h"
//#include "bufferparams.h"
@ -26,16 +23,11 @@
#include "lengthcombo.h"
#include "qt_helpers.h"
#include "lengthcommon.h"
#include "lyxlength.h"
#include "debug.h"
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qcheckbox.h>
#include <qradiobutton.h>
#include <qcombobox.h>
#include <qgroupbox.h>
#include <qbuttongroup.h>
#include <qlabel.h>
#include "QGraphicsDialog.h"

View File

@ -15,21 +15,15 @@
#include "ControlGraphics.h"
#include "debug.h"
#include "qt_helpers.h"
#include "LString.h"
#include <qwidget.h>
#include <qpushbutton.h>
#include <qlineedit.h>
#include <qcheckbox.h>
#include <qfiledialog.h>
#include <qcombobox.h>
#include "lengthcombo.h"
#include "QGraphicsDialog.h"
#include "QGraphics.h"
#include <vector>
QGraphicsDialog::QGraphicsDialog(QGraphics * form)

View File

@ -13,7 +13,6 @@
#include "ControlInclude.h"
#include "qt_helpers.h"
#include "debug.h"
#include "QIncludeDialog.h"
#include "QInclude.h"

View File

@ -11,11 +11,7 @@
#include <config.h>
#include "ControlInclude.h"
#include "debug.h"
#include "LString.h"
#include <qwidget.h>
#include <qpushbutton.h>
#include <qcheckbox.h>
#include <qlineedit.h>
@ -23,7 +19,6 @@
#include "QIncludeDialog.h"
#include "QInclude.h"
#include <vector>
QIncludeDialog::QIncludeDialog(QInclude * form)

View File

@ -16,13 +16,11 @@
#include "graphics/GraphicsParams.h"
#include "format.h"
#include "debug.h"
#include "support/LAssert.h"
#include "support/lstrings.h" // lowercase
#include "support/lyxfunctional.h" // compare_memfun
#include "qt_helpers.h"
#include <qimage.h>
#include <qwmatrix.h>
#include <qpainter.h>
#include <boost/tuple/tuple.hpp>

View File

@ -11,15 +11,6 @@
#include <config.h>
#include "MenuBackend.h"
#include "LyXAction.h"
#include "kbmap.h"
#include "buffer.h"
#include "lyxfunc.h"
#include "FloatList.h"
#include "support/lstrings.h"
#include "support/LAssert.h"
#include "qt_helpers.h"
#include "debug.h"
#include "QtView.h"
#include "QLMenubar.h"
@ -28,7 +19,6 @@
#include <qmenubar.h>
#include <qcursor.h>
#include <algorithm>
using std::endl;
using std::vector;

View File

@ -12,27 +12,17 @@
#include "font_metrics.h"
#include "support/lstrings.h"
#include "lyxrc.h"
#include "debug.h"
#include "LyXView.h"
#include "encoding.h"
#include "language.h"
#include "QWorkArea.h"
#include "qfont_loader.h"
#include "QLPainter.h"
#include "QLImage.h"
#include "qt_helpers.h"
#include "lcolorcache.h"
#include <boost/scoped_array.hpp>
#include <qpainter.h>
#include <qbrush.h>
#include <qcolor.h>
#include <iostream>
using std::endl;

View File

@ -13,8 +13,6 @@
#include "support/lstrings.h"
#include "MenuBackend.h"
#include "lyxfunc.h"
#include "debug.h"
#include "QtView.h"
@ -22,7 +20,6 @@
#include "QLPopupMenu.h"
#include "qt_helpers.h"
#include <boost/scoped_ptr.hpp>
using namespace lyx::support;

View File

@ -13,19 +13,15 @@
#include "qt_helpers.h"
#include "support/filetools.h"
#include "support/lstrings.h"
#include "QPrint.h"
#include "QLPrintDialog.h"
#include <qfiledialog.h>
#include <qcheckbox.h>
#include <qlabel.h>
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qradiobutton.h>
#include <qspinbox.h>
QLPrintDialog::QLPrintDialog(QPrint * f)

View File

@ -18,24 +18,14 @@
#include "lyxfunc.h"
#include "funcrequest.h"
#include "FuncStatus.h"
#include "BufferView.h"
#include "buffer.h"
#include "LyXAction.h"
#include "qt_helpers.h"
#include "support/LAssert.h"
#include "support/filetools.h"
#include "support/lstrings.h"
#include <boost/tuple/tuple.hpp>
#include "QtView.h"
#include "QLToolbar.h"
#include <qtoolbar.h>
#include <qcombobox.h>
#include <qtooltip.h>
#include <qsizepolicy.h>
using std::endl;

View File

@ -11,7 +11,6 @@
#include <config.h>
#include "LyXView.h"
#include "qt_helpers.h"
#include "ControlLog.h"
#include "Lsstream.h"

View File

@ -11,16 +11,12 @@
#include <config.h>
#include "LyXView.h"
#include "ControlLog.h"
#include <qpushbutton.h>
#include <qtextview.h>
#include "QLogDialog.h"
#include "QLog.h"
#include <vector>
QLogDialog::QLogDialog(QLog * form)

View File

@ -20,7 +20,6 @@
#include <qevent.h>
#include <qtextcodec.h>
#include <map>
using std::endl;
using std::map;

View File

@ -12,7 +12,6 @@
#include "gettext.h"
#include "ControlMath.h"
#include "QMathDialog.h"
#include "QMathMatrixDialog.h"
#include "QDelimiterDialog.h"

View File

@ -11,9 +11,7 @@
#include <config.h>
#include "support/filetools.h"
#include "qt_helpers.h"
#include "debug.h"
#include "ControlMath.h"
@ -22,16 +20,11 @@
#include "iconpalette.h"
#include <qapplication.h>
#include <qwidgetstack.h>
#include <qcombobox.h>
#include <qpushbutton.h>
#include <qlistbox.h>
#include <qpixmap.h>
#include <qscrollview.h>
#include <qlayout.h>
#include <qpopupmenu.h>
#include <qcursor.h>
using std::min;
using std::max;

View File

@ -12,7 +12,6 @@
#include "qt_helpers.h"
#include "support/lstrings.h"
#include "Lsstream.h"
#include "ControlMath.h"
@ -20,7 +19,6 @@
#include "QMathMatrixDialog.h"
#include <qcombobox.h>
#include <qlabel.h>
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qspinbox.h>

View File

@ -10,11 +10,9 @@
#include <config.h>
#include "debug.h"
#include "qt_helpers.h"
#include "support/tostr.h"
#include "support/lstrings.h"
#include "LyXView.h"
#include "ControlMinipage.h"
#include "QMinipage.h"
@ -23,7 +21,6 @@
#include "lengthcombo.h"
#include <qpushbutton.h>
#include <qcombobox.h>
#include <qlineedit.h>
using namespace lyx::support;

View File

@ -11,16 +11,12 @@
#include <config.h>
#include "ControlMinipage.h"
#include "QMinipage.h"
#include "QMinipageDialog.h"
#include <qpushbutton.h>
#include <qtextview.h>
#include "lengthcombo.h"
#include <vector>
QMinipageDialog::QMinipageDialog(QMinipage * form)

View File

@ -11,7 +11,6 @@
#include <config.h>
#include "ControlNote.h"
#include "qt_helpers.h"
#include "insets/insetnote.h"
#include <qradiobutton.h>

View File

@ -17,14 +17,10 @@
#include "ParagraphParameters.h"
#include "lyxrc.h" // to set the deafult length values
#include "qt_helpers.h"
#include "layout.h" // LyXAlignment
#include "helper_funcs.h"
#include "lyxgluelength.h"
#include "vspace.h"
#include "support/lstrings.h"
#include "support/tostr.h"
#include "support/LAssert.h"
#include <qcombobox.h>
#include <qlineedit.h>
@ -33,7 +29,6 @@
#include <qtabwidget.h>
#include <qbuttongroup.h>
#include <functional>
using namespace lyx::support;

View File

@ -23,7 +23,6 @@
#include "qt_helpers.h"
#include "helper_funcs.h"
using std::vector;

View File

@ -26,8 +26,6 @@
#include "ui/QPrefDisplayModule.h"
#include "ui/QPrefPathsModule.h"
#include "ui/QPrefSpellcheckerModule.h"
#include "ui/QPrefConvertersModule.h"
#include "ui/QPrefFileformatsModule.h"
#include "ui/QPrefLanguageModule.h"
#include "ui/QPrefPrinterModule.h"
#include "ui/QPrefUIModule.h"
@ -35,13 +33,11 @@
#include "lyx_gui.h"
#include "QPrefs.h"
#include "Qt2BC.h"
#include "lyxrc.h"
#include "lyxfont.h"
#include "frnt_lang.h"
#include "helper_funcs.h"
#include "qt_helpers.h"
#include "lcolorcache.h"
#include "debug.h"
#include <boost/tuple/tuple.hpp>
@ -50,9 +46,7 @@
#include <qlineedit.h>
#include <qspinbox.h>
#include <qcombobox.h>
#include <qlistbox.h>
#include <qlabel.h>
#include <qfontinfo.h>
#include "qcoloritem.h"
using namespace lyx::support;

View File

@ -33,22 +33,16 @@
#include "ui/QPrefUIModule.h"
#include "ui/QPrefIdentityModule.h"
#include "support/lstrings.h"
#include "lyxrc.h"
#include "debug.h"
#include "gettext.h"
#include "panelstack.h"
#include <qpushbutton.h>
#include <qlistbox.h>
#include <qspinbox.h>
#include <qlineedit.h>
#include <qcheckbox.h>
#include <qcombobox.h>
#include <qfontdatabase.h>
#include <qstringlist.h>
#include <qcolordialog.h>
#include <qcolor.h>
#include "qcoloritem.h"
#include "qfontexample.h"

View File

@ -12,10 +12,8 @@
#include <config.h>
#include "LyXView.h"
#include "PrinterParams.h"
#include "ControlPrint.h"
#include "support/lstrings.h"
#include "qt_helpers.h"
#include "QPrint.h"

View File

@ -25,8 +25,6 @@
#include <qpushbutton.h>
#include <qtooltip.h>
#include "helper_funcs.h" // getStringFromVector
#include "support/lstrings.h" // frontStrip, strip
#include "qt_helpers.h"
using std::find;

View File

@ -12,8 +12,6 @@
#include <config.h>
#include "ControlRef.h"
#include "debug.h"
#include "QRef.h"
#include "QRefDialog.h"

View File

@ -11,16 +11,13 @@
#include <config.h>
#include "LyXView.h"
#include "ControlSearch.h"
#include "qt_helpers.h"
#include "QSearch.h"
#include "QSearchDialog.h"
#include "Qt2BC.h"
#include <qpushbutton.h>
#include <qcheckbox.h>
#include <qcombobox.h>

View File

@ -14,14 +14,12 @@
#include "ControlSearch.h"
#include "QSearchDialog.h"
#include "QSearch.h"
#include "debug.h"
#include "qt_helpers.h"
#include <qpushbutton.h>
#include <qcombobox.h>
#include <qcheckbox.h>
#include <qlineedit.h>
#include <qlabel.h>
namespace {

View File

@ -17,11 +17,9 @@
#include "QSendto.h"
#include <qcombobox.h>
#include <qlabel.h>
#include <qlistbox.h>
#include <qpushbutton.h>
#include "debug.h"
#include "qt_helpers.h"
#include "format.h"

View File

@ -11,16 +11,8 @@
#include <config.h>
#include <vector>
#include "ControlSendto.h"
#include "qt_helpers.h"
#include "debug.h"
#include "LString.h"
#include <qcombobox.h>
#include <qlabel.h>
#include <qlistbox.h>
#include <qpushbutton.h>
#include "QSendtoDialog.h"

View File

@ -14,7 +14,6 @@
#include "QShowFile.h"
#include "QShowFileDialog.h"
#include <qwidget.h>
#include <qpushbutton.h>

View File

@ -16,10 +16,8 @@
#include "QSpellchecker.h"
#include "Qt2BC.h"
#include "qt_helpers.h"
#include "debug.h"
#include <qprogressbar.h>
#include <qmessagebox.h>
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qlistbox.h>

View File

@ -13,10 +13,8 @@
#include "QSpellcheckerDialog.h"
#include "QSpellchecker.h"
#include "qt_helpers.h"
#include <qpushbutton.h>
#include <qlineedit.h>
#include <qlistbox.h>
#include <qcombobox.h>

View File

@ -13,11 +13,8 @@
#include <config.h>
#include "ControlTabular.h"
#include "insets/insettabular.h"
#include "qt_helpers.h"
#include "support/lstrings.h"
#include "support/tostr.h"
#include "lyxrc.h"
#include "QTabularDialog.h"
#include "QTabular.h"

View File

@ -15,8 +15,6 @@
#include "QTabularCreateDialog.h"
#include "QTabularCreate.h"
#include "Qt2BC.h"
#include "qt_helpers.h"
#include "debug.h"
#include <qspinbox.h>
#include <qpushbutton.h>

View File

@ -12,9 +12,7 @@
#include <config.h>
#include "qt_helpers.h"
#include "support/lstrings.h"
#include "QTabularCreate.h"
#include "QTabularCreateDialog.h"

View File

@ -17,11 +17,7 @@
#include "QTabular.h"
#include "QTabularDialog.h"
#include "tabular.h"
#include "lengthcombo.h"
#include "qsetborder.h"
#include "qt_helpers.h"
#include "debug.h"
#include <qcheckbox.h>
#include <qpushbutton.h>

View File

@ -11,15 +11,12 @@
#include <config.h>
#include "ControlTexinfo.h"
#include "QTexinfoDialog.h"
#include "QTexinfo.h"
#include "Qt2BC.h"
#include "qt_helpers.h"
#include "helper_funcs.h"
#include "support/filetools.h"
#include "support/lstrings.h"
#include <qlistbox.h>
#include <qpushbutton.h>

View File

@ -11,12 +11,9 @@
#include <config.h>
#include "LString.h"
#include "ControlTexinfo.h"
#include "QTexinfoDialog.h"
#include "QTexinfo.h"
#include "qt_helpers.h"
#include <qlistbox.h>
#include <qpushbutton.h>

View File

@ -19,7 +19,6 @@
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qlistbox.h>
typedef QController<ControlThesaurus, QView<QThesaurusDialog> > base_class;

View File

@ -11,7 +11,6 @@
#include <config.h>
#include "LString.h"
#include "ControlThesaurus.h"
#include "QThesaurusDialog.h"
@ -22,7 +21,6 @@
#include <qlistview.h>
#include <qlineedit.h>
#include <vector>
QThesaurusDialog::QThesaurusDialog(QThesaurus * form)

View File

@ -13,17 +13,13 @@
#include <stack>
#include "LyXView.h"
#include "qt_helpers.h"
#include "support/lstrings.h"
#include "debug.h"
#include "ControlToc.h"
#include "QToc.h"
#include "QTocDialog.h"
#include "Qt2BC.h"
#include <qslider.h>
#include <qlistview.h>
#include <qpushbutton.h>
#include <qcombobox.h>

View File

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

View File

@ -14,7 +14,6 @@
#include "Lsstream.h"
#include "qt_helpers.h"
#include "support/lstrings.h"
#include "LyXView.h"
#include "ControlVCLog.h"
#include "QVCLog.h"
@ -24,7 +23,6 @@
#include <qtextview.h>
#include <qpushbutton.h>
#include "support/BoostFormat.h"
using namespace lyx::support;

View File

@ -11,16 +11,12 @@
#include <config.h>
#include <vector>
#include "LyXView.h"
#include "ControlVCLog.h"
#include "QVCLog.h"
#include "QVCLogDialog.h"
#include <qpushbutton.h>
#include <qtextview.h>
QVCLogDialog::QVCLogDialog(QVCLog * form)

View File

@ -13,13 +13,11 @@
#include "QWorkArea.h"
#include "debug.h"
#include "lfuns.h"
#include "qt_helpers.h"
#include "lcolorcache.h"
#include "funcrequest.h"
#include <qapplication.h>
#include <qevent.h>
#include <qdragobject.h>
#include <qpainter.h>
#include <qmainwindow.h>
@ -30,7 +28,6 @@
#include <X11/Xlib.h>
#endif
#include <cctype>
using std::endl;

View File

@ -10,11 +10,9 @@
#include <config.h>
#include "debug.h"
#include "qt_helpers.h"
#include "support/tostr.h"
#include "support/lstrings.h"
#include "LyXView.h"
#include "ControlWrap.h"
#include "QWrap.h"
@ -25,7 +23,6 @@
#include "insets/insetwrap.h"
#include <qpushbutton.h>
#include <qcombobox.h>
#include <qlineedit.h>
using namespace lyx::support;

View File

@ -11,16 +11,12 @@
#include <config.h>
#include "ControlWrap.h"
#include "QWrap.h"
#include "QWrapDialog.h"
#include <qpushbutton.h>
#include <qtextview.h>
#include "lengthcombo.h"
#include <vector>
QWrapDialog::QWrapDialog(QWrap * form)

View File

@ -12,7 +12,6 @@
#include <config.h>
#include "Qt2BC.h"
#include "debug.h"
#include "qt_helpers.h"
#include <qbutton.h>

View File

@ -10,17 +10,12 @@
#include <config.h>
#include <qdialog.h>
#include <qapplication.h>
#include "debug.h"
#include "qt_helpers.h"
#include "QtLyXView.h"
#include "Qt2Base.h"
#include "Qt2BC.h"
#include "ButtonController.h"
#include "ControlButtons.h"
#include "support/LAssert.h"
Qt2Base::Qt2Base(string const & t)

View File

@ -12,17 +12,12 @@
#include <config.h>
#include "debug.h"
#include "intl.h"
#include "lyx_cb.h"
#include "support/filetools.h"
#include "MenuBackend.h"
#include "ToolbarBackend.h"
#include "lyxfunc.h"
#include "BufferView.h"
#include "frontends/Dialogs.h"
#include "frontends/Timeout.h"
#include <boost/bind.hpp>
@ -31,12 +26,8 @@
#include "QLMenubar.h"
#include "qfont_loader.h"
#include "QCommandBuffer.h"
#include "qt_helpers.h"
#include <qapplication.h>
#include <qcursor.h>
#include <qpixmap.h>
#include <qmenubar.h>
#include <qstatusbar.h>
using namespace lyx::support;

View File

@ -11,7 +11,6 @@
#include <config.h>
#include "frontends/WorkAreaFactory.h"
#include "QWorkArea.h"

View File

@ -18,7 +18,6 @@
#include <qlayout.h>
#include <qpushbutton.h>
#include <qpixmap.h>
#include <qtooltip.h>
using std::endl;

View File

@ -13,10 +13,8 @@
#include "lengthcombo.h"
#include <qwhatsthis.h>
#include "lengthcommon.h"
#include "qt_helpers.h"
LengthCombo::LengthCombo(QWidget * parent, char * name)

View File

@ -12,31 +12,21 @@
#include <config.h>
#include "support/lyxlib.h"
#include "support/os.h"
#include "support/filetools.h"
#include "support/lstrings.h"
#include "debug.h"
#include "qt_helpers.h"
#include "lyx_gui.h"
#include "lyx_main.h"
#include "lyxrc.h"
#include "lyxfont.h"
#include "funcrequest.h"
#include "graphics/LoaderQueue.h"
// FIXME: move this stuff out again
#include "bufferlist.h"
#include "buffer_funcs.h"
#include "lyxfunc.h"
#include "lyxserver.h"
#include "BufferView.h"
// Dear Lord, deliver us from Evil,
// aka the Qt headers
#include <boost/shared_ptr.hpp>
#include <boost/function/function0.hpp>
#include <boost/signals/signal1.hpp>
#include <boost/bind.hpp>
@ -47,13 +37,8 @@
#include "lcolorcache.h"
#include <qapplication.h>
#include <qwidget.h>
#include <qpaintdevicemetrics.h>
#include <qfont.h>
#include <qfontinfo.h>
#include <fcntl.h>
#include <cstdlib>
using namespace lyx::support;

View File

@ -12,8 +12,6 @@
#include "qcoloritem.h"
#include <qfont.h>
#include <qfontmetrics.h>
#include <qpainter.h>
QColorItem::QColorItem(QColor c, QString const & t)

View File

@ -15,18 +15,10 @@
#include "qfont_loader.h"
#include "qt_helpers.h"
#include "debug.h"
#include "lyxrc.h"
#include "BufferView.h"
#include "qt_helpers.h"
#include <qglobal.h>
#include <qfontmetrics.h>
#include <qfontdatabase.h>
#include <qstringlist.h>
#include "support/lstrings.h"
#include "frontends/lyx_gui.h"
#include <algorithm>
#include <boost/tuple/tuple.hpp>
#ifdef Q_WS_X11

View File

@ -12,15 +12,10 @@
#include <config.h>
#include "frontends/lyx_gui.h"
#include "support/lstrings.h"
#include "font_metrics.h"
#include "qfont_loader.h"
#include "debug.h"
#include "encoding.h"
#include "language.h"
#include <qfontmetrics.h>
#include <qfont.h>
namespace {

View File

@ -11,16 +11,9 @@
#include <config.h>
#include <algorithm>
#include <iostream>
#include "LColor.h"
#include "QWorkArea.h"
#include "qscreen.h"
#include "lyxtext.h"
#include "Painter.h"
#include "BufferView.h"
#include "insets/insettext.h"
#include "debug.h"
#include <qapplication.h>

View File

@ -12,8 +12,6 @@
#include <config.h>
#include <qpainter.h>
#include <qpixmap.h>
#include <qimage.h>
#include "qsetborder.h"

View File

@ -16,11 +16,9 @@
#include "lengthcombo.h"
#include <qglobal.h>
#include <qlineedit.h>
#include <qtextcodec.h>
#include <algorithm>
using std::pair;
using std::make_pair;

View File

@ -1,5 +1,5 @@
/**********************************************************************
** $Id: qttableview.C,v 1.4 2002/11/04 00:15:54 larsbj Exp $
** $Id: qttableview.C,v 1.5 2003/09/05 14:56:51 leeming Exp $
**
** Implementation of QtTableView class
**
@ -18,8 +18,6 @@
#ifndef QT_NO_QTTABLEVIEW
#include "qscrollbar.h"
#include "qpainter.h"
#include "qdrawutil.h"
#include <limits.h>
/* Added by J. Levon for compilation with Qt 2.3.1 */
#ifndef Q_CHECK_PTR