mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
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:
@@ -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
|
||||
|
||||
@@ -347,7 +347,6 @@
|
||||
<slot>importData()</slot>
|
||||
<slot>exportData()</slot>
|
||||
<slot>editTextChanged()</slot>
|
||||
<slot>checkDataType()</slot>
|
||||
<slot>editModeChanged(int)</slot>
|
||||
<slot>setNull()</slot>
|
||||
</slots>
|
||||
|
||||
Reference in New Issue
Block a user