From 463513075024afd2dfbb5e6300285acd8bf2ee27 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Nov 2011 12:43:53 -0600 Subject: Fix FTBFS --- CMakeLists.txt | 4 ++-- ConfigureChecks.cmake | 2 +- kmail/kmail.kcfg | 2 +- kmail/kmkernel.cpp | 6 +++--- knotes/knoteconfig.kcfg | 2 +- korganizer/korganizer.kcfg | 10 +++++----- libtdepim/CMakeLists.txt | 2 +- libtdepim/ConfigureChecks.cmake | 10 ++++++++++ 8 files changed, 24 insertions(+), 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 269178378..64a015734 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,7 +90,7 @@ option( BUILD_KTNEF "Build ktnef" ${BUILD_ALL} ) option( BUILD_LIBKCAL "Build libkcal" ${BUILD_ALL} ) option( BUILD_LIBTDEPIM "Build libtdepim" ${BUILD_ALL} ) option( BUILD_LIBKPIMIDENTITIES "Build libkpimidentities" ${BUILD_ALL} ) -option( BUILD_LIBKDENETWORK "Build libtdenetwork" ${BUILD_ALL} ) +option( BUILD_LIBTDENETWORK "Build libtdenetwork" ${BUILD_ALL} ) option( BUILD_CERTMANAGER "Build certmanager" ${BUILD_ALL} ) option( BUILD_LIBKPGP "Build libkpgp" ${BUILD_ALL} ) option( BUILD_MIMELIB "Build mimelib" ${BUILD_ALL} ) @@ -161,7 +161,7 @@ tde_conditional_add_subdirectory( BUILD_LIBKCAL libkcal ) tde_conditional_add_subdirectory( BUILD_LIBTDEPIM pixmaps ) tde_conditional_add_subdirectory( BUILD_LIBTDEPIM libtdepim ) tde_conditional_add_subdirectory( BUILD_LIBKPIMIDENTITIES libkpimidentities ) -tde_conditional_add_subdirectory( BUILD_LIBKDENETWORK libtdenetwork ) +tde_conditional_add_subdirectory( BUILD_LIBTDENETWORK libtdenetwork ) tde_conditional_add_subdirectory( BUILD_CERTMANAGER certmanager ) tde_conditional_add_subdirectory( BUILD_LIBKPGP libkpgp ) tde_conditional_add_subdirectory( BUILD_MIMELIB mimelib ) diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index fc6c1db72..c75eb54d1 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -57,7 +57,7 @@ if( WITH_GNOKII AND (BUILD_KADDRESSBOOK OR BUILD_KMOBILE) ) endif( ) -if( BUILD_LIBKDENETWORK OR BUILD_CERTMANAGER OR BUILD_KMAIL OR BUILD_KADDRESSBOOK OR BUILD_KONTACT ) +if( BUILD_LIBTDENETWORK OR BUILD_CERTMANAGER OR BUILD_KMAIL OR BUILD_KADDRESSBOOK OR BUILD_KONTACT ) if( NOT HAVE_GPGME_0_4_BRANCH ) message( STATUS "checking for 'gpgme'" ) diff --git a/kmail/kmail.kcfg b/kmail/kmail.kcfg index 11f0ede47..b2cd4d39e 100644 --- a/kmail/kmail.kcfg +++ b/kmail/kmail.kcfg @@ -547,7 +547,7 @@ - QSize(480,510) + TQSize(480,510) diff --git a/kmail/kmkernel.cpp b/kmail/kmkernel.cpp index 3caa18c23..e6c641300 100644 --- a/kmail/kmkernel.cpp +++ b/kmail/kmkernel.cpp @@ -1941,12 +1941,12 @@ void KMKernel::kmailMsgHandler(TQtMsgType aType, const char* aMsg) switch (aType) { - case QtDebugMsg: - case QtWarningMsg: + case TQtDebugMsg: + case TQtWarningMsg: kdDebug(5006) << aMsg << endl; break; - case QtFatalMsg: // Hm, what about using kdFatal() here? + case TQtFatalMsg: // Hm, what about using kdFatal() here? ungrabPtrKb(); kdDebug(5006) << kapp->caption() << " fatal error " << aMsg << endl; diff --git a/knotes/knoteconfig.kcfg b/knotes/knoteconfig.kcfg index 18a8c636c..c6449eec6 100644 --- a/knotes/knoteconfig.kcfg +++ b/knotes/knoteconfig.kcfg @@ -66,7 +66,7 @@ - QPoint( -10000, -10000 ) + TQPoint( -10000, -10000 ) diff --git a/korganizer/korganizer.kcfg b/korganizer/korganizer.kcfg index c299aa75c..d5513fe86 100644 --- a/korganizer/korganizer.kcfg +++ b/korganizer/korganizer.kcfg @@ -141,12 +141,12 @@ Enter the default time for events here. The default is used if you do not supply a start time. - QDateTime(QDate(), QTime(10,0)) + TQDateTime(TQDate(), TQTime(10,0)) Enter default duration for events here. The default is used if you do not supply an end time. - QDateTime(QDate(), QTime(2,0)) + TQDateTime(TQDate(), TQTime(2,0)) @@ -277,18 +277,18 @@ Enter the start time for events here. This time should be the earliest time that you use for events, as it will be displayed at the top. - QDateTime(QDate(), QTime(7,0)) + TQDateTime(TQDate(), TQTime(7,0)) Enter the start time for the working hours here. The working hours will be marked with color by KOrganizer. - QDateTime(QDate(), QTime(8,0)) + TQDateTime(TQDate(), TQTime(8,0)) Enter the ending time for the working hours here. The working hours will be marked with color by KOrganizer. - QDateTime(QDate(), QTime(17,0)) + TQDateTime(TQDate(), TQTime(17,0)) 31 diff --git a/libtdepim/CMakeLists.txt b/libtdepim/CMakeLists.txt index 19ca1d524..0b8537d3f 100644 --- a/libtdepim/CMakeLists.txt +++ b/libtdepim/CMakeLists.txt @@ -98,7 +98,7 @@ tde_add_library( tdepim SHARED AUTOMOC csshelper.cpp distributionlist.cpp kpimurlrequesterdlg.cpp sendsmsdialog.cpp kmailcompletion.cpp VERSION 1.0.0 - LINK kcal-shared kimproxy-shared kparts-shared qui + LINK kcal-shared kimproxy-shared kparts-shared ${TQUI_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} ) diff --git a/libtdepim/ConfigureChecks.cmake b/libtdepim/ConfigureChecks.cmake index 96e1e621a..d2a8f1ff2 100644 --- a/libtdepim/ConfigureChecks.cmake +++ b/libtdepim/ConfigureChecks.cmake @@ -8,3 +8,13 @@ # This file is released under GPL >= 2 # ################################################# + +foreach( f ${TQT_LIBRARIES} ) + if( ${f} STREQUAL "tqt-mt" ) + set(TQUI_LIBRARIES "tqui" CACHE TYPE STRING FORCE) + endif() + if( ${f} STREQUAL "qt-mt" ) + set(TQUI_LIBRARIES "qui" CACHE TYPE STRING FORCE) + endif() +endforeach() + -- cgit v1.2.1