Skip to content

Commit

Permalink
fix: remove unused forward declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Montel committed Aug 13, 2024
1 parent fa7ffd8 commit 795776d
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 20 deletions.
2 changes: 0 additions & 2 deletions src/core/astnode.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ namespace treesitter {
class Node;
}

class TestCodeDocument;

namespace Core {

class CodeDocument;
Expand Down
1 change: 0 additions & 1 deletion src/core/codedocument.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class Query;

namespace Core {

class LspCache;
class TreeSitterHelper;
struct RegexpTransform;
class AstNode;
Expand Down
2 changes: 0 additions & 2 deletions src/core/knutcore.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
#include <QCommandLineParser>
#include <QObject>

class QCoreApplication;

namespace Core {

class KnutCore : public QObject
Expand Down
1 change: 0 additions & 1 deletion src/core/scriptdialogitem.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class ScriptProgressDialog;
class QTextDocument;

namespace KSyntaxHighlighting {
class SyntaxHighlighter;
}

namespace Core {
Expand Down
4 changes: 0 additions & 4 deletions src/gui/qmlview.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@

#include "textview.h"

namespace Core {
class QmlDocument;
}

namespace Gui {

class QmlView : public TextView
Expand Down
5 changes: 0 additions & 5 deletions src/gui/scriptlistpanel.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,11 @@

#include <QTreeView>

namespace Core {
class Document;
}
class QToolButton;
class QLineEdit;

namespace Gui {

class IView;

class ScriptListPanel : public QTreeView
{

Expand Down
4 changes: 0 additions & 4 deletions src/gui/slintview.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@

#include "textview.h"

namespace Core {
class SlintDocument;
}

class QProcess;

namespace Gui {
Expand Down
1 change: 0 additions & 1 deletion src/gui/textview.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

#include <QWidget>

class QRubberBand;
class QToolButton;

namespace Core {
Expand Down

0 comments on commit 795776d

Please sign in to comment.