Remove moc includes that can be omitted.

Mostly these are "<name>.moc" style includes which are incorrect
compared to qmake and cmake automoc behaviour.
This commit is contained in:
Stephen Kelly 2012-01-22 15:37:37 +01:00
parent 61437923db
commit 8d37df4b8f
82 changed files with 38 additions and 86 deletions

View File

@ -52,4 +52,3 @@ void AbstractDialogManager::showDialog(QWidget *widget, Plasma::Applet *applet)
} }
#include "abstractdialogmanager.moc"

View File

@ -453,4 +453,3 @@ void AbstractRunnerPrivate::setupScriptSupport()
} // Plasma namespace } // Plasma namespace
#include "abstractrunner.moc"

View File

@ -113,5 +113,4 @@ void AbstractToolBox::reposition()
} // plasma namespace } // plasma namespace
#include "abstracttoolbox.moc"

View File

@ -89,4 +89,3 @@ void Animation::updateCurrentTime(int currentTime)
} //namespace Plasma } //namespace Plasma
#include "animation.moc"

View File

@ -35,5 +35,5 @@ void EasingAnimation::updateCurrentTime(int currentTime)
} // namespace Plasma } // namespace Plasma
#include "easinganimation_p.moc" #include "moc_easinganimation_p.cpp"

View File

@ -83,4 +83,4 @@ void FadeAnimation::updateEffectiveTime(int currentTime)
} //namespace Plasma } //namespace Plasma
#include "fade_p.moc" #include "moc_fade_p.cpp"

View File

@ -96,4 +96,4 @@ void GeometryAnimation::updateEffectiveTime(int currentTime)
} //namespace Plasma } //namespace Plasma
#include "geometry_p.moc" #include "moc_geometry_p.cpp"

View File

@ -95,5 +95,5 @@ void GrowAnimation::updateState(QAbstractAnimation::State newState, QAbstractAni
} //namespace Plasma } //namespace Plasma
#include "grow_p.moc" #include "moc_grow_p.cpp"

View File

@ -176,4 +176,4 @@ void PixmapTransition::updateEffectiveTime(int currentTime)
} //namespace Plasma } //namespace Plasma
#include "pixmaptransition_p.moc" #include "moc_pixmaptransition_p.cpp"

View File

@ -141,4 +141,4 @@ void PulseAnimation::updateEffectiveTime(int currentTime)
} //namespace Plasma } //namespace Plasma
#include "pulser_p.moc" #include "moc_pulser_p.cpp"

View File

@ -164,4 +164,4 @@ void RotationAnimation::updateEffectiveTime(int currentTime)
} }
#include "rotation_p.moc" #include "moc_rotation_p.cpp"

View File

@ -185,4 +185,4 @@ void RotationStackedAnimation::updateTransformations()
} //namespace Plasma } //namespace Plasma
#include "rotationstacked_p.moc" #include "moc_rotationstacked_p.cpp"

View File

@ -126,4 +126,4 @@ void SlideAnimation::updateState(QAbstractAnimation::State newState, QAbstractAn
} //namespace Plasma } //namespace Plasma
#include "slide_p.moc" #include "moc_slide_p.cpp"

View File

@ -2581,5 +2581,4 @@ QSet<QString> AppletPrivate::s_customCategories;
} // Plasma namespace } // Plasma namespace
#include "applet.moc" #include "moc_applet_p.cpp"
#include "private/applet_p.moc"

View File

@ -2427,5 +2427,4 @@ QHash<QString, ContainmentActions*> * ContainmentPrivate::actionPlugins()
} // Plasma namespace } // Plasma namespace
#include "containment.moc"

View File

@ -332,4 +332,3 @@ void ContainmentActions::setContainment(Containment *newContainment) {
} // Plasma namespace } // Plasma namespace
#include "containmentactions.moc"

View File

@ -1046,5 +1046,4 @@ QList<Plasma::Containment *> CoronaPrivate::importLayout(const KConfigGroup &con
} // namespace Plasma } // namespace Plasma
#include "corona.moc"

View File

@ -356,5 +356,4 @@ void DataContainer::timerEvent(QTimerEvent * event)
} // Plasma namespace } // Plasma namespace
#include "datacontainer.moc"

View File

