Commit 52f7d74c authored by Allen Winter's avatar Allen Winter

remove config-akregator.h - not needed: we no longer look at SIZEOF_LONG

SIZEOF_LONG was all it was used for.
parent fd591e35
......@@ -30,10 +30,9 @@ set(KDEPIM_DEV_VERSION alpha1)
# add an extra space
if(DEFINED KDEPIM_DEV_VERSION)
set(KDEPIM_DEV_VERSION " ${KDEPIM_DEV_VERSION}")
set(KDEPIM_DEV_VERSION " ${KDEPIM_DEV_VERSION}")
endif()
set(KDEPIM_VERSION "${KDEPIM_VERSION_NUMBER}${KDEPIM_DEV_VERSION}")
set(KDEPIM_LIB_VERSION "${KDEPIM_VERSION_NUMBER}")
set(KDEPIM_LIB_SOVERSION "5")
......@@ -77,21 +76,15 @@ find_package(KF5WebEngineViewer ${MESSAGELIB_LIB_VERSION_LIB} CONFIG REQUIRED)
find_package(KF5AkonadiMime ${AKONADI_MIMELIB_VERSION} CONFIG REQUIRED)
find_package(KF5PimCommonAkonadi ${PIMCOMMON_LIB_VERSION_LIB} CONFIG REQUIRED)
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
add_definitions(-DQT_USE_QSTRINGBUILDER)
include_directories(${akregator_SOURCE_DIR} ${akregator_BINARY_DIR})
include(CheckTypeSize)
check_type_size("long" SIZEOF_LONG)
configure_file(config-akregator.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-akregator.h)
add_definitions(-DTRANSLATION_DOMAIN=\"akregator\")
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
add_definitions(-DQT_USE_QSTRINGBUILDER)
add_definitions(-DQT_NO_CAST_FROM_ASCII)
add_definitions(-DQT_NO_CAST_TO_ASCII)
add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT)
add_subdirectory(export)
add_subdirectory(interfaces)
add_subdirectory(plugins)
......@@ -100,8 +93,7 @@ add_subdirectory(src)
add_subdirectory(kontactplugin)
add_subdirectory(kconf_update)
install( FILES akregator.renamecategories akregator.categories DESTINATION ${KDE_INSTALL_CONFDIR} )
install(FILES akregator.renamecategories akregator.categories DESTINATION ${KDE_INSTALL_CONFDIR})
add_subdirectory(doc)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
/* config-akregator.h. Generated by cmake from config-akregator.h.cmake */
/* The size of a `long', as computed by sizeof. */
#define SIZEOF_LONG ${SIZEOF_LONG}
......@@ -10,9 +10,6 @@
/////////////////////////////////////////////////////////////////////////////
#include <config-akregator.h>
/////////////////////////////////////////////////////////////////////////////
// A number of preprocessor options are used in the source code
//
// q4_DOS MS-DOS real-mode OS
......
......@@ -26,7 +26,6 @@
#include "akregator_part.h"
#include "akregator_debug.h"
#include "config-akregator.h"
#include "messageviewer/messageviewersettings.h"
#include "akregatorconfig.h"
#include "aboutdata.h"
......@@ -156,8 +155,8 @@ static QDomDocument createDefaultFeedList()
}
namespace Akregator {
K_PLUGIN_FACTORY(AkregatorFactory, registerPlugin<Part>();
)
K_PLUGIN_FACTORY(AkregatorFactory, registerPlugin<Part>();)
static Part *mySelf = nullptr;
BrowserExtension::BrowserExtension(Part *p, const char *name)
......
......@@ -27,7 +27,6 @@
#include "article.h"
#include "akregator_export.h"
#include "config-akregator.h"
#include <QWidget>
#include <QPointer>
......
......@@ -23,7 +23,6 @@
*/
#include "framemanager.h"
#include "config-akregator.h"
#include "akregatorconfig.h"
#include "frame.h"
#include "actionmanager.h"
......
......@@ -21,7 +21,7 @@
#define MAINFRAME_H
#include "frame.h"
#include "config-akregator.h"
namespace Akregator {
class ArticleViewerWidget;
class AKREGATOR_EXPORT MainFrame : public Frame
......
......@@ -28,7 +28,6 @@
#define AKREGATOR_MAINWIDGET_H
#include "akregatorpart_export.h"
#include "config-akregator.h"
#include "articleviewer-ng/webengine/articleviewerwebenginewidgetng.h"
#include "feed.h"
......
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