summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2016-10-29 14:40:03 (GMT)
committerAleix Pol <aleixpol@kde.org>2016-10-29 14:40:03 (GMT)
commit9e87989adebe6596bd26c23053f3b30a805e327d (patch)
treeebe515be18af9dcb5028ab60918d1e9ef6d09d1d
parentc71f3082521d17275e562ad296457681640bcf26 (diff)
Fix moc mess
-rw-r--r--ui/presentationwidget.cpp2
-rw-r--r--ui/side_reviews.cpp2
-rw-r--r--ui/sidebar.cpp4
3 files changed, 3 insertions, 5 deletions
diff --git a/ui/presentationwidget.cpp b/ui/presentationwidget.cpp
index dea64fe..7f48857 100644
--- a/ui/presentationwidget.cpp
+++ b/ui/presentationwidget.cpp
@@ -2386,4 +2386,4 @@ void PresentationWidget::slotTogglePlayPause()
}
}
-#include "moc_presentationwidget.cpp"
+#include "presentationwidget.moc"
diff --git a/ui/side_reviews.cpp b/ui/side_reviews.cpp
index 02569c4..4cdf872 100644
--- a/ui/side_reviews.cpp
+++ b/ui/side_reviews.cpp
@@ -285,4 +285,4 @@ void Reviews::saveSearchOptions()
Okular::Settings::self()->save();
}
-#include "moc_side_reviews.cpp"
+#include "side_reviews.moc"
diff --git a/ui/sidebar.cpp b/ui/sidebar.cpp
index 0bbadf0..2948de5 100644
--- a/ui/sidebar.cpp
+++ b/ui/sidebar.cpp
@@ -39,8 +39,6 @@ static const int SidebarItemType = QListWidgetItem::UserType + 1;
/* List item representing a sidebar entry. */
class SidebarItem : public QListWidgetItem
{
- Q_OBJECT
-
public:
SidebarItem( QWidget* w, const QIcon &icon, const QString &text )
: QListWidgetItem( 0, SidebarItemType ),
@@ -813,4 +811,4 @@ void Sidebar::dropEvent( QDropEvent* event )
emit urlsDropped( list );
}
-#include "moc_sidebar.cpp"
+#include "sidebar.moc"