@ -710,4 +710,3 @@ void DataEnginePrivate::setupScriptSupport()
} }
#include "dataengine.moc"

View File

@ -250,4 +250,3 @@ void DataEngineManager::timerEvent(QTimerEvent *)
} // namespace Plasma } // namespace Plasma
#include "dataenginemanager.moc"

View File

@ -489,5 +489,4 @@ bool Delegate::showToolTip() const
} }
#include "delegate.moc"

View File

@ -868,4 +868,3 @@ void Dialog::setAspectRatioMode(Plasma::AspectRatioMode mode)
} }
} }
#include "dialog.moc"

View File

@ -1093,4 +1093,3 @@ int FrameData::refcount() const
} // Plasma namespace } // Plasma namespace
#include "framesvg.moc"

View File

@ -104,4 +104,4 @@ void SequentialAnimationGroup::removeAnimation(QAbstractAnimation *animation)
} // namespace Plasma } // namespace Plasma
#include "animationgroup_p.moc" #include "moc_animationgroup_p.cpp"

View File

@ -125,4 +125,4 @@ void JavascriptAnimation::updateEffectiveTime(int currentTime)
} //namespace Plasma } //namespace Plasma
#include "javascriptanimation_p.moc" #include "moc_javascriptanimation_p.cpp"

View File

@ -57,5 +57,4 @@ bool PackageStructure::uninstallPackage(Package *package, const QString &package
} }
#include "packagestructure.moc"

View File

@ -895,5 +895,4 @@ void PopupAppletPrivate::updateDialogPosition(bool move)
} // Plasma namespace } // Plasma namespace
#include "popupapplet.moc"

View File

@ -189,5 +189,5 @@ void AnimableGraphicsWebView::setScrollPositionY(qreal position)
} }
#include "animablegraphicswebview_p.moc" #include "moc_animablegraphicswebview_p.cpp"

View File

@ -1064,5 +1064,5 @@ void AppletHandle::calculateSize()
} // Plasma Namespace } // Plasma Namespace
#include "applethandle_p.moc" #include "moc_applethandle_p.cpp"

View File

@ -166,5 +166,4 @@ void SignalRelay::timerEvent(QTimerEvent *event)
} // Plasma namespace } // Plasma namespace
#include "datacontainer_p.moc"

View File

@ -159,6 +159,6 @@ DataEngine *DataEngineConsumer::remoteDataEngine(const KUrl &location, const QSt
} // namespace Plasma } // namespace Plasma
#include "dataengineconsumer_p.moc" #include "moc_dataengineconsumer_p.cpp"

View File

@ -55,5 +55,5 @@ void DataEngineService::sourceAdded(QString source)
} }
#include "dataengineservice_p.moc" #include "moc_dataengineservice_p.cpp"

View File

@ -87,4 +87,4 @@ bool EffectWatcher::isEffectActive() const
} }
#include "effectwatcher_p.moc" #include "moc_effectwatcher_p.cpp"

View File

@ -79,5 +79,5 @@ void GetSource::start()
} }
#include "getsource_p.moc" #include "moc_getsource_p.cpp"

View File

@ -632,5 +632,5 @@ void NativeTabBar::wheelEvent(QWheelEvent *event)
} // namespace Plasma } // namespace Plasma
#include "nativetabbar_p.moc" #include "moc_nativetabbar_p.cpp"

View File

@ -370,5 +370,5 @@ void GenericPackage::initPackage(Package *package)
} // namespace Plasma } // namespace Plasma
#include "packages_p.moc" #include "moc_packages_p.cpp"

View File

@ -143,5 +143,5 @@ Plasma::ServiceJob* PlasmoidService::createJob(const QString& operation, QHash<Q
} }
#include "plasmoidservice_p.moc" #include "moc_plasmoidservice_p.cpp"

View File

@ -88,4 +88,4 @@ void ClientThread::run()
delete m_socket; delete m_socket;
} }
#include "clientthread_p.moc" #include "moc_clientthread_p.cpp"

View File

@ -109,4 +109,4 @@ void ServerThread::run()
delete m_serverSocket; delete m_serverSocket;
} }
#include "serverthread_p.moc" #include "moc_serverthread_p.cpp"

View File

