mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Use one config-dolphin.h.cmake configuration file
This commit is contained in:
parent
fc2d181291
commit
8a0003bfbc
|
@ -1,14 +1,6 @@
|
|||
include(ECMAddAppIcon)
|
||||
|
||||
configure_file(config-baloo.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-baloo.h)
|
||||
|
||||
configure_file(config-kactivities.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kactivities.h)
|
||||
|
||||
configure_file(config-packagekit.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-packagekit.h)
|
||||
|
||||
configure_file(config-terminal.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-terminal.h)
|
||||
|
||||
configure_file(config-kuserfeedback.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kuserfeedback.h)
|
||||
configure_file(config-dolphin.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-dolphin.h)
|
||||
|
||||
add_definitions(
|
||||
-DTRANSLATION_DOMAIN=\"dolphin\"
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#cmakedefine HAVE_BALOO
|
5
src/config-dolphin.h.cmake
Normal file
5
src/config-dolphin.h.cmake
Normal file
|
@ -0,0 +1,5 @@
|
|||
#cmakedefine HAVE_BALOO
|
||||
#cmakedefine HAVE_KACTIVITIES
|
||||
#cmakedefine HAVE_KUSERFEEDBACK
|
||||
#cmakedefine HAVE_PACKAGEKIT
|
||||
#cmakedefine HAVE_TERMINAL
|
|
@ -1 +0,0 @@
|
|||
#cmakedefine HAVE_KACTIVITIES
|
|
@ -1 +0,0 @@
|
|||
#cmakedefine HAVE_KUSERFEEDBACK
|
|
@ -1 +0,0 @@
|
|||
#cmakedefine HAVE_PACKAGEKIT
|
|
@ -1 +0,0 @@
|
|||
#cmakedefine HAVE_TERMINAL
|
|
@ -9,7 +9,7 @@
|
|||
#include "dolphinmainwindow.h"
|
||||
|
||||
#include "dolphinmainwindowadaptor.h"
|
||||
#include "config-terminal.h"
|
||||
#include "config-dolphin.h"
|
||||
#include "global.h"
|
||||
#include "dolphinbookmarkhandler.h"
|
||||
#include "dolphindockwidget.h"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#define DOLPHIN_MAINWINDOW_H
|
||||
|
||||
#include "dolphintabwidget.h"
|
||||
#include <config-baloo.h>
|
||||
#include <config-dolphin.h>
|
||||
#include <KFileItemActions>
|
||||
#include <kio/fileundomanager.h>
|
||||
#include <kxmlguiwindow.h>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#ifndef DOLPHINVIEWCONTAINER_H
|
||||
#define DOLPHINVIEWCONTAINER_H
|
||||
|
||||
#include "config-kactivities.h"
|
||||
#include "config-dolphin.h"
|
||||
#include "dolphinurlnavigator.h"
|
||||
#include "views/dolphinview.h"
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include <list>
|
||||
|
||||
#include <KFileItem>
|
||||
#include <config-baloo.h>
|
||||
#include <config-dolphin.h>
|
||||
|
||||
#include <QObject>
|
||||
#include <QSet>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include "dolphindebug.h"
|
||||
#include "dolphinmainwindow.h"
|
||||
#include "global.h"
|
||||
#include "config-kuserfeedback.h"
|
||||
#include "config-dolphin.h"
|
||||
#ifdef HAVE_KUSERFEEDBACK
|
||||
#include "userfeedback/dolphinfeedbackprovider.h"
|
||||
#endif
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#define INFORMATIONPANELCONTENT_H
|
||||
|
||||
#include <KFileItem>
|
||||
#include <config-baloo.h>
|
||||
#include <config-dolphin.h>
|
||||
|
||||
#include <QPointer>
|
||||
#include <QUrl>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <QRegularExpression>
|
||||
|
||||
#include <config-baloo.h>
|
||||
#include <config-dolphin.h>
|
||||
#ifdef HAVE_BALOO
|
||||
#include <Baloo/Query>
|
||||
#endif
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include <KLocalizedString>
|
||||
#include <KMoreToolsMenuFactory>
|
||||
#include <KSeparator>
|
||||
#include <config-baloo.h>
|
||||
#include <config-dolphin.h>
|
||||
#ifdef HAVE_BALOO
|
||||
#include <Baloo/Query>
|
||||
#include <Baloo/IndexerConfig>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include <KLocalizedString>
|
||||
#include <KShell>
|
||||
|
||||
#include "../../../config-packagekit.h"
|
||||
#include "../../../config-dolphin.h"
|
||||
|
||||
Q_GLOBAL_STATIC_WITH_ARGS(QStringList, binaryPackages, ({QLatin1String("application/vnd.debian.binary-package"),
|
||||
QLatin1String("application/x-rpm"),
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include "startup/startupsettingspage.h"
|
||||
#include "trash/trashsettingspage.h"
|
||||
#include "viewmodes/viewsettingspage.h"
|
||||
#include "config-kuserfeedback.h"
|
||||
#include "config-dolphin.h"
|
||||
#ifdef HAVE_KUSERFEEDBACK
|
||||
#include "userfeedback/dolphinfeedbackprovider.h"
|
||||
#include "userfeedback/userfeedbacksettingspage.h"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#ifndef CONFIRMATIONSSETTINGSPAGE_H
|
||||
#define CONFIRMATIONSSETTINGSPAGE_H
|
||||
|
||||
#include "config-terminal.h"
|
||||
#include "config-dolphin.h"
|
||||
#include "settings/settingspagebase.h"
|
||||
|
||||
class QCheckBox;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
#include <KFileItem>
|
||||
#include <KIO/Job>
|
||||
#include <config-baloo.h>
|
||||
#include <config-dolphin.h>
|
||||
#include <kio/fileundomanager.h>
|
||||
#include <kparts/part.h>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#ifndef DOLPHINFILEMETADATAWIDGET_H
|
||||
#define DOLPHINFILEMETADATAWIDGET_H
|
||||
|
||||
#include <config-baloo.h>
|
||||
#include <config-dolphin.h>
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
|
|
Loading…
Reference in a new issue