summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete')
-rw-r--r--kopete/libkopete/CMakeLists.txt91
-rw-r--r--kopete/libkopete/avdevice/CMakeLists.txt46
-rw-r--r--kopete/libkopete/kopetemessagemanager.h3
-rw-r--r--kopete/libkopete/kopetemessagemanagerfactory.h3
-rw-r--r--kopete/libkopete/kopetepasswordedaccount.h2
-rw-r--r--kopete/libkopete/private/CMakeLists.txt29
-rw-r--r--kopete/libkopete/ui/CMakeLists.txt56
7 files changed, 222 insertions, 8 deletions
diff --git a/kopete/libkopete/CMakeLists.txt b/kopete/libkopete/CMakeLists.txt
new file mode 100644
index 00000000..bbed2548
--- /dev/null
+++ b/kopete/libkopete/CMakeLists.txt
@@ -0,0 +1,91 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# FIXME no support for XSS and XRENDER yet
+
+add_subdirectory( private )
+add_subdirectory( ui )
+add_subdirectory( avdevice )
+
+add_definitions( -DKDE_NO_COMPAT )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/ui
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/private
+ ${CMAKE_CURRENT_SOURCE_DIR}/ui
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ kopeteaccount.h kopeteaccountmanager.h kopeteawayaction.h
+ kopeteawaydialog.h kopeteaway.h kopetecommandhandler.h
+ kopetecontact.h kopetecontactlistelement.h kopetecontactlist.h
+ kopetecontactproperty.h kopeteeventpresentation.h
+ kopete_export.h kopeteglobal.h kopetegroup.h kopetemessageevent.h
+ kopetemessage.h kopetemessagehandlerchain.h kopetemessagehandler.h
+ kopetechatsession.h kopetechatsessionmanager.h kopetemetacontact.h
+ kopetemimetypehandler.h kopeteonlinestatus.h kopeteonlinestatusmanager.h
+ kopetepasswordedaccount.h kopetepassword.h kopeteplugin.h
+ kopeteprotocol.h kopetesimplemessagehandler.h kopetetask.h
+ kopetetransfermanager.h kopeteuiglobal.h kabcpersistence.h
+ managedconnectionaccount.h kopetenotifydataobject.h
+ kopeteversion.h kopeteprefs.h kopetepicture.h webcamwidget.h
+ kopetepluginmanager.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kopete )
+
+
+##### other data ################################
+
+install( FILES kopete.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+install( FILES kopetecommandui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete )
+install( FILES kopeteplugin.desktop kopeteprotocol.desktop kopeteui.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+
+##### kopete (shared) ###########################
+
+tde_include_tqt( kopetemimetypehandler.cpp )
+
+tde_add_library( kopete SHARED AUTOMOC
+ SOURCES
+ knotification.cpp connectionmanager.cpp kopeteonlinestatus.cpp
+ kopeteonlinestatusmanager.cpp kopeteprotocol.cpp
+ kopetecontact.cpp kopetepluginmanager.cpp kopeteplugin.cpp
+ kopetemessage.cpp kopetechatsession.cpp kopetechatsessionmanager.cpp
+ kopetecontactlist.cpp kopetemetacontact.cpp kopeteawaydialog.cpp
+ kopetetransfermanager.cpp kopetegroup.cpp kcautoconfigmodule.cpp
+ kopeteaccountmanager.cpp kopeteaccount.cpp kopetecontactlistelement.cpp
+ kopetecommandhandler.cpp kopeteaway.cpp kopeteawayaction.cpp
+ kautoconfig.cpp kopetewalletmanager.cpp kopetecontactproperty.cpp
+ kopetepassword.cpp kopeteglobal.cpp kopeteuiglobal.cpp
+ kopetepasswordedaccount.cpp kopetemimetypehandler.cpp
+ kopetetask.cpp kopetemimesourcefactory.cpp kopeteeventpresentation.cpp
+ kopetenotifyevent.cpp kopetenotifydataobject.cpp kopeteblacklister.cpp
+ kopetemessageevent.cpp kopetemessagehandler.cpp kopetemessagehandlerchain.cpp
+ kopetesimplemessagehandler.cpp kopeteproperties.cpp kabcpersistence.cpp
+ connectionmanager.skel clientiface.stub managedconnectionaccount.cpp
+ networkstatuscommon.h kopeteconfig.kcfgc kopeteutils.cpp
+ kopeteprefs.cpp kopetepicture.cpp webcamwidget.cpp
+ VERSION 1.0.0
+ EMBED kopeteui-static
+ LINK kopeteprivate-static kabc-shared kutils-shared khtml-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/kopete/libkopete/avdevice/CMakeLists.txt b/kopete/libkopete/avdevice/CMakeLists.txt
new file mode 100644
index 00000000..8e37773f
--- /dev/null
+++ b/kopete/libkopete/avdevice/CMakeLists.txt
@@ -0,0 +1,46 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# FIXME no support for GLLIB yet
+
+add_definitions( -DKDE_NO_COMPAT )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kopete/libkopete
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kvideoio (static) #########################
+
+tde_add_library( kvideoio STATIC_PIC AUTOMOC
+ SOURCES kxv.cpp qvideo.cpp qvideostream.cpp
+)
+
+
+##### kopete_videodevice (shared) ###############
+
+tde_add_library( kopete_videodevice SHARED AUTOMOC
+ SOURCES
+ videocontrol.cpp videodevice.cpp videodevicemodelpool.cpp
+ videodevicepool.cpp videoinput.cpp bayer.cpp
+ sonix_compress.cpp
+ VERSION 1.0.0
+ LINK kdecore-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/kopete/libkopete/kopetemessagemanager.h b/kopete/libkopete/kopetemessagemanager.h
deleted file mode 100644
index a07fb6f9..00000000
--- a/kopete/libkopete/kopetemessagemanager.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#warning kopetemessagemanager.h has been renamed to kopetechatsession.h
-#include "kopetechatsession.h"
-
diff --git a/kopete/libkopete/kopetemessagemanagerfactory.h b/kopete/libkopete/kopetemessagemanagerfactory.h
deleted file mode 100644
index 9ebdaa98..00000000
--- a/kopete/libkopete/kopetemessagemanagerfactory.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#warning kopetemessagemanagerfactory.h has been renamed to kopetechatsessionmanager.h
-#include "kopetechatsessionmanager.h"
-
diff --git a/kopete/libkopete/kopetepasswordedaccount.h b/kopete/libkopete/kopetepasswordedaccount.h
index d008bae4..dbec92db 100644
--- a/kopete/libkopete/kopetepasswordedaccount.h
+++ b/kopete/libkopete/kopetepasswordedaccount.h
@@ -21,8 +21,6 @@
#include "kopete_export.h"
-class Kopete::OnlineStatus;
-
namespace Kopete
{
diff --git a/kopete/libkopete/private/CMakeLists.txt b/kopete/libkopete/private/CMakeLists.txt
new file mode 100644
index 00000000..9ed6d643
--- /dev/null
+++ b/kopete/libkopete/private/CMakeLists.txt
@@ -0,0 +1,29 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions( -DKDE_NO_COMPAT )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kopete/libkopete
+ ${CMAKE_SOURCE_DIR}/kopete/libkopete/ui
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### kopeteprivate (static) ####################
+
+tde_add_library( kopeteprivate STATIC_PIC AUTOMOC
+ SOURCES
+ kopeteemoticons.cpp kopetecommand.cpp
+ kopeteviewmanager.cpp kopeteutils_private.cpp
+)
diff --git a/kopete/libkopete/ui/CMakeLists.txt b/kopete/libkopete/ui/CMakeLists.txt
new file mode 100644
index 00000000..cb224847
--- /dev/null
+++ b/kopete/libkopete/ui/CMakeLists.txt
@@ -0,0 +1,56 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_definitions( -DKDE_NO_COMPAT )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/kopete/libkopete
+ ${CMAKE_SOURCE_DIR}/kopete/libkopete/private
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ addressbooklinkwidget.h kopetefileconfirmdialog.h
+ kopetepasswordwidget.h kopeteview.h addcontactpage.h
+ kopeteviewplugin.h editaccountwidget.h kopetecontactaction.h
+ kopetestdaction.h userinfodialog.h addressbookselectordialog.h
+ addressbookselectorwidget.h kopetelistview.h accountselector.h
+ kopetelistviewitem.h kopetelistviewsearchline.h
+ ${CMAKE_CURRENT_BINARY_DIR}/fileconfirmbase.h
+ ${CMAKE_CURRENT_BINARY_DIR}/kopeteawaydialogbase.h
+ ${CMAKE_CURRENT_BINARY_DIR}/kopetepasswordwidgetbase.h
+ ${CMAKE_CURRENT_BINARY_DIR}/kopetepassworddialog.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kopete/ui )
+
+
+##### kopeteui (static) #########################
+
+tde_add_library( kopeteui STATIC_PIC AUTOMOC
+ SOURCES
+ kopetecontactaction.cpp addcontactpage.cpp editaccountwidget.cpp
+ kopetepassworddialog.ui kopetestdaction.cpp kopeteawaydialogbase.ui
+ kopetefileconfirmdialog.cpp fileconfirmbase.ui
+ userinfodialog.cpp kopeteview.cpp kopetepasswordwidgetbase.ui
+ kopetepasswordwidget.cpp accountselector.cpp kopeteviewplugin.cpp
+ addresseeitem.cpp addressbookselectorwidget_base.ui
+ addressbookselectordialog.cpp addressbookselectorwidget.cpp
+ metacontactselectorwidget_base.ui metacontactselectorwidget.cpp
+ kopetelistview.cpp kopetelistviewitem.cpp kopetelistviewsearchline.cpp
+ contactaddednotifywidget.ui contactaddednotifydialog.cpp
+ addressbooklinkwidget_base.ui addressbooklinkwidget.cpp
+)