@ -243,5 +243,5 @@ void RemoteDataEngine::updateSources()
} }
#include "remotedataengine_p.moc" #include "moc_remotedataengine_p.cpp"

View File

@ -307,4 +307,4 @@ Jolie::Message RemoteService::signMessage(const Jolie::Message &message) const
} //namespace Plasma } //namespace Plasma
#include "remoteservice_p.moc" #include "moc_remoteservice_p.cpp"

View File

@ -216,4 +216,3 @@ void DelayedJobCleaner::checkIfFinished()
} // Plasma namespace } // Plasma namespace
// #include "runnerjobs.moc"

View File

@ -530,4 +530,4 @@ void ServiceProvider::authorizationFailed(const Jolie::Message &message, const Q
} //namespace Plasma } //namespace Plasma
#include "serviceprovider_p.moc" #include "moc_serviceprovider_p.cpp"

View File

@ -156,4 +156,4 @@ Storage::~Storage()
{ {
} }
#include "storage_p.moc" #include "moc_storage_p.cpp"

View File

@ -328,4 +328,4 @@ void StorageThread::run()
} }
#include "storagethread_p.moc" #include "moc_storagethread_p.cpp"

View File

@ -383,6 +383,6 @@ QSize Style::sizeFromContents(ContentsType type, const QStyleOption *option,
} }
#include "style_p.moc" #include "moc_style_p.cpp"

View File

@ -81,5 +81,5 @@ void PaletteHelper::generatePalettes()
} // namespace Plasma } // namespace Plasma
#include "themedwidgetinterface_p.moc" #include "moc_themedwidgetinterface_p.cpp"

View File

@ -404,4 +404,4 @@ void ToolTip::updateTheme()
} // namespace Plasma } // namespace Plasma
#include "tooltip_p.moc" #include "moc_tooltip_p.cpp"

View File

@ -273,5 +273,5 @@ void WallpaperRenderThread::run()
} // namespace Plasma } // namespace Plasma
#include "wallpaperrenderthread_p.moc" #include "moc_wallpaperrenderthread_p.cpp"

View File

@ -231,4 +231,4 @@ void WindowPreview::leaveEvent(QEvent *event)
} // namespace Plasma } // namespace Plasma
#include "windowpreview_p.moc" #include "moc_windowpreview_p.cpp"

View File

@ -231,5 +231,5 @@ void WindowShadows::Private::clearShadow(const QWidget *window)
} // namespace Plasma } // namespace Plasma
#include "windowshadows_p.moc" #include "moc_windowshadows_p.cpp"

View File

@ -205,5 +205,4 @@ void AccessAppletJob::start()
} // namespace Plasma } // namespace Plasma
#include "accessappletjob.moc"

View File

@ -271,4 +271,3 @@ void AccessManagerPrivate::slotRemoveService(DNSSD::RemoteService::Ptr service)
} // Plasma namespace } // Plasma namespace
#include "accessmanager.moc"

View File

@ -314,4 +314,3 @@ void AuthorizationManagerPrivate::addCredentials(const Credentials &identity)
} // Plasma namespace } // Plasma namespace
#include "authorizationmanager.moc"

View File

@ -168,4 +168,3 @@ QString AuthorizationRule::serviceName() const
} // Plasma namespace } // Plasma namespace
#include "authorizationrule.moc"

View File

@ -74,5 +74,4 @@ QString ClientPinRequest::pin() const
} // Plasma namespace } // Plasma namespace
#include "clientpinrequest.moc"

View File

@ -119,4 +119,4 @@ PinPairingDialog::~PinPairingDialog()
} }
#include "pinpairingdialog_p.moc" #include "moc_pinpairingdialog_p.cpp"

View File

@ -72,5 +72,4 @@ void ServiceAccessJob::start()
} // namespace Plasma } // namespace Plasma
#include "serviceaccessjob.moc"

View File

@ -547,4 +547,3 @@ void RunnerContext::run(const QueryMatch &match)
} // Plasma namespace } // Plasma namespace
#include "runnercontext.moc"

View File

@ -835,4 +835,3 @@ void RunnerManager::reset()
} // Plasma namespace } // Plasma namespace
#include "runnermanager.moc"

View File

@ -249,4 +249,3 @@ void AppletScript::setContainmentType(Containment::Type type)
} // Plasma namespace } // Plasma namespace
#include "appletscript.moc"

