Port trivial connects to the new style
This commit is contained in:
parent
f53365633c
commit
d3b22f8828
@ -32,13 +32,13 @@ SortFilterModel::SortFilterModel(QObject *parent)
|
|||||||
{
|
{
|
||||||
setObjectName(QStringLiteral("SortFilterModel"));
|
setObjectName(QStringLiteral("SortFilterModel"));
|
||||||
setDynamicSortFilter(true);
|
setDynamicSortFilter(true);
|
||||||
connect(this, SIGNAL(rowsInserted(QModelIndex,int,int)),
|
connect(this, &QAbstractItemModel::rowsInserted,
|
||||||
this, SIGNAL(countChanged()));
|
this, &SortFilterModel::countChanged);
|
||||||
connect(this, SIGNAL(rowsRemoved(QModelIndex,int,int)),
|
connect(this, &QAbstractItemModel::rowsRemoved,
|
||||||
this, SIGNAL(countChanged()));
|
this, &SortFilterModel::countChanged);
|
||||||
connect(this, SIGNAL(modelReset()),
|
connect(this, &QAbstractItemModel::modelReset,
|
||||||
this, SIGNAL(countChanged()));
|
this, &SortFilterModel::countChanged);
|
||||||
connect(this, SIGNAL(countChanged()), this, SLOT(syncRoleNames()));
|
connect(this, &SortFilterModel::countChanged, this, &SortFilterModel::syncRoleNames);
|
||||||
}
|
}
|
||||||
|
|
||||||
SortFilterModel::~SortFilterModel()
|
SortFilterModel::~SortFilterModel()
|
||||||
@ -82,13 +82,13 @@ void SortFilterModel::setModel(QAbstractItemModel *model)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (sourceModel()) {
|
if (sourceModel()) {
|
||||||
disconnect(sourceModel(), SIGNAL(modelReset()), this, SLOT(syncRoleNames()));
|
disconnect(sourceModel(), &QAbstractItemModel::modelReset, this, &SortFilterModel::syncRoleNames);
|
||||||
}
|
}
|
||||||
|
|
||||||
QSortFilterProxyModel::setSourceModel(model);
|
QSortFilterProxyModel::setSourceModel(model);
|
||||||
|
|
||||||
if (model) {
|
if (model) {
|
||||||
connect(model, SIGNAL(modelReset()), this, SLOT(syncRoleNames()));
|
connect(model, &QAbstractItemModel::modelReset, this, &SortFilterModel::syncRoleNames);
|
||||||
syncRoleNames();
|
syncRoleNames();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -245,12 +245,12 @@ DataModel::DataModel(QObject *parent)
|
|||||||
++m_maxRoleId;
|
++m_maxRoleId;
|
||||||
|
|
||||||
setObjectName(QStringLiteral("DataModel"));
|
setObjectName(QStringLiteral("DataModel"));
|
||||||
connect(this, SIGNAL(rowsInserted(QModelIndex,int,int)),
|
connect(this, &QAbstractItemModel::rowsInserted,
|
||||||
this, SIGNAL(countChanged()));
|
this, &DataModel::countChanged);
|
||||||
connect(this, SIGNAL(rowsRemoved(QModelIndex,int,int)),
|
connect(this, &QAbstractItemModel::rowsRemoved,
|
||||||
this, SIGNAL(countChanged()));
|
this, &DataModel::countChanged);
|
||||||
connect(this, SIGNAL(modelReset()),
|
connect(this, &QAbstractItemModel::modelReset,
|
||||||
this, SIGNAL(countChanged()));
|
this, &DataModel::countChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
DataModel::~DataModel()
|
DataModel::~DataModel()
|
||||||
|
@ -116,12 +116,12 @@ void DataSource::setEngine(const QString &e)
|
|||||||
* recommendations engine.
|
* recommendations engine.
|
||||||
*/
|
*/
|
||||||
m_dataEngine = engine;
|
m_dataEngine = engine;
|
||||||
connect(m_dataEngine, SIGNAL(sourceAdded(QString)), this, SLOT(updateSources()), Qt::QueuedConnection);
|
connect(m_dataEngine, &DataEngine::sourceAdded, this, &DataSource::updateSources, Qt::QueuedConnection);
|
||||||
connect(m_dataEngine, SIGNAL(sourceRemoved(QString)), this, SLOT(updateSources()));
|
connect(m_dataEngine, &DataEngine::sourceRemoved, this, &DataSource::updateSources);
|
||||||
|
|
||||||
connect(m_dataEngine, SIGNAL(sourceAdded(QString)), this, SIGNAL(sourceAdded(QString)), Qt::QueuedConnection);
|
connect(m_dataEngine, &DataEngine::sourceAdded, this, &DataSource::sourceAdded, Qt::QueuedConnection);
|
||||||
connect(m_dataEngine, SIGNAL(sourceRemoved(QString)), this, SLOT(removeSource(QString)));
|
connect(m_dataEngine, &DataEngine::sourceRemoved, this, &DataSource::removeSource);
|
||||||
connect(m_dataEngine, SIGNAL(sourceRemoved(QString)), this, SIGNAL(sourceRemoved(QString)));
|
connect(m_dataEngine, &DataEngine::sourceRemoved, this, &DataSource::sourceRemoved);
|
||||||
|
|
||||||
updateSources();
|
updateSources();
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ Units::Units(QObject *parent)
|
|||||||
updateSpacing(); // updates gridUnit and *Spacing properties
|
updateSpacing(); // updates gridUnit and *Spacing properties
|
||||||
|
|
||||||
connect(KIconLoader::global(), &KIconLoader::iconLoaderSettingsChanged, this, &Units::iconLoaderSettingsChanged);
|
connect(KIconLoader::global(), &KIconLoader::iconLoaderSettingsChanged, this, &Units::iconLoaderSettingsChanged);
|
||||||
QObject::connect(s_sharedAppFilter, SIGNAL(fontChanged()), this, SLOT(updateSpacing()));
|
QObject::connect(s_sharedAppFilter, &SharedAppFilter::fontChanged, this, &Units::updateSpacing);
|
||||||
|
|
||||||
const QString configFile = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + QLatin1Char('/') + plasmarc();
|
const QString configFile = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + QLatin1Char('/') + plasmarc();
|
||||||
KDirWatch::self()->addFile(configFile);
|
KDirWatch::self()->addFile(configFile);
|
||||||
|
@ -63,8 +63,8 @@ QQmlEngine *EngineBookKeeping::engine() const
|
|||||||
|
|
||||||
void EngineBookKeeping::insertEngine(QQmlEngine *engine)
|
void EngineBookKeeping::insertEngine(QQmlEngine *engine)
|
||||||
{
|
{
|
||||||
connect(engine, SIGNAL(destroyed(QObject*)),
|
connect(engine, &QObject::destroyed,
|
||||||
this, SLOT(engineDestroyed(QObject*)));
|
this, &EngineBookKeeping::engineDestroyed);
|
||||||
m_engines.insert(engine);
|
m_engines.insert(engine);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ void QMenuItem::setAction(QAction *a)
|
|||||||
|
|
||||||
connect(m_action, &QAction::changed, this, &QMenuItem::textChanged);
|
connect(m_action, &QAction::changed, this, &QMenuItem::textChanged);
|
||||||
connect(m_action, &QAction::changed, this, &QMenuItem::checkableChanged);
|
connect(m_action, &QAction::changed, this, &QMenuItem::checkableChanged);
|
||||||
connect(m_action, SIGNAL(toggled(bool)), this, SIGNAL(toggled(bool)));
|
connect(m_action, &QAction::toggled, this, &QMenuItem::toggled);
|
||||||
connect(m_action, &QAction::triggered, this, &QMenuItem::clicked);
|
connect(m_action, &QAction::triggered, this, &QMenuItem::clicked);
|
||||||
|
|
||||||
connect(this, &QQuickItem::visibleChanged, this, &QMenuItem::updateAction);
|
connect(this, &QQuickItem::visibleChanged, this, &QMenuItem::updateAction);
|
||||||
|
@ -30,8 +30,8 @@ Application::Private::Private(Application *parent)
|
|||||||
, q(parent)
|
, q(parent)
|
||||||
{
|
{
|
||||||
connect(
|
connect(
|
||||||
&process, SIGNAL(stateChanged(QProcess::ProcessState)),
|
&process, &QProcess::stateChanged,
|
||||||
this, SLOT(stateChanged(QProcess::ProcessState))
|
this, &Private::stateChanged
|
||||||
);
|
);
|
||||||
connect(
|
connect(
|
||||||
&process, SIGNAL(error(QProcess::ProcessError)),
|
&process, SIGNAL(error(QProcess::ProcessError)),
|
||||||
|
@ -557,7 +557,7 @@ void Applet::flushPendingConstraintsEvents()
|
|||||||
|
|
||||||
QAction *runAssociatedApplication = d->actions->action(QStringLiteral("run associated application"));
|
QAction *runAssociatedApplication = d->actions->action(QStringLiteral("run associated application"));
|
||||||
if (runAssociatedApplication) {
|
if (runAssociatedApplication) {
|
||||||
connect(runAssociatedApplication, SIGNAL(triggered(bool)), this, SLOT(runAssociatedApplication()), Qt::UniqueConnection);
|
connect(runAssociatedApplication, &QAction::triggered, this, &Applet::runAssociatedApplication, Qt::UniqueConnection);
|
||||||
}
|
}
|
||||||
|
|
||||||
d->updateShortcuts();
|
d->updateShortcuts();
|
||||||
@ -670,7 +670,7 @@ void Applet::setGlobalShortcut(const QKeySequence &shortcut)
|
|||||||
d->activationAction = new QAction(this);
|
d->activationAction = new QAction(this);
|
||||||
d->activationAction->setText(i18n("Activate %1 Widget", title()));
|
d->activationAction->setText(i18n("Activate %1 Widget", title()));
|
||||||
d->activationAction->setObjectName(QStringLiteral("activate widget %1").arg(id())); // NO I18N
|
d->activationAction->setObjectName(QStringLiteral("activate widget %1").arg(id())); // NO I18N
|
||||||
connect(d->activationAction, SIGNAL(triggered()), this, SIGNAL(activated()));
|
connect(d->activationAction, &QAction::triggered, this, &Applet::activated);
|
||||||
connect(d->activationAction, SIGNAL(changed()),
|
connect(d->activationAction, SIGNAL(changed()),
|
||||||
this, SLOT(globalShortcutChanged()));
|
this, SLOT(globalShortcutChanged()));
|
||||||
} else if (d->activationAction->shortcut() == shortcut) {
|
} else if (d->activationAction->shortcut() == shortcut) {
|
||||||
|
@ -412,7 +412,7 @@ void Containment::addApplet(Applet *applet)
|
|||||||
oldConfig.reparent(&c);
|
oldConfig.reparent(&c);
|
||||||
applet->d->resetConfigurationObject();
|
applet->d->resetConfigurationObject();
|
||||||
|
|
||||||
disconnect(applet, SIGNAL(activated()), currentContainment, SIGNAL(activated()));
|
disconnect(applet, &Applet::activated, currentContainment, &Applet::activated);
|
||||||
//change the group to its configloader, if any
|
//change the group to its configloader, if any
|
||||||
//FIXME: this is very, very brutal
|
//FIXME: this is very, very brutal
|
||||||
if (applet->configScheme()) {
|
if (applet->configScheme()) {
|
||||||
@ -439,10 +439,10 @@ void Containment::addApplet(Applet *applet)
|
|||||||
d->loadingApplets << applet;
|
d->loadingApplets << applet;
|
||||||
}
|
}
|
||||||
|
|
||||||
connect(applet, SIGNAL(configNeedsSaving()), this, SIGNAL(configNeedsSaving()));
|
connect(applet, &Applet::configNeedsSaving, this, &Applet::configNeedsSaving);
|
||||||
connect(applet, SIGNAL(appletDeleted(Plasma::Applet*)), this, SLOT(appletDeleted(Plasma::Applet*)));
|
connect(applet, SIGNAL(appletDeleted(Plasma::Applet*)), this, SLOT(appletDeleted(Plasma::Applet*)));
|
||||||
connect(applet, SIGNAL(statusChanged(Plasma::Types::ItemStatus)), this, SLOT(checkStatus(Plasma::Types::ItemStatus)));
|
connect(applet, SIGNAL(statusChanged(Plasma::Types::ItemStatus)), this, SLOT(checkStatus(Plasma::Types::ItemStatus)));
|
||||||
connect(applet, SIGNAL(activated()), this, SIGNAL(activated()));
|
connect(applet, &Applet::activated, this, &Applet::activated);
|
||||||
|
|
||||||
if (!currentContainment) {
|
if (!currentContainment) {
|
||||||
const bool isNew = applet->d->mainConfigGroup()->entryMap().isEmpty();
|
const bool isNew = applet->d->mainConfigGroup()->entryMap().isEmpty();
|
||||||
|
@ -561,10 +561,10 @@ Containment *CoronaPrivate::addContainment(const QString &name, const QVariantLi
|
|||||||
|
|
||||||
QObject::connect(containment, SIGNAL(destroyed(QObject*)),
|
QObject::connect(containment, SIGNAL(destroyed(QObject*)),
|
||||||
q, SLOT(containmentDestroyed(QObject*)));
|
q, SLOT(containmentDestroyed(QObject*)));
|
||||||
QObject::connect(containment, SIGNAL(configNeedsSaving()),
|
QObject::connect(containment, &Applet::configNeedsSaving,
|
||||||
q, SLOT(requestConfigSync()));
|
q, &Corona::requestConfigSync);
|
||||||
QObject::connect(containment, SIGNAL(screenChanged(int)),
|
QObject::connect(containment, &Containment::screenChanged,
|
||||||
q, SIGNAL(screenOwnerChanged(int)));
|
q, &Corona::screenOwnerChanged);
|
||||||
|
|
||||||
if (!delayedInit) {
|
if (!delayedInit) {
|
||||||
containment->init();
|
containment->init();
|
||||||
|
@ -158,8 +158,8 @@ void DataContainer::connectVisualization(QObject *visualization, uint pollingInt
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
connect(visualization, SIGNAL(destroyed(QObject*)),
|
connect(visualization, &QObject::destroyed,
|
||||||
this, SLOT(disconnectVisualization(QObject*))); //, Qt::QueuedConnection);
|
this, &DataContainer::disconnectVisualization); //, Qt::QueuedConnection);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pollingInterval < 1) {
|
if (pollingInterval < 1) {
|
||||||
@ -312,8 +312,8 @@ void DataContainerPrivate::populateFromStoredData(KJob *job)
|
|||||||
void DataContainer::disconnectVisualization(QObject *visualization)
|
void DataContainer::disconnectVisualization(QObject *visualization)
|
||||||
{
|
{
|
||||||
QMap<QObject *, SignalRelay *>::iterator objIt = d->relayObjects.find(visualization);
|
QMap<QObject *, SignalRelay *>::iterator objIt = d->relayObjects.find(visualization);
|
||||||
disconnect(visualization, SIGNAL(destroyed(QObject*)),
|
disconnect(visualization, &QObject::destroyed,
|
||||||
this, SLOT(disconnectVisualization(QObject*))); //, Qt::QueuedConnection);
|
this, &DataContainer::disconnectVisualization); //, Qt::QueuedConnection);
|
||||||
|
|
||||||
if (objIt == d->relayObjects.end() || !objIt.value()) {
|
if (objIt == d->relayObjects.end() || !objIt.value()) {
|
||||||
// it is connected directly to the DataContainer itself
|
// it is connected directly to the DataContainer itself
|
||||||
|
@ -597,7 +597,7 @@ DataContainer *DataEnginePrivate::requestSource(const QString &sourceName, bool
|
|||||||
if (newSource) {
|
if (newSource) {
|
||||||
*newSource = true;
|
*newSource = true;
|
||||||
}
|
}
|
||||||
QObject::connect(s, SIGNAL(becameUnused(QString)), q, SLOT(removeSource(QString)));
|
QObject::connect(s, &DataContainer::becameUnused, q, &DataEngine::removeSource);
|
||||||
emit q->sourceAdded(sourceName);
|
emit q->sourceAdded(sourceName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ StorageJob::StorageJob(const QString &destination,
|
|||||||
m_clientName(destination)
|
m_clientName(destination)
|
||||||
{
|
{
|
||||||
Plasma::StorageThread::self()->start();
|
Plasma::StorageThread::self()->start();
|
||||||
connect(Plasma::StorageThread::self(), SIGNAL(newResult(StorageJob*,QVariant)), this, SLOT(resultSlot(StorageJob*,QVariant)));
|
connect(Plasma::StorageThread::self(), &Plasma::StorageThread::newResult, this, &StorageJob::resultSlot);
|
||||||
qRegisterMetaType<StorageJob *>();
|
qRegisterMetaType<StorageJob *>();
|
||||||
qRegisterMetaType<QPointer<StorageJob> >();
|
qRegisterMetaType<QPointer<StorageJob> >();
|
||||||
}
|
}
|
||||||
|
@ -84,18 +84,18 @@ ThemePrivate::ThemePrivate(QObject *parent)
|
|||||||
pixmapSaveTimer = new QTimer(this);
|
pixmapSaveTimer = new QTimer(this);
|
||||||
pixmapSaveTimer->setSingleShot(true);
|
pixmapSaveTimer->setSingleShot(true);
|
||||||
pixmapSaveTimer->setInterval(600);
|
pixmapSaveTimer->setInterval(600);
|
||||||
QObject::connect(pixmapSaveTimer, SIGNAL(timeout()), this, SLOT(scheduledCacheUpdate()));
|
QObject::connect(pixmapSaveTimer, &QTimer::timeout, this, &ThemePrivate::scheduledCacheUpdate);
|
||||||
|
|
||||||
rectSaveTimer = new QTimer(this);
|
rectSaveTimer = new QTimer(this);
|
||||||
rectSaveTimer->setSingleShot(true);
|
rectSaveTimer->setSingleShot(true);
|
||||||
//2 minutes
|
//2 minutes
|
||||||
rectSaveTimer->setInterval(2 * 60 * 1000);
|
rectSaveTimer->setInterval(2 * 60 * 1000);
|
||||||
QObject::connect(rectSaveTimer, SIGNAL(timeout()), this, SLOT(saveSvgElementsCache()));
|
QObject::connect(rectSaveTimer, &QTimer::timeout, this, &ThemePrivate::saveSvgElementsCache);
|
||||||
|
|
||||||
updateNotificationTimer = new QTimer(this);
|
updateNotificationTimer = new QTimer(this);
|
||||||
updateNotificationTimer->setSingleShot(true);
|
updateNotificationTimer->setSingleShot(true);
|
||||||
updateNotificationTimer->setInterval(100);
|
updateNotificationTimer->setInterval(100);
|
||||||
QObject::connect(updateNotificationTimer, SIGNAL(timeout()), this, SLOT(notifyOfChanged()));
|
QObject::connect(updateNotificationTimer, &QTimer::timeout, this, &ThemePrivate::notifyOfChanged);
|
||||||
|
|
||||||
if (QPixmap::defaultDepth() > 8) {
|
if (QPixmap::defaultDepth() > 8) {
|
||||||
#if HAVE_X11
|
#if HAVE_X11
|
||||||
@ -200,11 +200,11 @@ bool ThemePrivate::useCache()
|
|||||||
|
|
||||||
// watch the metadata file for changes at runtime
|
// watch the metadata file for changes at runtime
|
||||||
KDirWatch::self()->addFile(themeMetadataPath);
|
KDirWatch::self()->addFile(themeMetadataPath);
|
||||||
QObject::connect(KDirWatch::self(), SIGNAL(created(QString)),
|
QObject::connect(KDirWatch::self(), &KDirWatch::created,
|
||||||
this, SLOT(settingsFileChanged(QString)),
|
this, &ThemePrivate::settingsFileChanged,
|
||||||
Qt::UniqueConnection);
|
Qt::UniqueConnection);
|
||||||
QObject::connect(KDirWatch::self(), SIGNAL(dirty(QString)),
|
QObject::connect(KDirWatch::self(), &KDirWatch::dirty,
|
||||||
this, SLOT(settingsFileChanged(QString)),
|
this, &ThemePrivate::settingsFileChanged,
|
||||||
Qt::UniqueConnection);
|
Qt::UniqueConnection);
|
||||||
|
|
||||||
if (!iconThemeMetadataPath.isEmpty()) {
|
if (!iconThemeMetadataPath.isEmpty()) {
|
||||||
|
@ -88,7 +88,7 @@ TimeTracker::TimeTracker(QObject* o)
|
|||||||
QTimer* t = new QTimer(this);
|
QTimer* t = new QTimer(this);
|
||||||
t->setInterval(2000);
|
t->setInterval(2000);
|
||||||
t->setSingleShot(false);
|
t->setSingleShot(false);
|
||||||
connect(t, SIGNAL(timeout()), this, SLOT(sync()));
|
connect(t, &QTimer::timeout, this, &TimeTracker::sync);
|
||||||
t->start();
|
t->start();
|
||||||
|
|
||||||
QMetaObject::invokeMethod(this, "init", Qt::QueuedConnection);
|
QMetaObject::invokeMethod(this, "init", Qt::QueuedConnection);
|
||||||
|
@ -56,7 +56,7 @@ struct ObjectHistory
|
|||||||
* as the process has quit.
|
* as the process has quit.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class PLASMA_EXPORT TimeTracker : QObject
|
class PLASMA_EXPORT TimeTracker : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
@ -741,8 +741,8 @@ Dialog::Dialog(QQuickItem *parent)
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
connect(this, SIGNAL(visibleChanged(bool)),
|
connect(this, &QWindow::visibleChanged,
|
||||||
this, SIGNAL(visibleChangedProxy()));
|
this, &Dialog::visibleChangedProxy);
|
||||||
connect(this, SIGNAL(visibleChanged(bool)),
|
connect(this, SIGNAL(visibleChanged(bool)),
|
||||||
this, SLOT(updateInputShape()));
|
this, SLOT(updateInputShape()));
|
||||||
connect(this, SIGNAL(outputOnlyChanged()),
|
connect(this, SIGNAL(outputOnlyChanged()),
|
||||||
|
@ -472,7 +472,7 @@ void ContainmentInterface::processMimeData(QMimeData *mimeData, int x, int y, KI
|
|||||||
KIO::MimetypeJob *job = KIO::mimetype(url, flags);
|
KIO::MimetypeJob *job = KIO::mimetype(url, flags);
|
||||||
m_dropPoints[job] = QPoint(x, y);
|
m_dropPoints[job] = QPoint(x, y);
|
||||||
|
|
||||||
QObject::connect(job, SIGNAL(result(KJob*)), this, SLOT(dropJobResult(KJob*)));
|
QObject::connect(job, &KJob::result, this, &ContainmentInterface::dropJobResult);
|
||||||
QObject::connect(job, SIGNAL(mimetype(KIO::Job*,QString)),
|
QObject::connect(job, SIGNAL(mimetype(KIO::Job*,QString)),
|
||||||
this, SLOT(mimeTypeRetrieved(KIO::Job*,QString)));
|
this, SLOT(mimeTypeRetrieved(KIO::Job*,QString)));
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ DPITest::DPITest(int &argc, char **argv, QCommandLineParser *parser) :
|
|||||||
{
|
{
|
||||||
d = new DPITestPrivate;
|
d = new DPITestPrivate;
|
||||||
d->parser = parser;
|
d->parser = parser;
|
||||||
QTimer::singleShot(0, this, SLOT(runMain()));
|
QTimer::singleShot(0, this, &DPITest::runMain);
|
||||||
}
|
}
|
||||||
|
|
||||||
DPITest::~DPITest()
|
DPITest::~DPITest()
|
||||||
|
@ -62,7 +62,7 @@ PluginTest::PluginTest(int &argc, char **argv, QCommandLineParser *parser) :
|
|||||||
{
|
{
|
||||||
d = new PluginTestPrivate;
|
d = new PluginTestPrivate;
|
||||||
d->parser = parser;
|
d->parser = parser;
|
||||||
QTimer::singleShot(0, this, SLOT(runMain()));
|
QTimer::singleShot(0, this, &PluginTest::runMain);
|
||||||
}
|
}
|
||||||
|
|
||||||
PluginTest::~PluginTest()
|
PluginTest::~PluginTest()
|
||||||
|
Loading…
Reference in New Issue
Block a user