summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-25 15:51:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-25 15:51:40 -0600
commit5661d90024acd6f43dc38211891c7b48cd0709f2 (patch)
tree2564151a125f295da00ef0d0398b60c5601ca58f
parent7aaac3ed63e4907d6f6112dbc142952f06d0f8b1 (diff)
downloadkbfx-5661d900.tar.gz
kbfx-5661d900.zip
Fix configdialog FTBFS
-rw-r--r--configdialog/CMakeLists.txt3
-rw-r--r--configdialog/kbfxconfigdlgmain.ui16
-rw-r--r--configdialog/kbfxconfigdlgthemes.ui2
-rw-r--r--configdialog/kbfxconfigdlgthemes.ui.h2
-rw-r--r--configdialog/kbfxconfigdlgtooltip.ui4
-rw-r--r--plugins/applications/CMakeLists.txt86
6 files changed, 57 insertions, 56 deletions
diff --git a/configdialog/CMakeLists.txt b/configdialog/CMakeLists.txt
index aac563b..20ff4cc 100644
--- a/configdialog/CMakeLists.txt
+++ b/configdialog/CMakeLists.txt
@@ -15,6 +15,7 @@ include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/kbfxlib/common
${CMAKE_SOURCE_DIR}/kbfxlib/data
+ ${CMAKE_SOURCE_DIR}/src
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
)
@@ -28,7 +29,7 @@ link_directories(
##### kbfxconfigapp (executable) ################
-tde_add_executable( kbfxconfigapp
+tde_add_executable( kbfxconfigapp AUTOMOC
SOURCES main.cpp kbfxconfigapp.cpp kbfxthemeinfo.ui
kbfxconfigdlgbutton.ui kbfxconfigdlgmain.ui
kbfxconfigdlgthemes.ui kbfxconfigdlgabout.ui
diff --git a/configdialog/kbfxconfigdlgmain.ui b/configdialog/kbfxconfigdlgmain.ui
index 96d30f5..d87e019 100644
--- a/configdialog/kbfxconfigdlgmain.ui
+++ b/configdialog/kbfxconfigdlgmain.ui
@@ -648,14 +648,14 @@
<include location="local" impldecl="in implementation">kbfxconfigdlgmain.ui.h</include>
</includes>
<variables>
- <variable access="public">QPixmap img_button;</variable>
- <variable access="public">QPixmap img_themes;</variable>
- <variable access="public">QPixmap img_fonts;</variable>
- <variable access="public">QPixmap img_style;</variable>
- <variable access="public">QPixmap img_tooltip;</variable>
- <variable access="public">QPixmap img_search;</variable>
- <variable access="public">QPixmap img_plugins;</variable>
- <variable access="public">QPixmap img_about;</variable>
+ <variable access="public">TQPixmap img_button;</variable>
+ <variable access="public">TQPixmap img_themes;</variable>
+ <variable access="public">TQPixmap img_fonts;</variable>
+ <variable access="public">TQPixmap img_style;</variable>
+ <variable access="public">TQPixmap img_tooltip;</variable>
+ <variable access="public">TQPixmap img_search;</variable>
+ <variable access="public">TQPixmap img_plugins;</variable>
+ <variable access="public">TQPixmap img_about;</variable>
</variables>
<Q_SIGNALS>
<signal>KbfxConfigDlgButtonChanged(const char * name, const QString &amp; path)</signal>
diff --git a/configdialog/kbfxconfigdlgthemes.ui b/configdialog/kbfxconfigdlgthemes.ui
index 1d37a64..9e1a646 100644
--- a/configdialog/kbfxconfigdlgthemes.ui
+++ b/configdialog/kbfxconfigdlgthemes.ui
@@ -998,7 +998,7 @@
<variable access="private">bool KbfxFormReady;</variable>
<variable access="private">TQString KbfxInstallDialogURL;</variable>
<variable access="public">TQStringList KbfxThemes;</variable>
- <variable access="public">QPixmap img_nopreview;</variable>
+ <variable access="public">TQPixmap img_nopreview;</variable>
<variable>static KbfxThemeInfo * _info_box;</variable>
</variables>
<Q_SIGNALS>
diff --git a/configdialog/kbfxconfigdlgthemes.ui.h b/configdialog/kbfxconfigdlgthemes.ui.h
index fb5d722..3c6ec3b 100644
--- a/configdialog/kbfxconfigdlgthemes.ui.h
+++ b/configdialog/kbfxconfigdlgthemes.ui.h
@@ -315,7 +315,7 @@ void KbfxConfigDlgThemes::KbfxThemeInfoClicked()
TQPixmap _logo = TQPixmap (ConfigInit ().m_SpinxThemeBasePath + ConfigInit ().m_SpinxThemeName + "/logo.png");
ConfigInit().readThemeInfo ( ConfigInit().m_SpinxThemeBasePath, ConfigInit().m_SpinxThemeName );
- _info_box = new KbfxThemeInfo (this,"infodlg",TQt::WType_Modal);
+ _info_box = new KbfxThemeInfo (this,"infodlg",(WType_Dialog|WShowModal));
if ( !_logo.isNull() )
{
diff --git a/configdialog/kbfxconfigdlgtooltip.ui b/configdialog/kbfxconfigdlgtooltip.ui
index d5005ae..98215d6 100644
--- a/configdialog/kbfxconfigdlgtooltip.ui
+++ b/configdialog/kbfxconfigdlgtooltip.ui
@@ -694,8 +694,8 @@
<include location="local" impldecl="in implementation">kbfxconfigdlgtooltip.ui.h</include>
</includes>
<variables>
- <variable access="public">QPixmap img_on;</variable>
- <variable access="public">QPixmap img_off;</variable>
+ <variable access="public">TQPixmap img_on;</variable>
+ <variable access="public">TQPixmap img_off;</variable>
</variables>
<Q_SLOTS>
<slot>KbfxTooltipAnimationButtonToggled( bool )</slot>
diff --git a/plugins/applications/CMakeLists.txt b/plugins/applications/CMakeLists.txt
index c4d9fc1..3fe72bc 100644
--- a/plugins/applications/CMakeLists.txt
+++ b/plugins/applications/CMakeLists.txt
@@ -1,44 +1,44 @@
-SET(libkbfxplasmadatastubsrc
- kbfxplasmadataplugin.cpp
- )
-
-FILE(GLOB HEADERS *.h)
-
-IF (NOT USE_KDE4)
- KDE3_AUTOMOC(${libkbfxplasmadatastubsrc})
-
- ADD_LIBRARY(kbfxplasmadatastub SHARED ${libkbfxplasmadatastubsrc})
- SET_TARGET_PROPERTIES(kbfxplasmadatastub
- PROPERTIES
- COMPILE_FLAGS ${CMAKE_SHARED_LIBRARY_CXX_FLAGS})
- # SET_TARGET_PROPERTIES(kbfxplasmadatastub PROPERTIES
- # SOVERSION ${LIB_MAJOR}
- # VERSION ${APPLICATION_VERSION})
- TARGET_LINK_LIBRARIES(kbfxplasmadatastub
- kbfxdata
- ${QT_AND_TDECORE_LIBS}
- ${KDE3_KIO_LIBRARY}
- ${KDE3_UI_LIBRARY}
- ${KDE3_KHTML_LIBRARY}
- ${M_LIBRARY}
- )
-
- KDE3_INSTALL_LIBTOOL_FILE(kbfxplasmadatastub ${LIB_INSTALL_DIR}/kbfx/plugins)
-ELSE (NOT USE_KDE4)
- KDE4_AUTOMOC(${libkbfxplasmadatastubsrc})
-
- KDE4_ADD_LIBRARY(kbfxplasmadatastub SHARED ${libkbfxplasmadatastubsrc})
- TARGET_LINK_LIBRARIES(kbfxplasmadatastub
- kbfxdata
- ${KDE4_TDECORE_LIBS}
- ${KDE4_KIO_LIBS}
- ${KDE4_TDEUI_LIBS}
- ${KDE4_KHTML_LIBS}
- ${M_LIBRARY}
- )
-
- KDE4_INSTALL_LIBTOOL_FILE(kbfxplasmadatastub ${LIB_INSTALL_DIR}/kbfx/plugins)
-ENDIF (NOT USE_KDE4)
-
-INSTALL(TARGETS kbfxplasmadatastub DESTINATION ${LIB_INSTALL_DIR}/kbfx/plugins)
+#################################################
+#
+# (C) 2011 Timothy Pearson
+# kb9vqf (AT) pearsoncomputing.net
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kbfxplasmadatastub #########################
+
+set( target kbfxplasmadatastub )
+
+set( ${target}_SRCS
+ kbfxplasmadataplugin.cpp
+)
+
+tde_add_library( ${target} SHARED AUTOMOC
+ SOURCES ${${target}_SRCS}
+# VERSION 4.2.0
+ LINK DCOP-shared tdecore-shared tdeui-shared kio-shared khtml-shared ${M_LIBRARY} kbfxdata
+ DESTINATION ${LIB_INSTALL_DIR}/kbfx/plugins
+)
+
+
+##### headers #######################################
+
+file( GLOB HEADERS *.h )
INSTALL(FILES ${HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kbfx/plugins)