mirror of
https://github.com/status-im/snorenotify.git
synced 2025-01-09 16:15:45 +00:00
changed include dir
This commit is contained in:
parent
f95c50111b
commit
fe1c1af7e1
@ -22,7 +22,6 @@ include(ECMPackageConfigHelpers)
|
||||
include(GenerateExportHeader)
|
||||
|
||||
|
||||
|
||||
#######################################################################
|
||||
option(WITH_FRONTENDS "Build frontends currently only useful if WITH_SNORE_DAEMON=ON" OFF)
|
||||
option(WITH_SNORE_DAEMON "Build the Snore daemon, which redirects notifications" OFF)
|
||||
@ -30,7 +29,7 @@ option(WITH_SNORE_DAEMON "Build the Snore daemon, which redirects notifications"
|
||||
|
||||
set(SNORE_VERSION_MAJOR 0)
|
||||
set(SNORE_VERSION_MINOR 5)
|
||||
set(SNORE_VERSION_PATCH 90)
|
||||
set(SNORE_VERSION_PATCH 91)
|
||||
|
||||
set(SNORE_SUFFIX "-qt5")
|
||||
set(SNORE_CamelCase_SUFFIX "Qt5")
|
||||
|
@ -1,6 +1,4 @@
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/core ${CMAKE_CURRENT_BINARY_DIR}/core)
|
||||
|
||||
add_subdirectory(core)
|
||||
add_subdirectory(libsnore)
|
||||
add_subdirectory(daemon)
|
||||
add_subdirectory(settings)
|
||||
add_subdirectory(plugins)
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
#include "snorenotify.h"
|
||||
#include "core/log.h"
|
||||
#include "core/version.h"
|
||||
#include "libsnore/log.h"
|
||||
#include "libsnore/version.h"
|
||||
|
||||
#include <QApplication>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
#include "snorenotify.h"
|
||||
#include "trayicon.h"
|
||||
#include "core/snore.h"
|
||||
#include "libsnore/snore.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <stdlib.h>
|
||||
|
@ -17,9 +17,9 @@
|
||||
*/
|
||||
|
||||
#include "trayicon.h"
|
||||
#include "core/settingsdialog.h"
|
||||
#include "core/snore.h"
|
||||
#include "core/snore_p.h"
|
||||
#include "libsnore/settingsdialog.h"
|
||||
#include "libsnore/snore.h"
|
||||
#include "libsnore/snore_p.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QApplication>
|
||||
@ -28,7 +28,7 @@
|
||||
#include <QSystemTrayIcon>
|
||||
#include <QTimer>
|
||||
|
||||
#include "core/version.h"
|
||||
#include "libsnore/version.h"
|
||||
|
||||
using namespace Snore;
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#define TRAYICON_H
|
||||
|
||||
#include <QAction>
|
||||
#include "core/snore.h"
|
||||
#include "libsnore/snore.h"
|
||||
|
||||
namespace Snore
|
||||
{
|
||||
|
@ -6,6 +6,8 @@ if(NOT SNORE_REVISION)
|
||||
set(SNORE_REVISION "")
|
||||
endif()
|
||||
|
||||
set(LIBSNORE_INCLUDE_DIR ${KDE_INSTALL_INCLUDEDIR}/libsnore)
|
||||
|
||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/version.cpp.in" "${CMAKE_CURRENT_BINARY_DIR}/version.cpp")
|
||||
|
||||
QT5_ADD_RESOURCES(SNORENOTIFY_RCS ${SNORE_RCS})
|
||||
@ -64,12 +66,9 @@ generate_export_header(libsnore
|
||||
EXPORT_MACRO_NAME SNORE_EXPORT
|
||||
)
|
||||
|
||||
#TODO: drop /core/
|
||||
target_include_directories(libsnore PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
|
||||
$<INSTALL_INTERFACE:include>
|
||||
$<INSTALL_INTERFACE:include/snore/core>)
|
||||
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src/>
|
||||
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/src>)
|
||||
|
||||
|
||||
ecm_setup_version("${SNORE_VERSION_MAJOR}.${SNORE_VERSION_MINOR}.${SNORE_VERSION_PATCH}" VARIABLE_PREFIX SOLID
|
||||
@ -85,7 +84,7 @@ install(TARGETS libsnore EXPORT Libsnore${SNORE_CamelCase_SUFFIX}Target ${KDE_IN
|
||||
|
||||
install(EXPORT Libsnore${SNORE_CamelCase_SUFFIX}Target DESTINATION ${KDE_INSTALL_CMAKEPACKAGEDIR}/libsnore${SNORE_CamelCase_SUFFIX} NAMESPACE Snore::)
|
||||
|
||||
install(FILES ${SnoreNotify_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR}/snore/core)
|
||||
install(FILES ${SnoreNotify_HDR} DESTINATION ${LIBSNORE_INCLUDE_DIR})
|
||||
|
||||
install(FILES
|
||||
${CMAKE_CURRENT_BINARY_DIR}/Libsnore${SNORE_CamelCase_SUFFIX}Config.cmake
|
@ -1,9 +1,9 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
find_dependency(Qt5Core REQUIRED)
|
||||
find_dependency(Qt5Network REQUIRED)
|
||||
find_dependency(Qt5Widgets REQUIRED)
|
||||
find_dependency(Qt5Quick REQUIRED)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/Libsnore@SNORE_CamelCase_SUFFIX@Target.cmake")
|
||||
|
||||
@PACKAGE_INIT@
|
||||
|
||||
find_dependency(Qt5Core REQUIRED)
|
||||
find_dependency(Qt5Network REQUIRED)
|
||||
find_dependency(Qt5Widgets REQUIRED)
|
||||
find_dependency(Qt5Quick REQUIRED)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/Libsnore@SNORE_CamelCase_SUFFIX@Target.cmake")
|
||||
|
@ -13,4 +13,4 @@ set(SnoreNotify_HDR
|
||||
icon.h
|
||||
)
|
||||
|
||||
install(FILES ${SnoreNotify_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR}/snore/core/notification)
|
||||
install(FILES ${SnoreNotify_HDR} DESTINATION ${LIBSNORE_INCLUDE_DIR}/notification)
|
@ -18,7 +18,7 @@
|
||||
|
||||
#ifndef NOTIFICATION_ICON_H
|
||||
#define NOTIFICATION_ICON_H
|
||||
#include "snore_exports.h"
|
||||
#include "libsnore/snore_exports.h"
|
||||
|
||||
#include <QSharedData>
|
||||
#include <QDebug>
|
@ -18,11 +18,11 @@
|
||||
|
||||
#ifndef NOTIFICATION_H
|
||||
#define NOTIFICATION_H
|
||||
#include "snore_exports.h"
|
||||
#include "libsnore/snore_exports.h"
|
||||
#include "icon.h"
|
||||
#include "notificationaction.h"
|
||||
#include "../hint.h"
|
||||
#include "../application.h"
|
||||
#include "libsnore/hint.h"
|
||||
#include "libsnore/application.h"
|
||||
|
||||
#include <QDebug>
|
||||
|
@ -19,7 +19,7 @@
|
||||
#ifndef NOTIFICATIONACTION_H
|
||||
#define NOTIFICATIONACTION_H
|
||||
|
||||
#include "snore_exports.h"
|
||||
#include "libsnore/snore_exports.h"
|
||||
|
||||
#include <QDataStream>
|
||||
|
@ -13,4 +13,4 @@ set(SnoreNotify_HDR
|
||||
pluginsettingswidget.h)
|
||||
|
||||
|
||||
install(FILES ${SnoreNotify_HDR} DESTINATION ${KDE_INSTALL_INCLUDEDIR}/snore/core/plugins)
|
||||
install(FILES ${SnoreNotify_HDR} DESTINATION ${LIBSNORE_INCLUDE_DIR}/plugins)
|
@ -18,8 +18,8 @@
|
||||
|
||||
#ifndef PLUGINCONTAINER_H
|
||||
#define PLUGINCONTAINER_H
|
||||
#include "snore_exports.h"
|
||||
#include "../snore_p.h"
|
||||
#include "libsnore/snore_exports.h"
|
||||
#include "libsnore/snore_p.h"
|
||||
|
||||
#include <QPluginLoader>
|
||||
#include <QDir>
|
@ -18,10 +18,10 @@
|
||||
|
||||
#ifndef SNORE_PLUGINS_H
|
||||
#define SNORE_PLUGINS_H
|
||||
#include "snore_exports.h"
|
||||
#include "snoreglobals.h"
|
||||
#include "libsnore/snore_exports.h"
|
||||
#include "libsnore/snoreglobals.h"
|
||||
#include "libsnore/notification/notification.h"
|
||||
#include "pluginsettingswidget.h"
|
||||
#include "../notification/notification.h"
|
||||
|
||||
#include <QHash>
|
||||
|
@ -18,7 +18,7 @@
|
||||
#ifndef PLUGINSETTINGSWIDGET_H
|
||||
#define PLUGINSETTINGSWIDGET_H
|
||||
|
||||
#include "snore_exports.h"
|
||||
#include "libsnore/snore_exports.h"
|
||||
|
||||
#include <QWidget>
|
||||
#include <QFormLayout>
|
@ -18,10 +18,10 @@
|
||||
|
||||
#ifndef SNORE_BACKEND_H
|
||||
#define SNORE_BACKEND_H
|
||||
#include "snore_exports.h"
|
||||
#include "plugins.h"
|
||||
#include "../notification/notification.h"
|
||||
#include "../snore.h"
|
||||
#include "libsnore/snore_exports.h"
|
||||
#include "libsnore/plugins/plugins.h"
|
||||
#include "libsnore/notification/notification.h"
|
||||
#include "libsnore/snore.h"
|
||||
|
||||
namespace Snore
|
||||
{
|
@ -1,125 +1,125 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>SettingsDialog</class>
|
||||
<widget class="QWidget" name="SettingsDialog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>979</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset resource="../../data/snore.qrc">
|
||||
<normaloff>:/root/snore.png</normaloff>:/root/snore.png</iconset>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="tabPosition">
|
||||
<enum>QTabWidget::North</enum>
|
||||
</property>
|
||||
<property name="tabShape">
|
||||
<enum>QTabWidget::Rounded</enum>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab">
|
||||
<attribute name="title">
|
||||
<string>General</string>
|
||||
</attribute>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<layout class="QFormLayout" name="formLayout">
|
||||
<property name="fieldGrowthPolicy">
|
||||
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="primaryBackendLabel">
|
||||
<property name="text">
|
||||
<string>Primary Backend</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QComboBox" name="primaryBackendComboBox"/>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="timeoutLabel">
|
||||
<property name="text">
|
||||
<string>Timeout</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QSpinBox" name="timeoutSpinBox">
|
||||
<property name="suffix">
|
||||
<string>s</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_backends">
|
||||
<attribute name="title">
|
||||
<string>Primary Backends</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget_backends"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_secondaryBackends">
|
||||
<attribute name="title">
|
||||
<string>Secondary Bckends</string>
|
||||
</attribute>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget_secondary_backends"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_frontends">
|
||||
<attribute name="title">
|
||||
<string>Frontends</string>
|
||||
</attribute>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget_frontends"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_plugins">
|
||||
<attribute name="title">
|
||||
<string>Plugins</string>
|
||||
</attribute>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget_plugins"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="text">
|
||||
<string>Display Test Notification</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="../../data/snore.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>SettingsDialog</class>
|
||||
<widget class="QWidget" name="SettingsDialog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>979</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset resource="../../data/snore.qrc">
|
||||
<normaloff>:/root/snore.png</normaloff>:/root/snore.png</iconset>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="tabPosition">
|
||||
<enum>QTabWidget::North</enum>
|
||||
</property>
|
||||
<property name="tabShape">
|
||||
<enum>QTabWidget::Rounded</enum>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab">
|
||||
<attribute name="title">
|
||||
<string>General</string>
|
||||
</attribute>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<layout class="QFormLayout" name="formLayout">
|
||||
<property name="fieldGrowthPolicy">
|
||||
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="primaryBackendLabel">
|
||||
<property name="text">
|
||||
<string>Primary Backend</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QComboBox" name="primaryBackendComboBox"/>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="timeoutLabel">
|
||||
<property name="text">
|
||||
<string>Timeout</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QSpinBox" name="timeoutSpinBox">
|
||||
<property name="suffix">
|
||||
<string>s</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_backends">
|
||||
<attribute name="title">
|
||||
<string>Primary Backends</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget_backends"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_secondaryBackends">
|
||||
<attribute name="title">
|
||||
<string>Secondary Bckends</string>
|
||||
</attribute>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget_secondary_backends"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_frontends">
|
||||
<attribute name="title">
|
||||
<string>Frontends</string>
|
||||
</attribute>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget_frontends"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="tab_plugins">
|
||||
<attribute name="title">
|
||||
<string>Plugins</string>
|
||||
</attribute>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget_plugins"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="text">
|
||||
<string>Display Test Notification</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="../../data/snore.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
@ -1,30 +1,30 @@
|
||||
#include "version.h"
|
||||
|
||||
namespace Snore{
|
||||
|
||||
const QString Version::version()
|
||||
{
|
||||
return QLatin1String("${SNORE_VERSION_MAJOR}.${SNORE_VERSION_MINOR}.${SNORE_VERSION_PATCH}");
|
||||
}
|
||||
|
||||
const QString Version::major(){
|
||||
return QLatin1String("${SNORE_VERSION_MAJOR}");
|
||||
}
|
||||
|
||||
const QString Version::minor(){
|
||||
return QLatin1String("${SNORE_VERSION_MINOR}");
|
||||
}
|
||||
|
||||
const QString Version::patch(){
|
||||
return QLatin1String("${SNORE_VERSION_PATCH}");
|
||||
}
|
||||
|
||||
const QString Version::revision(){
|
||||
return QLatin1String("${SNORE_REVISION}");
|
||||
}
|
||||
|
||||
const QString Version::buildTime(){
|
||||
return QLatin1String(__TIMESTAMP__);
|
||||
}
|
||||
|
||||
}
|
||||
#include "version.h"
|
||||
|
||||
namespace Snore{
|
||||
|
||||
const QString Version::version()
|
||||
{
|
||||
return QLatin1String("${SNORE_VERSION_MAJOR}.${SNORE_VERSION_MINOR}.${SNORE_VERSION_PATCH}");
|
||||
}
|
||||
|
||||
const QString Version::major(){
|
||||
return QLatin1String("${SNORE_VERSION_MAJOR}");
|
||||
}
|
||||
|
||||
const QString Version::minor(){
|
||||
return QLatin1String("${SNORE_VERSION_MINOR}");
|
||||
}
|
||||
|
||||
const QString Version::patch(){
|
||||
return QLatin1String("${SNORE_VERSION_PATCH}");
|
||||
}
|
||||
|
||||
const QString Version::revision(){
|
||||
return QLatin1String("${SNORE_REVISION}");
|
||||
}
|
||||
|
||||
const QString Version::buildTime(){
|
||||
return QLatin1String(__TIMESTAMP__);
|
||||
}
|
||||
|
||||
}
|
@ -19,7 +19,7 @@
|
||||
#ifndef FreedesktopNotification_H
|
||||
#define FreedesktopNotification_H
|
||||
|
||||
#include "core/notification/notification.h"
|
||||
#include "libsnore/notification/notification.h"
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QDBusArgument>
|
||||
|
@ -19,8 +19,8 @@
|
||||
#include "growlbackend.h"
|
||||
#include "growlsettings.h"
|
||||
|
||||
#include "core/snore.h"
|
||||
#include "core/snore_p.h"
|
||||
#include "libsnore/snore.h"
|
||||
#include "libsnore/snore_p.h"
|
||||
|
||||
using namespace Snore;
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
#ifndef GROWL_BACKEND_H
|
||||
#define GROWL_BACKEND_H
|
||||
#include "core/plugins/snorebackend.h"
|
||||
#include "libsnore/plugins/snorebackend.h"
|
||||
|
||||
#include "growl.hpp"
|
||||
#include <string>
|
||||
|
@ -19,11 +19,11 @@
|
||||
#include "snarl.h"
|
||||
#include "snarlsettings.h"
|
||||
|
||||
#include "core/snore.h"
|
||||
#include "core/snore_p.h"
|
||||
#include "core/plugins/plugins.h"
|
||||
#include "core/plugins/snorebackend.h"
|
||||
#include "core/notification/notification_p.h"
|
||||
#include "libsnore/snore.h"
|
||||
#include "libsnore/snore_p.h"
|
||||
#include "libsnore/plugins/plugins.h"
|
||||
#include "libsnore/plugins/snorebackend.h"
|
||||
#include "libsnore/notification/notification_p.h"
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
#ifndef SNARL_BACKEND_H
|
||||
#define SNARL_BACKEND_H
|
||||
#include "core/plugins/snorebackend.h"
|
||||
#include "libsnore/plugins/snorebackend.h"
|
||||
#include "SnarlInterface.h"
|
||||
|
||||
class SnarlBackend: public Snore::SnoreBackend
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
#include "notifywidget.h"
|
||||
#include "snorenotifier.h"
|
||||
#include "core/log.h"
|
||||
#include "libsnore/log.h"
|
||||
|
||||
using namespace Snore;
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#define NOTIFYWIDGET_H
|
||||
|
||||
#include <QSharedMemory>
|
||||
#include "core/notification/notification.h"
|
||||
#include "libsnore/notification/notification.h"
|
||||
|
||||
#include <QtQuick/QtQuick>
|
||||
|
||||
|
@ -19,8 +19,8 @@
|
||||
#include "snorenotifier.h"
|
||||
#include "notifywidget.h"
|
||||
#include "snorenotifiersettings.h"
|
||||
#include "core/notification/notification_p.h"
|
||||
#include "core/snore_p.h"
|
||||
#include "libsnore/notification/notification_p.h"
|
||||
#include "libsnore/snore_p.h"
|
||||
|
||||
#include <QThread>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
#ifndef SNORENOTIFIER_H
|
||||
#define SNORENOTIFIER_H
|
||||
|
||||
#include "core/plugins/snorebackend.h"
|
||||
#include "libsnore/plugins/snorebackend.h"
|
||||
|
||||
#include "notifywidget.h"
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "snoretoast.h"
|
||||
#include "core/snore.h"
|
||||
#include "core/snore_p.h"
|
||||
#include "core/plugins/plugins.h"
|
||||
#include "core/plugins/snorebackend.h"
|
||||
#include "libsnore/snore.h"
|
||||
#include "libsnore/snore_p.h"
|
||||
#include "libsnore/plugins/plugins.h"
|
||||
#include "libsnore/plugins/snorebackend.h"
|
||||
|
||||
#include <QDir>
|
||||
#include <QApplication>
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef TOASTER_H
|
||||
#define TOASTER_H
|
||||
|
||||
#include "core/plugins/snorebackend.h"
|
||||
#include "libsnore/plugins/snorebackend.h"
|
||||
#include <QProcess>
|
||||
|
||||
class SnoreToast : public Snore::SnoreBackend
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "trayiconnotifer.h"
|
||||
#include "core/snore.h"
|
||||
#include "core/snore_p.h"
|
||||
#include "libsnore/snore.h"
|
||||
#include "libsnore/snore_p.h"
|
||||
|
||||
#include <QSystemTrayIcon>
|
||||
using namespace Snore;
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef TRAYICONNOTIFER_H
|
||||
#define TRAYICONNOTIFER_H
|
||||
|
||||
#include "core/plugins/snorebackend.h"
|
||||
#include "libsnore/plugins/snorebackend.h"
|
||||
|
||||
namespace Snore
|
||||
{
|
||||
|
@ -20,9 +20,9 @@
|
||||
#include "notificationsadaptor.h"
|
||||
|
||||
#include "plugins/backends/freedesktop/fredesktopnotification.h"
|
||||
#include "core/snore.h"
|
||||
#include "core/version.h"
|
||||
#include "core/notification/notification_p.h"
|
||||
#include "libsnore/snore.h"
|
||||
#include "libsnore/version.h"
|
||||
#include "libsnore/notification/notification_p.h"
|
||||
|
||||
#include <QImage>
|
||||
#include <QIcon>
|
||||
|
@ -18,8 +18,8 @@
|
||||
|
||||
#ifndef FREEDESKTOPNOTIFICATION_FRONTEND_H
|
||||
#define FREEDESKTOPNOTIFICATION_FRONTEND_H
|
||||
#include "core/plugins/snorefrontend.h"
|
||||
#include "core/application.h"
|
||||
#include "libsnore/plugins/snorefrontend.h"
|
||||
#include "libsnore/application.h"
|
||||
|
||||
class NotificationsAdaptor;
|
||||
|
||||
|
@ -19,9 +19,9 @@
|
||||
#include "parser.h"
|
||||
#include "snarlnetwork.h"
|
||||
|
||||
#include "core/snore.h"
|
||||
#include "core/notification/notification.h"
|
||||
#include "core/notification/notification_p.h"
|
||||
#include "libsnore/snore.h"
|
||||
#include "libsnore/notification/notification.h"
|
||||
#include "libsnore/notification/notification_p.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QTcpSocket>
|
||||
|
@ -20,7 +20,7 @@
|
||||
#define PARSER_H
|
||||
#include <QString>
|
||||
#include <QHash>
|
||||
#include "core/notification/notification.h"
|
||||
#include "libsnore/notification/notification.h"
|
||||
#include <QSharedPointer>
|
||||
#include <QObject>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
*/
|
||||
|
||||
#include "snarlnetwork.h"
|
||||
#include "core/snore.h"
|
||||
#include "libsnore/snore.h"
|
||||
|
||||
#include <QTcpServer>
|
||||
#include <QTcpSocket>
|
||||
|
@ -18,8 +18,8 @@
|
||||
|
||||
#ifndef SNARLNETWORK_H
|
||||
#define SNARLNETWORK_H
|
||||
#include "core/plugins/snorefrontend.h"
|
||||
#include "core/log.h"
|
||||
#include "libsnore/plugins/snorefrontend.h"
|
||||
#include "libsnore/log.h"
|
||||
#include "parser.h"
|
||||
|
||||
#include <QTcpSocket>
|
||||
|
@ -18,7 +18,7 @@
|
||||
#ifndef SOUND_H
|
||||
#define SOUND_H
|
||||
|
||||
#include "plugins/snorebackend.h"
|
||||
#include "libsnore/plugins/snorebackend.h"
|
||||
|
||||
class Sound : public Snore::SnoreSecondaryBackend
|
||||
{
|
||||
|
@ -18,7 +18,7 @@
|
||||
#ifndef TOASTY_H
|
||||
#define TOASTY_H
|
||||
|
||||
#include "core/plugins/snorebackend.h"
|
||||
#include "libsnore/plugins/snorebackend.h"
|
||||
|
||||
#include <QNetworkAccessManager>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
#include "core/snore.h"
|
||||
#include "core/version.h"
|
||||
#include "libsnore/snore.h"
|
||||
#include "libsnore/version.h"
|
||||
#include "settingswindow.h"
|
||||
|
||||
#include <QApplication>
|
||||
|
@ -49,7 +49,7 @@
|
||||
<customwidget>
|
||||
<class>Snore::SettingsDialog</class>
|
||||
<extends>QWidget</extends>
|
||||
<header location="global">core/settingsdialog.h</header>
|
||||
<header location="global">libsnore/settingsdialog.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
|
Loading…
x
Reference in New Issue
Block a user