summaryrefslogtreecommitdiffstats
path: root/kate/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'kate/plugins')
-rw-r--r--kate/plugins/kdatatool/kate_kdatatool.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kate/plugins/kdatatool/kate_kdatatool.cpp b/kate/plugins/kdatatool/kate_kdatatool.cpp
index 6f519c24f..db28f8084 100644
--- a/kate/plugins/kdatatool/kate_kdatatool.cpp
+++ b/kate/plugins/kdatatool/kate_kdatatool.cpp
@@ -160,9 +160,9 @@ void KDataToolPluginView::aboutToShow()
KInstance *inst=instance();
TQValueList<KDataToolInfo> tools;
- tools += KDataToolInfo::query( "TQString", "text/plain", inst );
+ tools += KDataToolInfo::query( TQSTRING_OBJECT_NAME_STRING, "text/plain", inst );
if( m_singleWord )
- tools += KDataToolInfo::query( "TQString", "application/x-singleword", inst );
+ tools += KDataToolInfo::query( TQSTRING_OBJECT_NAME_STRING, "application/x-singleword", inst );
m_actionList = KDataToolAction::dataToolActionList( tools, this,
TQT_SLOT( slotToolActivated( const KDataToolInfo &, const TQString & ) ) );
@@ -203,7 +203,7 @@ void KDataToolPluginView::slotToolActivated( const KDataToolInfo &info, const TQ
text = m_wordUnderCursor;
TQString mimetype = "text/plain";
- TQString datatype = "TQString";
+ TQString datatype = TQSTRING_OBJECT_NAME_STRING;
// If unsupported (and if we have a single word indeed), try application/x-singleword
if ( !info.mimeTypes().tqcontains( mimetype ) && m_singleWord )