Remove unused forward declarations

This commit is contained in:
Yuriy Skalko 2020-10-13 09:40:24 +03:00
parent 769578eac6
commit 2a594d3e90
52 changed files with 6 additions and 119 deletions

View File

@ -39,9 +39,6 @@ class FuncRequest;
class FuncStatus;
class Inset;
class InsetLabel;
class InsetRef;
class Font;
class Format;
class Lexer;
class Text;
class LyXVC;
@ -52,7 +49,6 @@ class MacroNameSet;
class MacroSet;
class OutputParams;
class otexstream;
class Paragraph;
class ParConstIterator;
class ParIterator;
class ParagraphList;

View File

@ -37,7 +37,6 @@ class CursorSlice;
class Dimension;
class DispatchResult;
class DocIterator;
class DocumentClass;
class FuncRequest;
class FuncStatus;
class Intl;
@ -45,10 +44,8 @@ class Inset;
class Length;
class MathData;
class MathRow;
class ParIterator;
class ParagraphMetrics;
class Point;
class Row;
class TexRow;
class Text;
class TextMetrics;

View File

@ -18,8 +18,6 @@
namespace lyx {
class Buffer;
enum CiteEngineType {
ENGINE_TYPE_AUTHORYEAR = 1,

View File

@ -21,9 +21,7 @@
namespace lyx {
class Inset;
class Text;
class MathData;
class Paragraph;
void lyxbreaker(void const * data, const char * hint, int size);

View File

@ -25,7 +25,6 @@
namespace lyx {
class DocumentClass;
class ErrorList;
class InsetText;
class Cursor;

View File

@ -24,8 +24,6 @@
namespace lyx {
class Layout;
/// Index into LayoutFileList. Basically a 'strong typedef'.
class LayoutFileIndex {
public:

View File

@ -21,7 +21,6 @@ namespace lyx {
class Buffer;
class Inset;
class Text;
class ParagraphList;

View File

@ -32,22 +32,16 @@ class AuthorList;
class Buffer;
class BufferParams;
class Change;
class Counters;
class Cursor;
class CursorSlice;
class DocIterator;
class docstring_list;
class DocumentClass;
class Inset;
class InsetBibitem;
class LaTeXFeatures;
class InsetList;
class Language;
class Layout;
class Font;
class MetricsInfo;
class OutputParams;
class PainterInfo;
class ParagraphParameters;
class TocBackend;
class WordLangTuple;

View File

@ -32,14 +32,8 @@ namespace lyx {
*/
typedef std::vector<Row> RowList;
class Buffer;
class BufferView;
class BufferParams;
class Font;
class Inset;
class Paragraph;
class MetricsInfo;
class PainterInfo;
/// Helper class for paragraph metrics.
class ParagraphMetrics {

View File

@ -19,8 +19,6 @@ namespace lyx {
namespace support { class FileName; }
class Buffer;
class DocIterator;
class ParIterator;
/**
* Checks and loads a LyX file \param filename.

View File

@ -25,22 +25,15 @@
namespace lyx {
class BufferView;
class Buffer;
class DispatchResult;
class docstring_list;
class FuncRequest;
class FuncStatus;
class Inset;
class Lexer;
struct RGBColor;
namespace frontend {
class Clipboard;
class FontLoader;
class Selection;
/// The main application class
/**
There should be only one instance of this class. No Qt object

View File

@ -16,7 +16,6 @@
namespace lyx {
class Buffer;
class DocIterator;
class Inset;

View File

@ -18,9 +18,6 @@
namespace lyx {
class BufferView;
class KeySymbol;
namespace frontend {
/**

View File

@ -29,7 +29,6 @@ class QFont;
namespace lyx {
class BufferView;
class ColorCache;
class KeySymbol;
@ -39,10 +38,11 @@ class FileName;
namespace frontend {
class Clipboard;
class FontLoader;
class GuiView;
class GuiWorkArea;
class Menus;
class SocketNotifier;
class Selection;
class Toolbars;
/// The Qt main application class

View File

@ -31,8 +31,6 @@
namespace lyx {
class BiblioInfo;
namespace frontend {
class GuiSelectionManager;

View File

@ -20,8 +20,6 @@
namespace lyx {
class Buffer;
namespace frontend {
class GuiWorkArea;

View File

@ -42,10 +42,8 @@
namespace lyx {
class BufferParams;
class LayoutModuleList;
class LyXModule;
class TextClass;
namespace support {
class TempFile;

View File

@ -16,8 +16,6 @@
#include "ErrorList.h"
#include "ui_ErrorListUi.h"
class QListWidgetItem;
namespace lyx {
namespace frontend {

View File

@ -18,12 +18,8 @@
#include <vector>
class QListWidgetItem;
namespace lyx {
class Format;
namespace frontend {
class GuiLyXFiles : public GuiDialog, public Ui::LyXFilesUi

View File

@ -21,8 +21,6 @@
#include <QPainterPath>
#include <stack>
class QString;
namespace lyx {
class FontInfo;

View File

@ -50,10 +50,6 @@
namespace lyx {
class Converters;
class Formats;
class Movers;
namespace frontend {
class PrefModule;

View File

@ -15,9 +15,7 @@
#include <QObject>
class QAbstractItemModel;
class QAbstractListModel;
class QModelIndex;
class QListView;
class QPushButton;
class QVariant;
class QAbstractItemView;

View File

@ -22,8 +22,6 @@ class QListWidgetItem;
namespace lyx {
class docstring_list;
namespace frontend {
class SpellcheckerWidget : public QTabWidget

View File

@ -20,7 +20,6 @@
namespace lyx {
namespace frontend {
class TocModel;
class TocWidget;
class GuiToc : public DockView

View File

@ -26,17 +26,12 @@ class QSettings;
namespace lyx {
class DocumentClass;
class Inset;
namespace frontend {
class Action;
class GuiCommandBuffer;
class GuiLayoutFilterModel;
class GuiToolbar;
class GuiView;
class LayoutBox;
class ToolbarInfo;
class ToolbarItem;

View File

@ -22,14 +22,13 @@
#include <QTabBar>
#include <QTabWidget>
class QDragEnterEvent;
class QDropEvent;
class QToolButton;
class QWidget;
namespace lyx {
class Buffer;
class BufferView;
class FuncRequest;
namespace frontend {

View File

@ -22,8 +22,6 @@
namespace lyx {
class Buffer;
namespace frontend {
class GuiCompleter;

View File

@ -22,9 +22,6 @@
namespace lyx {
class DocumentClass;
class Inset;
namespace frontend {
class GuiView;

View File

@ -16,8 +16,6 @@
#include <QFileDialog>
class QToolButton;
namespace lyx {
class LyXFileDialog : public QFileDialog

View File

@ -18,10 +18,7 @@
#include <QHash>
#include <QWidget>
class QAbstractButton;
class QHideEvent;
class QLineEdit;
class QPushButton;
class QStackedWidget;
class QTimer;
class QTreeWidget;

View File

@ -19,7 +19,6 @@
namespace lyx {
class Buffer;
class BufferView;
class DocIterator;
class FuncRequest;

View File

@ -25,17 +25,13 @@
class QComboBox;
class QLineEdit;
class QCheckBox;
class QString;
class QWidget;
template <class T> class QList;
namespace lyx {
namespace support { class FileName; }
class BufferParams;
namespace frontend {
class LengthCombo;

View File

@ -40,7 +40,6 @@ namespace support { class FileName; }
namespace graphics {
class Image;
class Converter;
/// A graphics::Cache item holder.
class CacheItem {

View File

@ -22,7 +22,6 @@ class Dimension;
namespace graphics {
class Cache;
class PreviewLoader;
class Image;

View File

@ -27,8 +27,6 @@
namespace lyx {
class Lexer;
namespace external {
/*

View File

@ -31,7 +31,6 @@
namespace lyx {
class BiblioInfo;
class Buffer;
class BufferView;
class Change;
@ -59,11 +58,9 @@ class MathAtom;
class MetricsInfo;
class OutputParams;
class PainterInfo;
class ParConstIterator;
class ParIterator;
class Text;
class TocBackend;
class TocList;
class XMLStream;
class otexstream;

View File

@ -18,8 +18,6 @@
namespace lyx {
class BiblioInfo;
/////////////////////////////////////////////////////////////////////////
//
// InsetBibItem

View File

@ -16,7 +16,6 @@
namespace lyx {
class BiblioInfo;
class docstring_list;
namespace support {

View File

@ -20,6 +20,8 @@
namespace lyx {
class InsetCaption;
class InsetCaptionable : public InsetCollapsible
{
public:

View File

@ -27,8 +27,6 @@ class InsetLayout;
namespace support { class TempFile; }
namespace frontend { class Painter; }
/** A collapsible text inset
*/

View File

@ -26,8 +26,6 @@ namespace lyx {
versions of this inset.
*/
class Language;
class InsetERT : public InsetCollapsible {
public:
///

View File

@ -22,7 +22,6 @@
namespace lyx {
class BiblioInfo;
class Buffer;
class Dimension;
class InsetCommandParams;

View File

@ -17,8 +17,6 @@
namespace lyx {
class Counter;
class InsetLabel : public InsetCommand
{
public:

View File

@ -20,8 +20,6 @@
namespace lyx {
class LaTeXFeatures;
class InsetLine : public InsetCommand
{
public:

View File

@ -44,7 +44,6 @@ class CursorSlice;
class FuncStatus;
class Lexer;
class OutputParams;
class Paragraph;
class XMLStream;

View File

@ -23,9 +23,6 @@ class CompletionList;
class CursorSlice;
class Dimension;
class ParagraphList;
class InsetCaption;
class InsetTabular;
class TocBuilder;
/**
A text inset is like a TeX box to write full text

View File

@ -64,7 +64,6 @@ inclusion in the "real LyX insets" FormulaInset and FormulaMacroInset.
*/
class Cursor;
class OutputParams;
class MetricsInfo;

View File

@ -17,8 +17,6 @@
namespace lyx {
class latexkeys;
/// Inset for end-of-line comments
class InsetMathComment : public InsetMathNest {
public:

View File

@ -20,7 +20,6 @@
namespace lyx {
class BufferParams;
class BufferView;
/** Gridded math inset base class.

View File

@ -26,7 +26,6 @@ namespace lyx {
class Buffer;
class MathData;
class InsetMathMacroTemplate;
class Paragraph;
class latexkeys;
enum MacroType {

View File

@ -44,7 +44,6 @@ Andre'
namespace lyx {
class Inset;
class InsetMath;
class MathAtom {

View File

@ -20,8 +20,6 @@
namespace lyx {
namespace support {
class Systemcall;
/**
* Outputs to the console terminal the line buffered standard output and
* error of a spawned process when there is a controlling terminal and