Commit d607cde1 authored by Jarosław Staniek's avatar Jarosław Staniek
Browse files

Set icons for executables under Windows and Mac.

Now our apps look like this:
 http://kexi-project.org/pics/kde/kdepim/2008-03/kde-pim-icons.png

CCMAIL:kde-pim@kde.org
CCMAIL:kde-windows@kde.org


svn path=/trunk/KDE/kdepim/; revision=790258
parent 65b465b6
......@@ -20,6 +20,8 @@ if(WIN32)
ARCHIVE DESTINATION ${LIB_INSTALL_DIR} )
endif(WIN32)
set(KDE4_ICON_DIR ${KDE4_INSTALL_DIR}/share/icons)
# this macro exists to work around a stupid Mac OS X linker bug
# where it can't handle the same library being referenced multiple
# times on the linker line
......
......@@ -11,6 +11,8 @@ qt4_add_dbus_interfaces( akonamail_bin_SRCS
../../server/interfaces/org.kde.Akonadi.TracerNotification.xml
)
kde4_add_app_icon(akonamail_bin_SRCS "${KDE4_ICON_DIR}/oxygen/*/apps/email.png")
kde4_add_executable(akonamail_bin ${akonamail_bin_SRCS})
set_target_properties(akonamail_bin PROPERTIES OUTPUT_NAME akonamail)
......
......@@ -15,6 +15,7 @@ include_directories (
set(akregator_SRCS main.cpp mainwindow.cpp )
kde4_add_app_icon(akregator_SRCS "${KDE4_ICON_DIR}/oxygen/*/apps/akregator.png")
kde4_add_executable(akregator ${akregator_SRCS})
......
......@@ -17,6 +17,9 @@ SET(kabcclient_SRCS
outputformatimpls.cpp)
# todo: more appropriate icon?
kde4_add_app_icon(kabcclient_SRCS "${KDE4_ICON_DIR}/oxygen/*/apps/office-address-book.png")
kde4_add_executable(kabcclient NOGUI ${kabcclient_SRCS})
target_link_libraries(kabcclient ${KDE4_KABC_LIBS} ${KDE4_KDEUI_LIBS} )
......
......@@ -20,6 +20,8 @@ set(konsolekalendar_SRCS
main.cpp )
kde4_add_app_icon(konsolekalendar_SRCS "${KDE4_ICON_DIR}/oxygen/*/apps/office-calendar.png")
kde4_add_executable(konsolekalendar NOGUI ${konsolekalendar_SRCS})
target_link_libraries(konsolekalendar ${KDE4_KDECORE_LIBS} ${KDE4_KCAL_LIBS} kdepim)
......
......@@ -6,6 +6,9 @@ set(kabcviewer_bin_SRCS
)
# todo: more appropriate icon?
kde4_add_app_icon(kabcviewer_bin_SRCS "${KDE4_ICON_DIR}/oxygen/*/apps/office-address-book.png")
kde4_add_executable(kabcviewer_bin ${kabcviewer_bin_SRCS})
set_target_properties(kabcviewer_bin PROPERTIES OUTPUT_NAME kabcviewer)
......@@ -19,6 +22,8 @@ set(kabceditor_bin_SRCS
kabceditor.cpp
)
# todo: more appropriate icon?
kde4_add_app_icon(kabceditor_bin_SRCS "${KDE4_ICON_DIR}/oxygen/*/apps/office-address-book.png")
kde4_add_executable(kabceditor_bin ${kabceditor_bin_SRCS})
set_target_properties(kabceditor_bin PROPERTIES OUTPUT_NAME kabceditor)
......
include_directories(
${CMAKE_SOURCE_DIR}/akonadi
${QT_QTDBUS_INCLUDE_DIR}
${Boost_INCLUDE_DIR}
project(kaddressbook)
add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
add_subdirectory( common )
add_subdirectory( interfaces )
add_subdirectory( printing )
if(QGPGME_FOUND)
add_subdirectory( editors )
endif(QGPGME_FOUND)
add_subdirectory( views )
add_subdirectory( features )
add_subdirectory( kcmconfigs )
add_subdirectory( xxport )
add_subdirectory( pics )
add_subdirectory( csv-templates )
add_subdirectory( thumbnailcreator )
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/interfaces
${CMAKE_CURRENT_SOURCE_DIR}/features
${CMAKE_CURRENT_SOURCE_DIR}/views
${CMAKE_CURRENT_SOURCE_DIR}/printing
${CMAKE_CURRENT_SOURCE_DIR}/common
${CMAKE_CURRENT_SOURCE_DIR}/editors
${CMAKE_BINARY_DIR}/libkdepim
${CMAKE_BINARY_DIR}/kaddressbook/common/
${Boost_INCLUDE_DIR} )
set(libprinter_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/printing/detailledstyle.cpp
${CMAKE_CURRENT_SOURCE_DIR}/printing/kabentrypainter.cpp
${CMAKE_CURRENT_SOURCE_DIR}/printing/mikesstyle.cpp
${CMAKE_CURRENT_SOURCE_DIR}/printing/ringbinderstyle.cpp
${CMAKE_CURRENT_SOURCE_DIR}/printing/printingwizard.cpp
${CMAKE_CURRENT_SOURCE_DIR}/printing/printprogress.cpp
${CMAKE_CURRENT_SOURCE_DIR}/printing/printstyle.cpp
${CMAKE_CURRENT_SOURCE_DIR}/printing/selectionpage.cpp
${CMAKE_CURRENT_SOURCE_DIR}/printing/stylepage.cpp
${CMAKE_CURRENT_SOURCE_DIR}/printing/printsortmode.cpp
)
MACRO_ADD_FILE_DEPENDENCIES(${CMAKE_CURRENT_SOURCE_DIR}/printing/detailledstyle.cpp ${CMAKE_CURRENT_BINARY_DIR}/ui_ds_appearance.h ${CMAKE_CURRENT_BINARY_DIR}/ui_rbs_appearance.h)
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}" )
kde4_add_ui_files(libprinter_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/printing/ds_appearance.ui
${CMAKE_CURRENT_SOURCE_DIR}/printing/rbs_appearance.ui
)
set(libkabim_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/editors/imeditorwidget.cpp
${CMAKE_CURRENT_SOURCE_DIR}/editors/imaddresswidget.cpp
)
kde4_add_ui_files(libkabim_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/editors/imeditorbase.ui
${CMAKE_CURRENT_SOURCE_DIR}/editors/imaddressbase.ui
)
########### next target ###############
set( kcontactmanager_SRCS
collectioncombobox.cpp
contacteditordialog.cpp
main.cpp
mainwidget.cpp
mainwindow.cpp
set(kaddressbook_bin_SRCS
main.cpp
kaddressbookmain.cpp
)
qt4_add_dbus_adaptor(kaddressbook_bin_SRCS org.kde.KAddressbook.Core.xml kaddressbookmain.h KAddressBookMain kaddressbookadaptor )
# todo: move to Oxygen icon
kde4_add_app_icon(kaddressbook_bin_SRCS "hi*-app-kaddressbook.png")
kde4_add_executable(kaddressbook_bin ${kaddressbook_bin_SRCS})
set_target_properties(kaddressbook_bin PROPERTIES OUTPUT_NAME kaddressbook)
kdepim4_link_unique_libraries(kaddressbook_bin kaddressbookprivate ${KDE4_KHTML_LIBS})
install(TARGETS kaddressbook_bin DESTINATION ${BIN_INSTALL_DIR} )
########### next target ###############
set(kaddressbookpart_PART_SRCS kaddressbook_part.cpp )
qt4_add_dbus_adaptor(kaddressbookpart_PART_SRCS org.kde.KAddressbook.Core.xml kaddressbook_part.h KAddressbookPart kaddressbookpartadaptor )
kde4_add_plugin(kaddressbookpart ${kaddressbookpart_PART_SRCS})
kdepim4_link_unique_libraries(kaddressbookpart ${KDE4_KIO_LIBS} kaddressbookprivate )
install(TARGETS kaddressbookpart DESTINATION ${PLUGIN_INSTALL_DIR})
########### next target ###############
set(kaddressbook_LIB_SRCS ${libkabim_SRCS} ${libprinter_SRCS}
addresseeconfig.cpp
addresseeeditordialog.cpp
addresseeeditorwidget.cpp
addresseeeditorbase.cpp
addresseeeditorextension.cpp
addresseeutil.cpp
addresseditwidget.cpp
addviewdialog.cpp
emaileditwidget.cpp
extensionmanager.cpp
filtereditdialog.cpp
filterselectionwidget.cpp
geowidget.cpp
imagewidget.cpp
incsearchwidget.cpp
jumpbuttonbar.cpp
kabcore.cpp
kablock.cpp
kaddressbookservice.cpp
kaddressbookview.cpp
keywidget.cpp
ldapsearchdialog.cpp
nameeditdialog.cpp
phoneeditwidget.cpp
secrecywidget.cpp
soundwidget.cpp
viewconfigurefieldspage.cpp
viewconfigurefilterpage.cpp
viewconfigurewidget.cpp
undocmds.cpp
viewmanager.cpp
xxportmanager.cpp
xxportselectdialog.cpp
contacteditorwidgetmanager.cpp
simpleaddresseeeditor.cpp
advancedcustomfields.cpp
customfieldswidget.cpp
freebusywidget.cpp
searchmanager.cpp
imeditwidget.cpp
kabtools.cpp
distributionlistentryview.cpp
distributionlisteditor.cpp
distributionlistpicker.cpp
)
kde4_add_executable(kcontactmanager RUN_UNINSTALLED ${kcontactmanager_SRCS})
qt4_add_dbus_adaptor(kaddressbook_LIB_SRCS
${CMAKE_SOURCE_DIR}/libkdepim/interfaces/org.kde.addressbook.service.xml kaddressbookservice.h KAddressBookService )
QT4_ADD_DBUS_INTERFACE(kaddressbook_LIB_SRCS org.kde.KAddressbook.Core.xml kaddressbookcore_interface )
kde4_add_library(kaddressbookprivate SHARED ${kaddressbook_LIB_SRCS})
kdepim4_link_unique_libraries(kaddressbookprivate ${KDE4_SYNDICATION_LIBS} kdepim ${KDE4_KCAL_LIBS} kabc_file_core ${KDE4_KIO_LIBS} ${KDE4_KUTILS_LIBS} ${KDE4_PHONON_LIBS} kabinterfaces kabcommon )
set_target_properties(kaddressbookprivate PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
install(TARGETS kaddressbookprivate DESTINATION ${LIB_INSTALL_DIR})
########### install files ###############
target_link_libraries(kcontactmanager ${AKONADI_LIBS} akonadi-kabc ${KDE4_KDEUI_LIBRARY} )
install( FILES kaddressbook.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install( FILES zone.tab DESTINATION ${DATA_INSTALL_DIR}/kaddressbook)
install( FILES kaddressbookui.rc kaddressbook_part.rc DESTINATION ${DATA_INSTALL_DIR}/kaddressbook)
install( FILES kaddressbook_view.desktop dbusaddressbook.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
install( FILES org.kde.KAddressbook.Core.xml DESTINATION ${KDE4_DBUS_INTERFACES_DIR} )
install( FILES kaddressbook_export.h DESTINATION ${INCLUDE_INSTALL_DIR}/kaddressbook)
kde4_install_icons( ${ICON_INSTALL_DIR} )
install(TARGETS kcontactmanager DESTINATION ${BIN_INSTALL_DIR})
install( FILES kcontactmanager.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install( FILES kcontactmanagerui.rc DESTINATION ${DATA_INSTALL_DIR}/kcontactmanager)
......@@ -12,6 +12,9 @@ mainwindow.cpp
)
# todo: move to Oxygen icon
kde4_add_app_icon(kitchensync_SRCS "pics/hi*-app-kitchensync.png")
KDE4_ADD_EXECUTABLE(kitchensync ${kitchensync_SRCS})
TARGET_LINK_LIBRARIES(kitchensync kitchensyncprivate ${QT_QTGUI_LIBRARY} ${KDE_KDEUI_LIBRARY} )
......
......@@ -17,7 +17,9 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}/libkleo ${B
if (USABLE_ASSUAN_FOUND)
include_directories(${ASSUAN_INCLUDES})
endif(USABLE_ASSUAN_FOUND)
add_definitions ( -DQT_STL -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS ${KDE4_ENABLE_EXCEPTIONS} -D_ASSUAN_ONLY_GPG_ERRORS -UQT_NO_STL )
add_definitions ( -DQT_STL -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -D_ASSUAN_ONLY_GPG_ERRORS -UQT_NO_STL )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
add_subdirectory( pics )
add_subdirectory( conf )
......@@ -178,6 +180,8 @@ endif ( KLEO_BUILD_OLD_MAINWINDOW )
add_definitions ( -DKDE_DEFAULT_DEBUG_AREA=5151 )
kde4_add_app_icon(_kleopatra_mainwindow_SRCS "ox*-app-kleopatra.png")
kde4_add_executable(kleopatra_bin ${_kleopatra_common_SRCS} ${_kleopatra_mainwindow_SRCS} ${_kleopatra_uiserver_SRCS} )
set_target_properties(kleopatra_bin PROPERTIES OUTPUT_NAME kleopatra)
......
project(kgpgconf)
include_directories( ${CMAKE_SOURCE_DIR}/libkleo/backends/qgpgme )
add_definitions ( ${KDE4_ENABLE_EXCEPTIONS} -D_ASSUAN_ONLY_GPG_ERRORS -UQT_NO_STL -DKDE_DEFAULT_DEBUG_AREA=5154 )
add_definitions ( -D_ASSUAN_ONLY_GPG_ERRORS -UQT_NO_STL -DKDE_DEFAULT_DEBUG_AREA=5154 )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
set(_kgpgconf_SRCS
configreader.cpp
......@@ -14,6 +16,10 @@ set(_kgpgconf_SRCS
kde4_add_ui_files( _kgpgconf_SRCS mainwidget.ui )
# todo: more appropriate icon?
kde4_add_app_icon(_kgpgconf_SRCS "${KDE4_ICON_DIR}/oxygen/*/apps/preferences-desktop-cryptography.png")
kde4_add_executable(kgpgconf ${_kgpgconf_SRCS} )
target_link_libraries(kgpgconf ${QGPGME_LIBRARIES} ${KDE4_KDEUI_LIBS} )
......
......@@ -320,6 +320,8 @@ install(TARGETS kmail_bodypartformatter_application_octetstream DESTINATION ${P
set(kmail_SRCS main.cpp )
# todo: move to Oxygen icon
kde4_add_app_icon(kmail_SRCS "hi*-app-kmail.png")
kde4_add_executable(kmail ${kmail_SRCS})
......
......@@ -31,6 +31,7 @@ qt4_add_dbus_interfaces(kmailcvt_SRCS ${CMAKE_BINARY_DIR}/kmail/org.kde.kmail.km
kde4_add_ui_files(kmailcvt_SRCS kselfilterpagedlg.ui kimportpagedlg.ui)
kde4_add_app_icon(kmailcvt_SRCS "${KDE4_ICON_DIR}/oxygen/*/apps/kmailcvt.png")
kde4_add_executable(kmailcvt ${kmailcvt_SRCS})
add_dependencies(kmailcvt kmail_xml)
......
......@@ -20,6 +20,8 @@ add_subdirectory( tests )
set(kmobiletools_SRCS main.cpp kmobiletools.cpp kmobiletools.h )
# todo: move to Oxygen icon
kde4_add_app_icon(kmobiletools_SRCS "libkmobiletools/icons/hi*-app-kmobiletools.png")
kde4_add_executable(kmobiletools_bin ${kmobiletools_SRCS})
set_target_properties(kmobiletools_bin PROPERTIES OUTPUT_NAME kmobiletools)
......
......@@ -119,6 +119,9 @@ install(TARGETS knodepart DESTINATION ${PLUGIN_INSTALL_DIR})
set(knode_SRCS knode.cpp knapplication.cpp main.cpp )
# todo: move to Oxygen icon
kde4_add_app_icon(knode_SRCS "hi*-app-knode2.png")
kde4_add_executable(knode ${knode_SRCS})
kdepim4_link_unique_libraries(knode ${KDE4_KDECORE_LIBS} knodecommon )
......
......@@ -24,6 +24,7 @@ set( libknotesconfig_SRCS knoteconfig.kcfgc knotesglobalconfig.kcfgc )
kde4_add_kcfg_files(knotes_SRCS ${libknotesconfig_SRCS})
kde4_add_app_icon(knotes_SRCS "${KDE4_ICON_DIR}/oxygen/*/apps/knotes.png")
kde4_add_executable(knotes ${knotes_SRCS})
......
......@@ -27,6 +27,7 @@ install(TARGETS kontactprivate DESTINATION ${LIB_INSTALL_DIR})
set(kontact_bin_SRCS main.cpp )
kde4_add_app_icon(kontact_bin_SRCS "${KDE4_ICON_DIR}/oxygen/*/apps/kontact.png")
kde4_add_executable(kontact_bin ${kontact_bin_SRCS})
......
......@@ -31,6 +31,8 @@ set(korganizer_SRCS
koapp.cpp
)
# todo: move to Oxygen icon
kde4_add_app_icon(korganizer_SRCS "hi*-app-korganizer.png")
kde4_add_executable(korganizer ${korganizer_SRCS})
......
......@@ -23,6 +23,8 @@ QT4_ADD_DBUS_INTERFACE( korgac_SRCS ${korganizer_xml} korganizer_interface )
qt4_add_dbus_adaptor(korgac_SRCS org.kde.korganizer.KOrgac.xml koalarmclient.h KOAlarmClient )
kde4_add_app_icon(korgac_SRCS "${KDE4_ICON_DIR}/oxygen/*/apps/preferences-desktop-notification-bell.png")
kde4_add_executable(korgac ${korgac_SRCS})
target_link_libraries(korgac ${KDE4_KDEUI_LIBS} ${KDE4_PHONON_LIBS} korganizer_eventviewer)
......
......@@ -63,6 +63,9 @@ kde4_add_ui_files(korn_SRCS
qt4_add_dbus_adaptor(korn_SRCS org.kde.korn.BoxContainerItem.xml boxcontaineritem.h BoxContainerItem )
qt4_add_dbus_adaptor(korn_SRCS org.kde.korn.MailDrop.xml dbusdrop.h DBUSDrop )
# todo: move to Oxygen icon
kde4_add_app_icon(korn_SRCS "hi*-app-korn.png")
kde4_add_executable(korn ${korn_SRCS})
target_link_libraries(korn ${KDE4_KIO_LIBS} ${KDE4_PHONON_LIBS} ${KDE4_KDE3SUPPORT_LIBRARY} ${QT_QT3SUPPORT_LIBRARY} ${KDE4_KMIME_LIBS})
......
......@@ -111,6 +111,9 @@ qt4_add_dbus_interface(kpilotDaemon_SRCS
org.kde.kpilot.daemon.xml kpilot_daemon_interface
)
# todo: move to Oxygen icon
kde4_add_app_icon(kpilotDaemon_SRCS "icons/hi*-app-kpilotDaemon.png")
kde4_add_executable(kpilotDaemon ${kpilotDaemon_SRCS})
target_link_libraries(kpilotDaemon
......@@ -164,6 +167,9 @@ qt4_add_dbus_interface(kpilot_bin_SRCS
org.kde.kpilot.daemon.xml daemon_interface
)
# todo: move to Oxygen icon
kde4_add_app_icon(kpilot_bin_SRCS "icons/hi*-app-kpilot.png")
kde4_add_executable(kpilot_bin ${kpilot_bin_SRCS})
target_link_libraries(kpilot_bin
......
......@@ -7,6 +7,8 @@ include_directories( ${CMAKE_SOURCE_DIR}/kresources/groupwise )
set(soapdebug_SRCS soapdebug.cpp )
# todo: more appropriate icon?
kde4_add_app_icon(soapdebug_SRCS "${KDE4_ICON_DIR}/oxygen/*/apps/kbugbuster.png")
kde4_add_executable(soapdebug TEST ${soapdebug_SRCS})
......
......@@ -22,6 +22,9 @@ set(scalixadmin_SRCS
settings.cpp
)
# todo: more appropriate icon?
kde4_add_app_icon(scalixadmin_SRCS "${KDE4_ICON_DIR}/oxygen/*/categories/preferences-system-network.png")
kde4_add_executable(scalixadmin ${scalixadmin_SRCS})
TARGET_LINK_LIBRARIES(scalixadmin ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KLDAP_LIBS} kdepim )
set_target_properties(scalixadmin PROPERTIES OUTPUT_NAME scalixadmin)
......
......@@ -46,6 +46,10 @@ set(karm_SRCS main.cpp ${karm_shared_SRCS})
kde4_add_executable(karm karm.cpp)
# todo: move to Oxygen icon
kde4_add_app_icon(karm_SRCS "hi*-app-ktimetracker.png")
kde4_add_executable(ktimetracker ${karm_SRCS})
......
......@@ -18,6 +18,9 @@ set(ktnef_bin_SRCS
kde4_add_ui_files(ktnef_bin_SRCS attachpropertydialogbase.ui )
# todo: move to Oxygen icon
kde4_add_app_icon(ktnef_bin_SRCS "pics/hi*-app-ktnef.png")
kde4_add_executable(ktnef_bin ${ktnef_bin_SRCS})
set_target_properties(ktnef_bin PROPERTIES OUTPUT_NAME ktnefviewer)
......
......@@ -63,6 +63,7 @@
#include <QAction>
#include <QProcess>
#include <QTextLayout>
#include <QTimer>
//system includes
#include <assert.h>
......@@ -91,6 +92,7 @@ class KMeditorPrivate
//
void addSuggestion( const QString&,const QStringList& );
void ensureCursorVisibleDelayed();
//
// Normal functions
......@@ -239,6 +241,11 @@ void KMeditorPrivate::addSuggestion( const QString& originalWord,
replacements[originalWord] = lst;
}
void KMeditorPrivate::ensureCursorVisibleDelayed()
{
static_cast<KTextEdit*>( q )->ensureCursorVisible();
}
void KMeditorPrivate::mergeFormatOnWordOrSelection( const QTextCharFormat &format )
{
QTextCursor cursor = q->textCursor();
......@@ -1169,4 +1176,11 @@ QString KMeditor::toWrappedPlainText() const
return temp;
}
void KMeditor::ensureCursorVisible()
{
QCoreApplication::processEvents();
// ugly hack because the layout changes afterwards, making the cursor hidden...
QTimer::singleShot(500, this, SLOT(ensureCursorVisibleDelayed()));
}
#include "kmeditor.moc"
......@@ -267,6 +267,8 @@ class KDEPIM_EXPORT KMeditor : public KTextEdit
*/
QString toWrappedPlainText() const;
void ensureCursorVisible();
public Q_SLOTS:
/**
......@@ -380,6 +382,7 @@ class KDEPIM_EXPORT KMeditor : public KTextEdit
KMeditorPrivate *const d;
friend class KMeditorPrivate;
Q_PRIVATE_SLOT( d, void addSuggestion( const QString&, const QStringList& ) )
Q_PRIVATE_SLOT( d, void ensureCursorVisibleDelayed() )
};
}
......
......@@ -5,7 +5,11 @@ include_directories(
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}" )
kde4_add_executable(akonadi_nepomuk_email_feeder RUN_UNINSTALLED nepomukemailfeeder.cpp)
set(akonadi_nepomuk_email_feeder_SRCS nepomukemailfeeder.cpp)
kde4_add_app_icon(akonadi_nepomuk_email_feeder_SRCS "${KDE4_ICON_DIR}/oxygen/*/apps/nepomuk.png")
kde4_add_executable(akonadi_nepomuk_email_feeder RUN_UNINSTALLED ${akonadi_nepomuk_email_feeder_SRCS})
target_link_libraries(akonadi_nepomuk_email_feeder
${AKONADI_LIBS}
......
......@@ -16,6 +16,10 @@ set(groupwarewizard_SRCS ${libknotesresources_SRCS} groupwarewizard.cpp groupwar
kde4_add_kcfg_files(groupwarewizard_SRCS egroupwareconfig.kcfgc kolabconfig.kcfgc sloxconfig.kcfgc)
# todo: more appropriate icon?
kde4_add_app_icon(groupwarewizard_SRCS "${KDE4_ICON_DIR}/oxygen/*/actions/tools-wizard.png")
kde4_add_executable(groupwarewizard ${groupwarewizard_SRCS})
target_link_libraries(groupwarewizard ${KDE4_KDECORE_LIBS}
......@@ -36,6 +40,9 @@ set(egroupwarewizard_SRCS ${libknotesresources_SRCS} egroupwarewizard.cpp egroup
kde4_add_kcfg_files(egroupwarewizard_SRCS egroupwareconfig.kcfgc)
# todo: more appropriate icon?
kde4_add_app_icon(egroupwarewizard_SRCS "${KDE4_ICON_DIR}/oxygen/*/actions/tools-wizard.png")
kde4_add_executable(egroupwarewizard ${egroupwarewizard_SRCS})
target_link_libraries(egroupwarewizard ${KDE4_KDECORE_LIBS} kabc_xmlrpc kcal_xmlrpc knotes_xmlrpc ${KDE4_KCAL_LIBS} kdepim)
......@@ -50,6 +57,9 @@ set(sloxwizard_SRCS ${libknotesresources_SRCS} sloxwizard.cpp sloxmain.cpp)
kde4_add_kcfg_files(sloxwizard_SRCS sloxconfig.kcfgc)
# todo: more appropriate icon?
kde4_add_app_icon(sloxwizard_SRCS "${KDE4_ICON_DIR}/oxygen/*/actions/tools-wizard.png")
kde4_add_executable(sloxwizard ${sloxwizard_SRCS})
target_link_libraries(sloxwizard ${KDE4_KDECORE_LIBS} kcal_slox kabc_slox ${KDE4_KCAL_LIBS} ${KDE4_KABC_LIBS} kdepim)
......@@ -68,6 +78,9 @@ set(kolabwizard_SRCS ${libknotesresources_SRCS}
kde4_add_kcfg_files(kolabwizard_SRCS kolabconfig.kcfgc)
# todo: more appropriate icon?
kde4_add_app_icon(kolabwizard_SRCS "${KDE4_ICON_DIR}/oxygen/*/actions/tools-wizard.png")
kde4_add_executable(kolabwizard ${kolabwizard_SRCS})
target_link_libraries(kolabwizard ${KDE4_KCAL_LIBS} ${KDE4_KPIMIDENTITIES_LIBS} kabckolab knoteskolab kcalkolab kdepim)
......@@ -85,6 +98,9 @@ set(scalixwizard_SRCS ${libknotesresources_SRCS}
kde4_add_kcfg_files(scalixwizard_SRCS scalixconfig.kcfgc)
# todo: more appropriate icon?
kde4_add_app_icon(scalixwizard_SRCS "${KDE4_ICON_DIR}/oxygen/*/actions/tools-wizard.png")
kde4_add_executable(scalixwizard ${scalixwizard_SRCS})
target_link_libraries(scalixwizard ${KDE4_KCAL_LIBS} ${KDE4_KPIMIDENTITIES_LIBS} kabcscalix knotesscalix kcalscalix kdepim)
......
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