Turn some slots into normal functions

They aren't used for signal processing at the moment and don't look like
they can be used for that easily.
This commit is contained in:
Martin Kleusberg
2017-10-30 13:15:43 +01:00
parent 7c1ff86900
commit 3a70b412e8
2 changed files with 3 additions and 3 deletions

View File

@@ -35,13 +35,11 @@ private slots:
void setNull();
void updateApplyButton();
virtual void accept();
int checkDataType(const QByteArray& data);
void loadData(const QByteArray& data);
void toggleOverwriteMode();
void editModeChanged(int newMode);
void editTextChanged();
void updateCellInfo(const QByteArray& data);
QString humanReadableSize(double byteCount) const;
signals:
void recordTextUpdated(const QPersistentModelIndex& idx, const QByteArray& data, bool isBlob);
@@ -72,6 +70,9 @@ private:
HexEditor = 1,
ImageViewer = 2
};
int checkDataType(const QByteArray& data);
QString humanReadableSize(double byteCount) const;
};
#endif

View File

@@ -347,7 +347,6 @@
<slot>importData()</slot>
<slot>exportData()</slot>
<slot>editTextChanged()</slot>
<slot>checkDataType()</slot>
<slot>editModeChanged(int)</slot>
<slot>setNull()</slot>
</slots>