From: Manuel Nickschas Date: Thu, 28 May 2020 14:39:37 +0000 (+0200) Subject: core: Remove slots from storage APIs X-Git-Tag: test-travis-01~1 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=8dfdd498679c773cf2e7958c5fd434bf56f634e3;hp=673ded0d543cbdc2cf6e746b6bee7c1d21af8f90 core: Remove slots from storage APIs Remove the deprecated slots declaratiosn from the storage APIs. This avoids problems with the now non-copyable SyncableObject with ancient versions of Qt, where the MOC generated code for slots that required arguments to be copyable. --- diff --git a/src/core/postgresqlstorage.h b/src/core/postgresqlstorage.h index 78ddc9da..2821fe65 100644 --- a/src/core/postgresqlstorage.h +++ b/src/core/postgresqlstorage.h @@ -34,7 +34,6 @@ public: std::unique_ptr createMigrationWriter() override; -public slots: /* General */ bool isAvailable() const override; QString backendId() const override; diff --git a/src/core/sqlitestorage.h b/src/core/sqlitestorage.h index 3e9de416..4d6f0b07 100644 --- a/src/core/sqlitestorage.h +++ b/src/core/sqlitestorage.h @@ -38,7 +38,6 @@ public: std::unique_ptr createMigrationReader() override; -public slots: /* General */ bool isAvailable() const override; diff --git a/src/core/storage.h b/src/core/storage.h index 5d47c097..d5ece50f 100644 --- a/src/core/storage.h +++ b/src/core/storage.h @@ -56,7 +56,6 @@ public: }; -public slots: /* General */ //! Check if the storage type is available.