summaryrefslogtreecommitdiffstats
path: root/kate/xmltools
diff options
context:
space:
mode:
Diffstat (limited to 'kate/xmltools')
-rw-r--r--kate/xmltools/plugin_katexmltools.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/kate/xmltools/plugin_katexmltools.cpp b/kate/xmltools/plugin_katexmltools.cpp
index 7dc1cdf..0bbc029 100644
--- a/kate/xmltools/plugin_katexmltools.cpp
+++ b/kate/xmltools/plugin_katexmltools.cpp
@@ -134,10 +134,10 @@ PluginKateXMLTools::PluginKateXMLTools( TQObject* parent, const char* name, cons
m_documentManager = ((Kate::Application*)parent)->documentManager();
-// connect( m_documentManager, TQT_SIGNAL(documentCreated()),
-// this, TQT_SLOT(slotDocumentCreated()) );
- connect( m_documentManager, TQT_SIGNAL(documentDeleted(uint)),
- this, TQT_SLOT(slotDocumentDeleted(uint)) );
+// connect( m_documentManager, TQ_SIGNAL(documentCreated()),
+// this, TQ_SLOT(slotDocumentCreated()) );
+ connect( m_documentManager, TQ_SIGNAL(documentDeleted(uint)),
+ this, TQ_SLOT(slotDocumentDeleted(uint)) );
}
PluginKateXMLTools::~PluginKateXMLTools()
@@ -150,11 +150,11 @@ void PluginKateXMLTools::addView( Kate::MainWindow *win )
// TODO: doesn't this have to be deleted?
PluginView *view = new PluginView ();
( void) new TDEAction ( i18n("&Insert Element..."), CTRL+Key_Return, this,
- TQT_SLOT( slotInsertElement()), view->actionCollection(), "xml_tool_insert_element" );
+ TQ_SLOT( slotInsertElement()), view->actionCollection(), "xml_tool_insert_element" );
( void) new TDEAction ( i18n("&Close Element"), CTRL+Key_Less, this,
- TQT_SLOT( slotCloseElement()), view->actionCollection(), "xml_tool_close_element" );
+ TQ_SLOT( slotCloseElement()), view->actionCollection(), "xml_tool_close_element" );
( void) new TDEAction ( i18n("Assign Meta &DTD..." ), 0, this,
- TQT_SLOT( getDTD()), view->actionCollection(), "xml_tool_assign" );
+ TQ_SLOT( getDTD()), view->actionCollection(), "xml_tool_assign" );
view->setInstance( new TDEInstance("kate") );
view->setXMLFile( "plugins/katexmltools/ui.rc" );
@@ -361,9 +361,9 @@ PluginKateXMLTools::stringListToCompletionEntryList( TQStringList list )
*/
void PluginKateXMLTools::disconnectSlots( Kate::View *kv )
{
- disconnect( kv, TQT_SIGNAL(filterInsertString(KTextEditor::CompletionEntry*,TQString*)), this, 0 );
- disconnect( kv, TQT_SIGNAL(completionDone(KTextEditor::CompletionEntry)), this, 0 );
- disconnect( kv, TQT_SIGNAL(completionAborted()), this, 0 );
+ disconnect( kv, TQ_SIGNAL(filterInsertString(KTextEditor::CompletionEntry*,TQString*)), this, 0 );
+ disconnect( kv, TQ_SIGNAL(completionDone(KTextEditor::CompletionEntry)), this, 0 );
+ disconnect( kv, TQ_SIGNAL(completionAborted()), this, 0 );
}
/**
@@ -372,11 +372,11 @@ void PluginKateXMLTools::disconnectSlots( Kate::View *kv )
*/
void PluginKateXMLTools::connectSlots( Kate::View *kv )
{
- connect( kv, TQT_SIGNAL(filterInsertString(KTextEditor::CompletionEntry*,TQString*) ),
- this, TQT_SLOT(filterInsertString(KTextEditor::CompletionEntry*,TQString*)) );
- connect( kv, TQT_SIGNAL(completionDone(KTextEditor::CompletionEntry) ),
- this, TQT_SLOT(completionDone(KTextEditor::CompletionEntry)) );
- connect( kv, TQT_SIGNAL(completionAborted()), this, TQT_SLOT(completionAborted()) );
+ connect( kv, TQ_SIGNAL(filterInsertString(KTextEditor::CompletionEntry*,TQString*) ),
+ this, TQ_SLOT(filterInsertString(KTextEditor::CompletionEntry*,TQString*)) );
+ connect( kv, TQ_SIGNAL(completionDone(KTextEditor::CompletionEntry) ),
+ this, TQ_SLOT(completionDone(KTextEditor::CompletionEntry)) );
+ connect( kv, TQ_SIGNAL(completionAborted()), this, TQ_SLOT(completionAborted()) );
}
/**
@@ -485,9 +485,9 @@ void PluginKateXMLTools::getDTD()
TQApplication::setOverrideCursor( KCursor::waitCursor() );
TDEIO::Job *job = TDEIO::get( url );
- connect( job, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(slotFinished(TDEIO::Job *)) );
- connect( job, TQT_SIGNAL(data(TDEIO::Job *, const TQByteArray &)),
- this, TQT_SLOT(slotData(TDEIO::Job *, const TQByteArray &)) );
+ connect( job, TQ_SIGNAL(result(TDEIO::Job *)), this, TQ_SLOT(slotFinished(TDEIO::Job *)) );
+ connect( job, TQ_SIGNAL(data(TDEIO::Job *, const TQByteArray &)),
+ this, TQ_SLOT(slotData(TDEIO::Job *, const TQByteArray &)) );
}
kdDebug()<<"XMLTools::getDTD: Documents: "<<m_docDtds.count()<<", DTDs: "<<m_dtds.count()<<endl;
}
@@ -529,12 +529,12 @@ void PluginKateXMLTools::slotData( TDEIO::Job *, const TQByteArray &data )
void PluginKateXMLTools::assignDTD( PseudoDTD *dtd, KTextEditor::Document *doc )
{
m_docDtds.replace( doc->documentNumber(), dtd );
- connect( doc, TQT_SIGNAL(charactersInteractivelyInserted(int,int,const TQString&) ),
- this, TQT_SLOT(keyEvent(int,int,const TQString&)) );
+ connect( doc, TQ_SIGNAL(charactersInteractivelyInserted(int,int,const TQString&) ),
+ this, TQ_SLOT(keyEvent(int,int,const TQString&)) );
- disconnect( doc, TQT_SIGNAL(backspacePressed()), this, 0 );
- connect( doc, TQT_SIGNAL(backspacePressed() ),
- this, TQT_SLOT(backspacePressed()) );
+ disconnect( doc, TQ_SIGNAL(backspacePressed()), this, 0 );
+ connect( doc, TQ_SIGNAL(backspacePressed() ),
+ this, TQ_SLOT(backspacePressed()) );
}
/**
@@ -782,7 +782,7 @@ void PluginKateXMLTools::completionDone( KTextEditor::CompletionEntry )
if( m_mode == attributes )
{
// immediately show attribute values:
- TQTimer::singleShot( 10, this, TQT_SLOT(emptyKeyEvent()) );
+ TQTimer::singleShot( 10, this, TQ_SLOT(emptyKeyEvent()) );
}
}
@@ -1122,8 +1122,8 @@ TQString InsertElement::showDialog( TQStringList &completions )
KHistoryCombo *combo = new KHistoryCombo( page, "value" );
combo->setHistoryItems( completions, true );
- connect( combo->lineEdit(), TQT_SIGNAL(textChanged ( const TQString & )),
- this, TQT_SLOT(slotHistoryTextChanged(const TQString &)) );
+ connect( combo->lineEdit(), TQ_SIGNAL(textChanged ( const TQString & )),
+ this, TQ_SLOT(slotHistoryTextChanged(const TQString &)) );
TQString text = i18n( "Enter XML tag name and attributes (\"<\", \">\" and closing tag will be supplied):" );
TQLabel *label = new TQLabel( text, page, "insert" );