summaryrefslogtreecommitdiffstats
path: root/libtdepim/tdepartsdesignerplugin/tdepartsdesignerplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/tdepartsdesignerplugin/tdepartsdesignerplugin.cpp')
-rw-r--r--libtdepim/tdepartsdesignerplugin/tdepartsdesignerplugin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libtdepim/tdepartsdesignerplugin/tdepartsdesignerplugin.cpp b/libtdepim/tdepartsdesignerplugin/tdepartsdesignerplugin.cpp
index 2801a9d3..58b247b8 100644
--- a/libtdepim/tdepartsdesignerplugin/tdepartsdesignerplugin.cpp
+++ b/libtdepim/tdepartsdesignerplugin/tdepartsdesignerplugin.cpp
@@ -24,7 +24,7 @@
#include <kmimetype.h>
#include <tqlayout.h>
#include <tdeapplication.h>
-#include <tdepimmacros.h>
+#include <kdemacros.h>
KPartsGenericPart::KPartsGenericPart( TQWidget* parentWidget, const char* name )
: TQWidget( parentWidget, name ), m_part( 0 )
@@ -48,7 +48,7 @@ void KPartsGenericPart::load()
delete m_part;
}
// "this" is both the parent widget and the parent object
- m_part = KParts::ComponentFactory::createPartInstanceFromQuery<KParts::ReadOnlyPart>( mimetype, TQString(), TQT_TQWIDGET(this), 0, TQT_TQOBJECT(this), 0 );
+ m_part = KParts::ComponentFactory::createPartInstanceFromQuery<KParts::ReadOnlyPart>( mimetype, TQString(), this, 0, this, 0 );
if ( m_part ) {
m_part->openURL( m_url );
m_part->widget()->show();
@@ -106,8 +106,8 @@ bool KPartsWidgetPlugin::isContainer( const TQString & /*key*/ ) const {
/// Duplicated from tdelibs/tdecore/kdemacros.h.in for those with tdelibs < 3.4
#ifndef KDE_TQ_EXPORT_PLUGIN
#define KDE_TQ_EXPORT_PLUGIN(PLUGIN) \
- TQ_EXTERN_C KDE_EXPORT const char* qt_ucm_query_verification_data(); \
- TQ_EXTERN_C KDE_EXPORT TQUnknownInterface* ucm_instantiate(); \
+ TQ_EXTERN_C TDE_EXPORT const char* qt_ucm_query_verification_data(); \
+ TQ_EXTERN_C TDE_EXPORT TQUnknownInterface* ucm_instantiate(); \
TQ_EXPORT_PLUGIN(PLUGIN)
#endif