mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-23 18:32:51 +00:00
Merge branch 'master' of ssh://bitbucket.org/smil3y/kde-playground
This commit is contained in:
commit
31e7fef0a1
5 changed files with 30 additions and 19 deletions
|
@ -1,10 +1,8 @@
|
|||
project(kgpg)
|
||||
|
||||
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
include(FeatureSummary)
|
||||
find_package(KDELibs4 4.21.0 REQUIRED)
|
||||
|
||||
find_package(KDE4 4.21.0 REQUIRED)
|
||||
include(KDE4Defaults)
|
||||
include_directories(${KDE4_INCLUDES})
|
||||
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
||||
endif()
|
||||
|
@ -17,9 +15,8 @@ set(kgpg_SRCS
|
|||
add_executable(kgpg ${kgpg_SRCS})
|
||||
|
||||
target_link_libraries(kgpg
|
||||
${KDE4_KDEUI_LIBS}
|
||||
${KDE4_KFILE_LIBS}
|
||||
${KDE4_KIO_LIBS}
|
||||
KDE4::kdeui
|
||||
KDE4::kio
|
||||
gpgme
|
||||
)
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ set(kman_sources
|
|||
add_executable(kman ${kman_sources})
|
||||
target_link_libraries(kman
|
||||
KDE4::kdeui
|
||||
KDE4::kfile
|
||||
KDE4::kio
|
||||
KDE4::karchive
|
||||
)
|
||||
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
project(kwrite)
|
||||
|
||||
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
|
||||
|
||||
find_package(KDE4 REQUIRED)
|
||||
include(KDE4Defaults)
|
||||
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
find_package(KDELibs4 4.19.0 REQUIRED)
|
||||
|
||||
include_directories(${KDE4_INCLUDES})
|
||||
add_definitions(${KDE4_DEFINITIONS} ${QT_DEFINITIONS})
|
||||
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
||||
endif()
|
||||
|
||||
set(kwrite_sources
|
||||
kwritemain.cpp
|
||||
|
@ -14,8 +13,23 @@ set(kwrite_sources
|
|||
)
|
||||
|
||||
add_executable(kwrite ${kwrite_sources})
|
||||
target_link_libraries(kwrite KDE4::ktexteditor KDE4::kio KDE4::kparts)
|
||||
target_link_libraries(kwrite
|
||||
KDE4::ktexteditor
|
||||
KDE4::kio
|
||||
KDE4::kparts
|
||||
)
|
||||
|
||||
install(TARGETS kwrite DESTINATION ${KDE4_BIN_INSTALL_DIR})
|
||||
install(FILES kwriteui.rc DESTINATION ${KDE4_DATA_INSTALL_DIR}/kwrite)
|
||||
install(PROGRAMS kwrite.desktop DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR})
|
||||
install(
|
||||
TARGETS kwrite
|
||||
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install(
|
||||
FILES kwriteui.rc
|
||||
DESTINATION ${KDE4_DATA_INSTALL_DIR}/kwrite
|
||||
)
|
||||
|
||||
install(
|
||||
PROGRAMS kwrite.desktop
|
||||
DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR}
|
||||
)
|
||||
|
|
|
@ -25,6 +25,7 @@ Boston, MA 02110-1301, USA.
|
|||
|
||||
#include <QFileInfo>
|
||||
#include <QTextCodec>
|
||||
#include <QTextStream>
|
||||
|
||||
KWriteApp::KWriteApp(KCmdLineArgs *m_args)
|
||||
: KApplication ()
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
*/
|
||||
|
||||
#include "kwritemain.h"
|
||||
#include "kwritemain.moc"
|
||||
#include "kwriteapp.h"
|
||||
#include <ktexteditor/document.h>
|
||||
#include <ktexteditor/view.h>
|
||||
|
@ -672,7 +671,7 @@ int main(int argc, char **argv)
|
|||
ki18n("KWrite"),
|
||||
KDE_VERSION_STRING,
|
||||
ki18n( "KWrite - Text Editor" ), KAboutData::License_LGPL_V2,
|
||||
ki18n( "(c) 2000-2013 The Kate Authors" ), KLocalizedString(), "http://www.kate-editor.org" );
|
||||
ki18n( "(c) 2000-2013 The Kate Authors" ));
|
||||
aboutData.addAuthor (ki18n("Christoph Cullmann"), ki18n("Maintainer"), "cullmann@kde.org", "http://www.cullmann.io");
|
||||
aboutData.addAuthor (ki18n("Anders Lund"), ki18n("Core Developer"), "anders@alweb.dk", "http://www.alweb.dk");
|
||||
aboutData.addAuthor (ki18n("Joseph Wenninger"), ki18n("Core Developer"), "jowenn@kde.org","http://stud3.tuwien.ac.at/~e9925371");
|
||||
|
|
Loading…
Add table
Reference in a new issue