View File

@ -218,4 +218,3 @@ void DataEngineScript::forceImmediateUpdateOfAllVisualizations()
} // Plasma namespace } // Plasma namespace
#include "dataenginescript.moc"

View File

@ -188,4 +188,3 @@ QString RunnerScript::mainScript() const
} // Plasma namespace } // Plasma namespace
#include "runnerscript.moc"

View File

@ -221,4 +221,3 @@ void WallpaperScript::renderCompleted(const QImage &image)
} // Plasma namespace } // Plasma namespace
#include "wallpaperscript.moc"

View File

@ -417,5 +417,4 @@ void Service::registerOperationsScheme()
} // namespace Plasma } // namespace Plasma
#include "service.moc"

View File

@ -99,5 +99,4 @@ void ServiceJob::start()
} // namespace Plasma } // namespace Plasma
#include "servicejob.moc"

View File

@ -825,5 +825,4 @@ Theme *Svg::theme() const
} // Plasma namespace } // Plasma namespace
#include "svg.moc"

View File

@ -209,5 +209,4 @@ void ConfigLoaderTest::ulongLongDefaultValue()
QTEST_KDEMAIN(ConfigLoaderTest, NoGUI) QTEST_KDEMAIN(ConfigLoaderTest, NoGUI)
//#include "configloadertest.moc"

View File

@ -171,5 +171,4 @@ void PackageStructureTest::mimeTypes()
QTEST_KDEMAIN(PackageStructureTest, NoGUI) QTEST_KDEMAIN(PackageStructureTest, NoGUI)
//#include "packagestructuretest.moc"

View File

@ -104,4 +104,3 @@ void ContextTest::save(KConfigGroup &config)
} }
#include "test.moc"

View File

@ -175,4 +175,3 @@ bool TestEngine::sourceRequestEvent(const QString &source)
} // sourceRequestEvent() } // sourceRequestEvent()
#include "testengine.moc"

View File

@ -495,5 +495,4 @@ bool ToolTipManager::eventFilter(QObject *watched, QEvent *event)
} // Plasma namespace } // Plasma namespace
#include "tooltipmanager.moc"

View File

@ -418,5 +418,4 @@ View * View::topLevelViewAt(const QPoint & pos)
} // namespace Plasma } // namespace Plasma
#include "view.moc"

View File

@ -663,5 +663,4 @@ Package Wallpaper::package() const
} // Plasma namespace } // Plasma namespace
#include "wallpaper.moc" #include "moc_wallpaper_p.cpp"
#include "private/wallpaper_p.moc"

View File

@ -328,4 +328,3 @@ void FlashingLabelPrivate::setPalette()
q->update(); q->update();
} }
#include "flashinglabel.moc"

View File

@ -1616,5 +1616,4 @@ void IconWidget::changeEvent(QEvent *event)
} // namespace Plasma } // namespace Plasma
#include "iconwidget.moc" #include "moc_iconwidget_p.cpp"
#include "iconwidget_p.moc"

View File

@ -340,6 +340,5 @@ void ItemBackgroundPrivate::refreshCurrentTarget()
} // Plasma namespace } // Plasma namespace
#include "itembackground.moc"

View File

@ -553,5 +553,4 @@ QSizeF Meter::sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
} // End of namepace } // End of namepace
#include "meter.moc" #include "moc_meter_p.cpp"
#include "../private/meter_p.moc"

View File

@ -96,4 +96,3 @@ QSizeF Separator::sizeHint(Qt::SizeHint which, const QSizeF & constraint) const
} // Plasma namespace } // Plasma namespace
#include "separator.moc"

View File

@ -1112,5 +1112,4 @@ QString SignalPlotter::lastValueAsString(uint i) const
} // Plasma namespace } // Plasma namespace
#include "signalplotter.moc"

View File

@ -139,4 +139,3 @@ QSizeF SvgWidget::sizeHint(Qt::SizeHint which, const QSizeF & constraint) const
} // Plasma namespace } // Plasma namespace
#include "svgwidget.moc"

View File

@ -333,5 +333,4 @@ void WebViewPrivate::loadingFinished(bool success)
} // namespace Plasma } // namespace Plasma
#include "webview.moc"