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

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"
......@@ -468,4 +468,4 @@ QTreeWidgetItem* BookmarkList::itemForUrl( const KUrl& url ) const
return 0;
}
#include "bookmarklist.moc"
#include "moc_bookmarklist.cpp"
......@@ -129,4 +129,4 @@ void EmbeddedFilesDialog::saveFile( Okular::EmbeddedFile* ef )
GuiUtils::saveEmbeddedFile( ef, this );
}
#include "embeddedfilesdialog.moc"
#include "moc_embeddedfilesdialog.cpp"
......@@ -164,4 +164,4 @@ void FilePrinterPreview::showEvent(QShowEvent *event)
KDialog::showEvent(event);
}
#include "fileprinterpreview.moc"
#include "moc_fileprinterpreview.cpp"
......@@ -182,4 +182,4 @@ void FindBar::closeAndStopSearch()
close();
}
#include "findbar.moc"
#include "moc_findbar.cpp"
......@@ -973,4 +973,4 @@ bool ComboEdit::event( QEvent* e )
return QComboBox::event( e );
}
#include "formwidgets.moc"
#include "moc_formwidgets.cpp"
......@@ -650,4 +650,4 @@ KTreeViewSearchLine *KTreeViewSearchLineWidget::searchLine() const
return d->searchLine;
}
#include "ktreeviewsearchline.moc"
#include "moc_ktreeviewsearchline.cpp"
......@@ -186,4 +186,4 @@ void MagnifierView::drawTicks( QPainter *p )
p->restore();
}
#include "magnifierview.moc"
#include "moc_magnifierview.cpp"
......@@ -594,6 +594,6 @@ HoverButton::HoverButton( QWidget * parent )
KAcceleratorManager::setNoAccel( this );
}
#include "minibar.moc"
#include "moc_minibar.cpp"
/* kate: replace-tabs on; indent-width 4; */
......@@ -76,4 +76,4 @@ void PageItemDelegate::drawDisplay( QPainter *painter, const QStyleOptionViewIte
QItemDelegate::drawDisplay( painter, newoption, pageRect, page );
}
#include "pageitemdelegate.moc"
#include "moc_pageitemdelegate.cpp"
......@@ -33,4 +33,4 @@ void PageSizeLabel::notifyCurrentPageChanged( int previousPage, int currentPage
}
}
#include "pagesizelabel.moc"
#include "moc_pagesizelabel.cpp"
......@@ -5041,6 +5041,6 @@ void PageView::slotToggleChangeColors()
//END private SLOTS
#include "pageview.moc"
#include "moc_pageview.cpp"
/* kate: replace-tabs on; indent-width 4; */
......@@ -1245,6 +1245,6 @@ QPixmap PageViewAnnotator::makeToolPixmap( const QDomElement &toolElement )
return pixmap;
}
#include "pageviewannotator.moc"
#include "moc_pageviewannotator.cpp"
/* kate: replace-tabs on; indent-width 4; */
......@@ -934,4 +934,4 @@ void PageViewToolBar::setTextToolsEnabled( bool on )
(*it)->setEnabled( on );
}
#include "pageviewutils.moc"
#include "moc_pageviewutils.cpp"
......@@ -144,4 +144,4 @@ bool PresentationSearchBar::eventFilter( QObject *obj, QEvent *e )
return false;
}
#include "presentationsearchbar.moc"
#include "moc_presentationsearchbar.cpp"
......@@ -2200,4 +2200,4 @@ void PresentationWidget::slotTogglePlayPause()
}
}
#include "presentationwidget.moc"
#include "moc_presentationwidget.cpp"
......@@ -448,6 +448,6 @@ int FontsListModel::rowCount( const QModelIndex &parent ) const
return parent.isValid() ? 0 : m_fonts.size();
}
#include "propertiesdialog.moc"
#include "moc_propertiesdialog.cpp"
/* kate: replace-tabs on; indent-width 4; */
......@@ -318,4 +318,4 @@ void SearchLineWidget::slotTimedout()
m_anim->show();
}
#include "searchlineedit.moc"
#include "moc_searchlineedit.cpp"
......@@ -106,4 +106,4 @@ void SearchWidget::slotMenuChaged( QAction * act )
m_lineEdit->restartSearch();
}
#include "searchwidget.moc"
#include "moc_searchwidget.cpp"
......@@ -286,4 +286,4 @@ void Reviews::saveSearchOptions()
Okular::Settings::self()->writeConfig();
}
#include "side_reviews.moc"
#include "moc_side_reviews.cpp"
......@@ -765,4 +765,4 @@ void Sidebar::dropEvent( QDropEvent* event )
emit urlsDropped( list );
}
#include "sidebar.moc"
#include "moc_sidebar.cpp"
......@@ -996,6 +996,6 @@ ThumbnailController::ThumbnailController( QWidget * parent, ThumbnailList * list
}
#include "thumbnaillist.moc"
#include "moc_thumbnaillist.cpp"
/* kate: replace-tabs on; indent-width 4; */
......@@ -175,4 +175,4 @@ void TOC::saveSearchOptions()
Okular::Settings::self()->writeConfig();
}
#include "toc.moc"
#include "moc_toc.cpp"
......@@ -433,4 +433,4 @@ bool TOCModel::checkequality( const TOCModel *model, const QModelIndex & parentA
}
return true;
}
#include "tocmodel.moc"
#include "moc_tocmodel.cpp"
......@@ -86,4 +86,4 @@ void ToolAction::slotNewDefaultAction( QAction *action )
}
}
#include "toolaction.moc"
#include "moc_toolaction.cpp"
......@@ -142,4 +142,4 @@ void OkularTTS::slotJobStateChanged( const QString &appId, int jobNum, int state
}
}
#include "tts.moc"
#include "moc_tts.cpp"
......@@ -447,4 +447,4 @@ void VideoWidget::resizeEvent( QResizeEvent * event )
}
}
#include "videowidget.moc"
#include "moc_videowidget.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