Ref T264, sued "new signal syntax" with some QShortcuts and as a result made some slots "normal functions"

This commit is contained in:
Klaus Basan
2018-05-14 11:16:30 +02:00
parent 1336aa05f9
commit 98bc0a7d6e
5 changed files with 58 additions and 43 deletions

View File

@@ -429,6 +429,12 @@ namespace BlackGui
//! Draw drop indicator
virtual void drawDropIndicator(bool indicator) = 0;
//! Save JSON for action/menu, no return signatur
void saveJsonAction();
//! Display the filter dialog
void displayFilterDialog();
//! Settings have been changed
void settingsChanged();
@@ -463,9 +469,6 @@ namespace BlackGui
//! Helper method with template free signature serving as callback from threaded worker
int ps_updateContainer(const BlackMisc::CVariant &variant, bool sort, bool resize);
//! Display the filter dialog
void ps_displayFilterDialog();
//! Remove filter
virtual void ps_removeFilter() = 0;
@@ -493,9 +496,6 @@ namespace BlackGui
//! Save JSON
virtual BlackMisc::CStatusMessage ps_saveJson() = 0;
//! Save JSON for action/menu, no return signatur
void ps_saveJsonAction();
//! Trigger reload from backend by signal requestUpdate();
void ps_triggerReload();
@@ -517,10 +517,6 @@ namespace BlackGui
//! Highlight DB data
virtual void ps_toggleHighlightDbData() {}
private slots:
//! Remove selected rows
void ps_removeSelectedRows();
private:
//! \name Change selection modes @{
void setMultiSelection();
@@ -528,6 +524,9 @@ namespace BlackGui
void setSingleSelection();
//! @}
//! Remove selected rows
void ps_removeSelectedRows();
//! Toggle auto display flag
void toggleAutoDisplay();