diff options
Diffstat (limited to 'kate/plugins')
-rw-r--r-- | kate/plugins/kdatatool/kate_kdatatool.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kate/plugins/kdatatool/kate_kdatatool.cpp b/kate/plugins/kdatatool/kate_kdatatool.cpp index e14cd9249..607ba33a4 100644 --- a/kate/plugins/kdatatool/kate_kdatatool.cpp +++ b/kate/plugins/kdatatool/kate_kdatatool.cpp @@ -160,9 +160,9 @@ void KDataToolPluginView::aboutToShow() TDEInstance *inst=instance(); TQValueList<KDataToolInfo> tools; - tools += KDataToolInfo::query( TQSTRING_OBJECT_NAME_STRING, "text/plain", inst ); + tools += KDataToolInfo::query( "TQString", "text/plain", inst ); if( m_singleWord ) - tools += KDataToolInfo::query( TQSTRING_OBJECT_NAME_STRING, "application/x-singleword", inst ); + tools += KDataToolInfo::query( "TQString", "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_OBJECT_NAME_STRING; + TQString datatype = "TQString"; // If unsupported (and if we have a single word indeed), try application/x-singleword if ( !info.mimeTypes().contains( mimetype ) && m_singleWord ) |