forked from qt-creator/qt-creator
Core: Remove QObject inheritance of IOptionsPageProvider
This was not really used. Change-Id: I86049697d211d88827a9633b367d2121fa8d1f1c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -277,8 +277,7 @@ bool IOptionsPage::matches(const QRegularExpression ®exp) const
|
||||
|
||||
static QList<IOptionsPageProvider *> g_optionsPagesProviders;
|
||||
|
||||
IOptionsPageProvider::IOptionsPageProvider(QObject *parent)
|
||||
: QObject(parent)
|
||||
IOptionsPageProvider::IOptionsPageProvider()
|
||||
{
|
||||
g_optionsPagesProviders.append(this);
|
||||
}
|
||||
|
||||
@@ -99,13 +99,13 @@ private:
|
||||
before the options pages get available.)
|
||||
*/
|
||||
|
||||
class CORE_EXPORT IOptionsPageProvider : public QObject
|
||||
class CORE_EXPORT IOptionsPageProvider
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY_MOVE(IOptionsPageProvider);
|
||||
|
||||
public:
|
||||
IOptionsPageProvider(QObject *parent = nullptr);
|
||||
~IOptionsPageProvider() override;
|
||||
IOptionsPageProvider();
|
||||
virtual ~IOptionsPageProvider();
|
||||
|
||||
static const QList<IOptionsPageProvider *> allOptionsPagesProviders();
|
||||
|
||||
|
||||
@@ -19,8 +19,6 @@ public:
|
||||
|
||||
class SettingsPageProvider : public Core::IOptionsPageProvider
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SettingsPageProvider();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user