diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-12-06 15:17:15 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-12-06 15:17:15 -0600 |
commit | 6e9f8cb7044774da171b2a0f6ffdda579eb9ddab (patch) | |
tree | 8078dd1ba3a4b5ec1d651c09156cf18e2cba9d51 /akregator/src/storagefactory.h | |
parent | 96cf12b16ab69bcb2df0773091ba9751e9219446 (diff) | |
download | tdepim-6e9f8cb7044774da171b2a0f6ffdda579eb9ddab.tar.gz tdepim-6e9f8cb7044774da171b2a0f6ffdda579eb9ddab.zip |
Fix Kontact crash in Akregator part due to identical destructor signatures being generated for two unrelated classesr14.0.0
This relates to Bug 2235
Fix a slew of non-virtual destructor problems
Diffstat (limited to 'akregator/src/storagefactory.h')
-rw-r--r-- | akregator/src/storagefactory.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/akregator/src/storagefactory.h b/akregator/src/storagefactory.h index 93ab7f753..3505ef449 100644 --- a/akregator/src/storagefactory.h +++ b/akregator/src/storagefactory.h @@ -38,18 +38,21 @@ class Storage; class AKREGATOR_EXPORT StorageFactory { public: - + + StorageFactory() {} + virtual ~StorageFactory() {} + /** identifier of the storage type, like "metakit", "postgres" etc. For use in configuration files. Must not contain spaces or special characters. */ virtual TQString key() const = 0; - + /** returns the (i18n'd) name of the storage type. */ virtual TQString name() const = 0; /** true if the plugin is configurable via a config dialog */ virtual bool isConfigurable() const = 0; - + /** shows the plugin's configuration dialog */ virtual void configure() = 0; @@ -59,11 +62,11 @@ class AKREGATOR_EXPORT StorageFactory * write access. */ virtual bool allowsMultipleWriteAccess() const = 0; - + /** creates a storage object with given parameters @param params list of implementation-specific parameters */ - virtual Storage* createStorage(const TQStringList& params) const = 0; + virtual Storage* createStorage(const TQStringList& params) const = 0; }; } |