summaryrefslogtreecommitdiffstats
path: root/kbiff
diff options
context:
space:
mode:
Diffstat (limited to 'kbiff')
-rw-r--r--kbiff/CMakeLists.txt61
-rw-r--r--kbiff/kbiffmonitor.cpp2
-rw-r--r--kbiff/pics/CMakeLists.txt19
3 files changed, 81 insertions, 1 deletions
diff --git a/kbiff/CMakeLists.txt b/kbiff/CMakeLists.txt
new file mode 100644
index 0000000..30ccca5
--- /dev/null
+++ b/kbiff/CMakeLists.txt
@@ -0,0 +1,61 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### OpenSSL library
+
+if( USE_SSL )
+ set( _SSL ssl )
+endif()
+
+
+##### kbiff (tdeinit)
+
+tde_add_tdeinit_executable( ${PROJECT_NAME} AUTOMOC
+
+ SOURCES
+ setupdlg.cpp
+ kbiff.cpp
+ main.cpp
+ kbiffmonitor.cpp
+ notify.cpp
+ kbiffurl.cpp
+ status.cpp
+ kbiffcodec.cpp
+ led.cpp
+ kbiffcrypt.cpp
+ version.cpp
+ LINK
+ tdeio-shared
+ tdecore-shared
+ tdeui-shared
+ ${_SSL}
+)
+
+
+##### icons
+
+tde_install_icons( ${PROJECT_NAME} )
+
+
+##### other data
+
+install(
+ FILES ${PROJECT_NAME}.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/Internet
+)
+
+
+##### other directory
+
+add_subdirectory( pics )
diff --git a/kbiff/kbiffmonitor.cpp b/kbiff/kbiffmonitor.cpp
index 041ccb1..5fa72d9 100644
--- a/kbiff/kbiffmonitor.cpp
+++ b/kbiff/kbiffmonitor.cpp
@@ -2045,7 +2045,7 @@ bool KBiffPop::authenticate(const TQString& user, const TQString& pass)
TQCString digest;
KMD5 md5(chall_apop);
- md5.update(pass);
+ md5.update(pass.utf8());
digest = md5.hexDigest();
diff --git a/kbiff/pics/CMakeLists.txt b/kbiff/pics/CMakeLists.txt
new file mode 100644
index 0000000..014a2af
--- /dev/null
+++ b/kbiff/pics/CMakeLists.txt
@@ -0,0 +1,19 @@
+install(
+
+ FILES
+ mini-newmail.png
+ mini-nomail.png
+ mini-oldmail.png
+ newmail.png
+ nomail.png
+ oldmail.png
+ mailbox.png
+ delete.png
+ playsound.png
+ mini-noconn.png
+ noconn.png
+ mini-stopped.png
+ stopped.png
+
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/pics
+)