Commit 0ba23378 authored by Frederik Gladhorn's avatar Frederik Gladhorn
Browse files

Use moc include style dictated by automoc

While it's generally not a great idea to include moc files at least this
compiles.
parent 4f196da1
......@@ -44,4 +44,4 @@ void DlgAccessibility::slotColorMode( int mode )
m_selected = mode;
}
#include "dlgaccessibility.moc"
#include "moc_dlgaccessibility.cpp"
......@@ -68,4 +68,4 @@ void DlgEditor::editorChanged( int which )
}
}
#include "dlgeditor.moc"
#include "moc_dlgeditor.cpp"
......@@ -55,4 +55,4 @@ void DlgPerformance::radioGroup_changed( int which )
}
}
#include "dlgperformance.moc"
#include "moc_dlgperformance.cpp"
......@@ -60,4 +60,4 @@ void DlgPresentation::screenComboChanged( int which )
Okular::Settings::setSlidesScreen( which - 2 );
}
#include "dlgpresentation.moc"
#include "moc_dlgpresentation.cpp"
......@@ -256,4 +256,4 @@ AudioPlayer::State AudioPlayer::state() const
return d->m_state;
}
#include "audioplayer.moc"
#include "moc_audioplayer.cpp"
......@@ -743,6 +743,6 @@ KBookmark BookmarkManager::previousBookmark( const DocumentViewport &viewport )
#undef foreachObserver
#undef foreachObserverD
#include "bookmarkmanager.moc"
#include "moc_bookmarkmanager.cpp"
/* kate: replace-tabs on; indent-width 4; */
......@@ -4831,6 +4831,6 @@ VisiblePageRect::VisiblePageRect( int page, const NormalizedRect &rectangle )
#undef foreachObserver
#undef foreachObserverD
#include "document.moc"
#include "moc_document.cpp"
/* kate: replace-tabs on; indent-width 4; */
......@@ -667,6 +667,6 @@ QDebug operator<<( QDebug str, const Okular::PixmapRequest &req )
return str;
}
#include "generator.moc"
#include "moc_generator.cpp"
/* kate: replace-tabs on; indent-width 4; */
......@@ -141,4 +141,4 @@ void FontExtractionThread::run()
}
}
#include "generator_p.moc"
#include "moc_generator_p.cpp"
......@@ -49,4 +49,4 @@ void PageController::imageRotationDone(ThreadWeaver::Job *j)
job->deleteLater();
}
#include "pagecontroller.moc"
#include "moc_pagecontroller_p.cpp"
......@@ -103,4 +103,4 @@ QTransform RotationJob::rotationMatrix( Rotation from, Rotation to )
return matrix;
}
#include "rotationjob.moc"
#include "moc_rotationjob_p.cpp"
......@@ -563,5 +563,5 @@ TextDocumentSettings* TextDocumentGenerator::generalSettings()
return d->mGeneralSettings;
}
#include "textdocumentgenerator.moc"
#include "moc_textdocumentgenerator.cpp"
......@@ -119,6 +119,6 @@ void OkularLiveConnectExtension::postMessage( const QStringList &args )
}
#include "extensions.moc"
#include "moc_extensions.cpp"
/* kate: replace-tabs on; indent-width 4; */
......@@ -2964,6 +2964,6 @@ void Part::setReadWrite(bool readwrite)
} // namespace Okular
#include "part.moc"
#include "moc_part.cpp"
/* kate: replace-tabs on; indent-width 4; */
......@@ -392,4 +392,4 @@ Okular::Annotation* AnnotationModel::annotationForIndex( const QModelIndex &inde
return item->annotation;
}
#include "annotationmodel.moc"
#include "moc_annotationmodel.cpp"
......@@ -153,4 +153,4 @@ void AnnotationPopup::exec( const QPoint &point )
}
}
#include "annotationpopup.moc"
#include "moc_annotationpopup.cpp"
......@@ -181,5 +181,5 @@ void AnnotsPropertiesDialog::slotapply()
enableButton( Apply, false );
}
#include "annotationpropertiesdialog.moc"
#include "moc_annotationpropertiesdialog.cpp"
......@@ -597,4 +597,4 @@ void AuthorGroupProxyModel::rebuildIndexes()
reset();
}
#include "annotationproxymodels.moc"
#include "moc_annotationproxymodels.cpp"
......@@ -759,4 +759,4 @@ void CaretAnnotationWidget::applyChanges()
#include "annotationwidgets.moc"
#include "moc_annotationwidgets.cpp"
......@@ -406,4 +406,4 @@ void AnnotWindow::slotHandleContentsChangedByUndoRedo(Okular::Annotation* annot,
emit containsLatex( GuiUtils::LatexRenderer::mightContainLatex( m_annot->contents() ) );
}
#include "annotwindow.moc"
#include "moc_annotwindow.cpp"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment