Commit 281c42c7 authored by hjk's avatar hjk Committed by David Schulz

BinEditor: Rename Editor->EditorWidget, Editable->Editor

Closer to modern naming convention.

Change-Id: I80875d865336495995e0a8ad05aaf49e22fa3fb0
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent c7dd8548
This diff is collapsed.
......@@ -55,7 +55,7 @@ class FontSettings;
namespace BINEditor {
class BinEditor : public QAbstractScrollArea
class BinEditorWidget : public QAbstractScrollArea
{
Q_OBJECT
Q_PROPERTY(bool modified READ isModified WRITE setModified DESIGNABLE false)
......@@ -63,8 +63,8 @@ class BinEditor : public QAbstractScrollArea
Q_PROPERTY(QList<BINEditor::Markup> markup READ markup WRITE setMarkup DESIGNABLE false)
Q_PROPERTY(bool newWindowRequestAllowed READ newWindowRequestAllowed WRITE setNewWindowRequestAllowed DESIGNABLE false)
public:
BinEditor(QWidget *parent = 0);
~BinEditor();
BinEditorWidget(QWidget *parent = 0);
~BinEditorWidget();
quint64 baseAddress() const { return m_baseAddr; }
......
This diff is collapsed.
......@@ -40,7 +40,7 @@
#include <QAction>
namespace BINEditor {
class BinEditor;
class BinEditorWidget;
class BinEditorWidgetFactory : public QObject
{
......@@ -67,7 +67,7 @@ public:
void extensionsInitialized();
// Connect editor to settings changed signals.
void initializeEditor(BinEditor *editor);
void initializeEditor(BinEditorWidget *editor);
private slots:
void undoAction();
......@@ -92,7 +92,7 @@ private:
Core::IEditor *createEditor(QWidget *parent);
BinEditorFactory *m_factory;
QPointer<BinEditor> m_currentEditor;
QPointer<BinEditorWidget> m_currentEditor;
};
class BinEditorFactory : public Core::IEditorFactory
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment