diff options
Diffstat (limited to 'parts/ctags2')
-rw-r--r-- | parts/ctags2/ctags2_createtagfile.cpp | 2 | ||||
-rw-r--r-- | parts/ctags2/ctags2_createtagfile.h | 2 | ||||
-rw-r--r-- | parts/ctags2/ctags2_createtagfilebase.ui | 4 | ||||
-rw-r--r-- | parts/ctags2/ctags2_part.cpp | 36 | ||||
-rw-r--r-- | parts/ctags2/ctags2_part.h | 4 | ||||
-rw-r--r-- | parts/ctags2/ctags2_selecttagfile.cpp | 2 | ||||
-rw-r--r-- | parts/ctags2/ctags2_selecttagfile.h | 4 | ||||
-rw-r--r-- | parts/ctags2/ctags2_selecttagfilebase.ui | 4 | ||||
-rw-r--r-- | parts/ctags2/ctags2_settingswidget.cpp | 2 | ||||
-rw-r--r-- | parts/ctags2/ctags2_settingswidget.h | 2 | ||||
-rw-r--r-- | parts/ctags2/ctags2_settingswidgetbase.ui | 4 | ||||
-rw-r--r-- | parts/ctags2/ctags2_widget.cpp | 11 | ||||
-rw-r--r-- | parts/ctags2/ctags2_widget.h | 4 | ||||
-rw-r--r-- | parts/ctags2/ctags2_widgetbase.ui | 4 | ||||
-rw-r--r-- | parts/ctags2/readtags.c | 2 | ||||
-rw-r--r-- | parts/ctags2/readtags.h | 2 | ||||
-rw-r--r-- | parts/ctags2/tags.cpp | 4 | ||||
-rw-r--r-- | parts/ctags2/tags.h | 2 |
18 files changed, 34 insertions, 61 deletions
diff --git a/parts/ctags2/ctags2_createtagfile.cpp b/parts/ctags2/ctags2_createtagfile.cpp index e066a136..e82ad9ce 100644 --- a/parts/ctags2/ctags2_createtagfile.cpp +++ b/parts/ctags2/ctags2_createtagfile.cpp @@ -51,5 +51,3 @@ TQString CreateTagFile::directory( ) } #include "ctags2_createtagfile.moc" - -// kate: space-indent off; indent-width 4; tab-width 4; show-tabs off; diff --git a/parts/ctags2/ctags2_createtagfile.h b/parts/ctags2/ctags2_createtagfile.h index f0138bbe..886332e7 100644 --- a/parts/ctags2/ctags2_createtagfile.h +++ b/parts/ctags2/ctags2_createtagfile.h @@ -18,7 +18,7 @@ class CreateTagFile : public CTags2CreateTagFileBase { -Q_OBJECT +TQ_OBJECT public: diff --git a/parts/ctags2/ctags2_createtagfilebase.ui b/parts/ctags2/ctags2_createtagfilebase.ui index 111fbf94..797414c5 100644 --- a/parts/ctags2/ctags2_createtagfilebase.ui +++ b/parts/ctags2/ctags2_createtagfilebase.ui @@ -135,10 +135,10 @@ <slot>validate()</slot> </connection> </connections> -<Q_SLOTS> +<slots> <slot>createTagFile()</slot> <slot>validate()</slot> -</Q_SLOTS> +</slots> <layoutdefaults spacing="6" margin="11"/> <includes> <include location="global" impldecl="in implementation">klineedit.h</include> diff --git a/parts/ctags2/ctags2_part.cpp b/parts/ctags2/ctags2_part.cpp index 324ded8a..3e53b66c 100644 --- a/parts/ctags2/ctags2_part.cpp +++ b/parts/ctags2/ctags2_part.cpp @@ -55,11 +55,11 @@ namespace ctags } typedef KDevGenericFactory<CTags2Part> CTags2Factory; -static const KDevPluginInfo data("kdevctags2"); -K_EXPORT_COMPONENT_FACTORY( libkdevctags2, CTags2Factory( data ) ) +static const KDevPluginInfo pluginData("kdevctags2"); +K_EXPORT_COMPONENT_FACTORY( libkdevctags2, CTags2Factory( pluginData ) ) CTags2Part::CTags2Part(TQObject *parent, const char *name, const TQStringList& ) - : KDevPlugin(&data, parent, name ? name : "ctags2Part" ) + : KDevPlugin(&pluginData, parent, name ? name : "ctags2Part" ) { setInstance(CTags2Factory::instance()); setXMLFile("kdevpart_ctags2.rc"); @@ -81,18 +81,18 @@ CTags2Part::CTags2Part(TQObject *parent, const char *name, const TQStringList& ) m_widget->setCaption(i18n("CTags Lookup")); mainWindow()->embedOutputView( m_widget, i18n( "CTags" ), i18n( "CTags lookup results" ) ); - connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) ); + connect( core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)) ); _configProxy = new ConfigWidgetProxy( core() ); _configProxy->createProjectConfigPage( i18n("CTags"), CTAGSSETTINGSPAGE, info()->icon() ); - connect( _configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )), - this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) ); - - new TDEAction( i18n("Lookup Current Text"), 0, CTRL+Key_Underscore, this, TQT_SLOT(slotLookup()), actionCollection(), "ctags_lookup_shortcut"); - new TDEAction( i18n("Lookup Current Text as Declaration"), 0, CTRL+Key_Semicolon, this, TQT_SLOT(slotLookupDeclaration()), actionCollection(), "ctags_declaration_shortcut"); - new TDEAction( i18n("Lookup Current Text as Definition"), 0, CTRL+Key_Colon, this, TQT_SLOT(slotLookupDefinition()), actionCollection(), "ctags_definition_shortcut"); - new TDEAction( i18n("Jump to Next Match"), 0, 0, this, TQT_SLOT(slotGoToNext()), actionCollection(), "ctags_jump_to_next"); - new TDEAction( i18n("Open Lookup Dialog"), 0, 0, this, TQT_SLOT(slotOpenLookup()), actionCollection(), "ctags_input_shortcut"); + connect( _configProxy, TQ_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )), + this, TQ_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) ); + + new TDEAction( i18n("Lookup Current Text"), 0, CTRL+Key_Underscore, this, TQ_SLOT(slotLookup()), actionCollection(), "ctags_lookup_shortcut"); + new TDEAction( i18n("Lookup Current Text as Declaration"), 0, CTRL+Key_Semicolon, this, TQ_SLOT(slotLookupDeclaration()), actionCollection(), "ctags_declaration_shortcut"); + new TDEAction( i18n("Lookup Current Text as Definition"), 0, CTRL+Key_Colon, this, TQ_SLOT(slotLookupDefinition()), actionCollection(), "ctags_definition_shortcut"); + new TDEAction( i18n("Jump to Next Match"), 0, 0, this, TQ_SLOT(slotGoToNext()), actionCollection(), "ctags_jump_to_next"); + new TDEAction( i18n("Open Lookup Dialog"), 0, 0, this, TQ_SLOT(slotOpenLookup()), actionCollection(), "ctags_input_shortcut"); } @@ -111,8 +111,8 @@ void CTags2Part::insertConfigWidget( const KDialogBase * dlg, TQWidget * page, u if ( pagenumber == CTAGSSETTINGSPAGE ) { CTags2SettingsWidget * w = new CTags2SettingsWidget( this, page ); - connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(slotAccept()) ); - connect( w, TQT_SIGNAL(newTagsfileName(const TQString& )), this, TQT_SLOT(updateTagsfileName(const TQString& )) ); + connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(slotAccept()) ); + connect( w, TQ_SIGNAL(newTagsfileName(const TQString& )), this, TQ_SLOT(updateTagsfileName(const TQString& )) ); } } @@ -194,13 +194,13 @@ void CTags2Part::contextMenu(TQPopupMenu *popup, const Context *context) popup->insertSeparator(); if ( showDeclaration ) - popup->insertItem( i18n("CTags - Go to Declaration: %1").arg(squeezed), this, TQT_SLOT(slotGotoDeclaration()) ); + popup->insertItem( i18n("CTags - Go to Declaration: %1").arg(squeezed), this, TQ_SLOT(slotGotoDeclaration()) ); if ( showDefinition ) - popup->insertItem( i18n("CTags - Go to Definition: %1").arg(squeezed), this, TQT_SLOT(slotGotoDefinition()) ); + popup->insertItem( i18n("CTags - Go to Definition: %1").arg(squeezed), this, TQ_SLOT(slotGotoDefinition()) ); if ( showLookup ) - popup->insertItem( i18n("CTags - Lookup: %1").arg(squeezed), this, TQT_SLOT(slotGotoTag()) ); + popup->insertItem( i18n("CTags - Lookup: %1").arg(squeezed), this, TQ_SLOT(slotGotoTag()) ); } } @@ -367,5 +367,3 @@ void CTags2Part::slotGoToNext( ) } #include "ctags2_part.moc" - -// kate: space-indent off; indent-width 4; tab-width 4; show-tabs off; diff --git a/parts/ctags2/ctags2_part.h b/parts/ctags2/ctags2_part.h index 93af5f7f..2a60def7 100644 --- a/parts/ctags2/ctags2_part.h +++ b/parts/ctags2/ctags2_part.h @@ -28,7 +28,7 @@ class KDialogBase; class CTags2Part : public KDevPlugin { - Q_OBJECT + TQ_OBJECT public: @@ -66,5 +66,3 @@ private: #endif - -// kate: space-indent off; indent-width 4; tab-width 4; show-tabs off; diff --git a/parts/ctags2/ctags2_selecttagfile.cpp b/parts/ctags2/ctags2_selecttagfile.cpp index c1a8d617..21f60af4 100644 --- a/parts/ctags2/ctags2_selecttagfile.cpp +++ b/parts/ctags2/ctags2_selecttagfile.cpp @@ -44,5 +44,3 @@ TQString SelectTagFile::tagsfilePath( ) } #include "ctags2_selecttagfile.moc" - -// kate: space-indent off; indent-width 4; tab-width 4; show-tabs off; diff --git a/parts/ctags2/ctags2_selecttagfile.h b/parts/ctags2/ctags2_selecttagfile.h index 05ea1b31..4593ca90 100644 --- a/parts/ctags2/ctags2_selecttagfile.h +++ b/parts/ctags2/ctags2_selecttagfile.h @@ -15,7 +15,7 @@ #include "ctags2_selecttagfilebase.h" class SelectTagFile : public SelectTagFileBase { - Q_OBJECT + TQ_OBJECT public: @@ -30,5 +30,3 @@ public slots: #endif - -// kate: space-indent off; indent-width 4; tab-width 4; show-tabs off; diff --git a/parts/ctags2/ctags2_selecttagfilebase.ui b/parts/ctags2/ctags2_selecttagfilebase.ui index 5a048cab..e25f4cd9 100644 --- a/parts/ctags2/ctags2_selecttagfilebase.ui +++ b/parts/ctags2/ctags2_selecttagfilebase.ui @@ -116,9 +116,9 @@ <slot>validate()</slot> </connection> </connections> -<Q_SLOTS> +<slots> <slot>validate()</slot> -</Q_SLOTS> +</slots> <layoutdefaults spacing="6" margin="11"/> <includes> <include location="global" impldecl="in implementation">klineedit.h</include> diff --git a/parts/ctags2/ctags2_settingswidget.cpp b/parts/ctags2/ctags2_settingswidget.cpp index b45a41be..96837e98 100644 --- a/parts/ctags2/ctags2_settingswidget.cpp +++ b/parts/ctags2/ctags2_settingswidget.cpp @@ -169,5 +169,3 @@ void CTags2SettingsWidget::removeTagFile() #include "ctags2_settingswidget.moc" - -// kate: space-indent off; indent-width 4; tab-width 4; show-tabs off; diff --git a/parts/ctags2/ctags2_settingswidget.h b/parts/ctags2/ctags2_settingswidget.h index 6eba2b44..90c7a095 100644 --- a/parts/ctags2/ctags2_settingswidget.h +++ b/parts/ctags2/ctags2_settingswidget.h @@ -39,7 +39,7 @@ private: class CTags2SettingsWidget : public CTags2SettingsWidgetBase { - Q_OBJECT + TQ_OBJECT public: diff --git a/parts/ctags2/ctags2_settingswidgetbase.ui b/parts/ctags2/ctags2_settingswidgetbase.ui index a4bd5378..98273191 100644 --- a/parts/ctags2/ctags2_settingswidgetbase.ui +++ b/parts/ctags2/ctags2_settingswidgetbase.ui @@ -361,13 +361,13 @@ <slot>clear()</slot> </connection> </connections> -<Q_SLOTS> +<slots> <slot>createNewTagSlot()</slot> <slot>addNewTagFile()</slot> <slot>removeTagFile()</slot> <slot>moveUpTagFile()</slot> <slot>moveDownTagFile()</slot> -</Q_SLOTS> +</slots> <layoutdefaults spacing="6" margin="11"/> <includes> <include location="global" impldecl="in implementation">klineedit.h</include> diff --git a/parts/ctags2/ctags2_widget.cpp b/parts/ctags2/ctags2_widget.cpp index bd1b138d..7db053d0 100644 --- a/parts/ctags2/ctags2_widget.cpp +++ b/parts/ctags2/ctags2_widget.cpp @@ -52,10 +52,10 @@ CTags2Widget::CTags2Widget( CTags2Part * part, const char* name, WFlags fl) output_view->setColumnWidthMode(2,TQListView::Maximum); _typeTimeout = new TQTimer( this ); - connect( _typeTimeout, TQT_SIGNAL(timeout()), this, TQT_SLOT(line_edit_changed()) ); + connect( _typeTimeout, TQ_SIGNAL(timeout()), this, TQ_SLOT(line_edit_changed()) ); - connect( output_view, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(itemExecuted(TQListViewItem*)) ); - connect( output_view, TQT_SIGNAL(returnPressed(TQListViewItem*)), this, TQT_SLOT(itemExecuted(TQListViewItem*)) ); + connect( output_view, TQ_SIGNAL(executed(TQListViewItem*)), this, TQ_SLOT(itemExecuted(TQListViewItem*)) ); + connect( output_view, TQ_SIGNAL(returnPressed(TQListViewItem*)), this, TQ_SLOT(itemExecuted(TQListViewItem*)) ); updateDBDateLabel(); } @@ -148,7 +148,7 @@ void CTags2Widget::updateDBDateLabel( ) TQFileInfo tagsdb(tagFiles[0]); if ( tagsdb.exists() ) { - datetime_label->setText( tagsdb.created().date().toString( Qt::ISODate ) ); + datetime_label->setText( tagsdb.created().date().toString( TQt::ISODate ) ); } else { @@ -194,6 +194,3 @@ void CTags2Widget::goToNext( ) } #include "ctags2_widget.moc" - -// kate: space-indent off; indent-width 4; tab-width 4; show-tabs off; - diff --git a/parts/ctags2/ctags2_widget.h b/parts/ctags2/ctags2_widget.h index e6564509..7f1d1bd5 100644 --- a/parts/ctags2/ctags2_widget.h +++ b/parts/ctags2/ctags2_widget.h @@ -21,7 +21,7 @@ class TQListViewItem; class CTags2Widget : public CTags2WidgetBase { - Q_OBJECT + TQ_OBJECT public: @@ -53,5 +53,3 @@ private: }; #endif - -// kate: space-indent off; indent-width 4; tab-width 4; show-tabs off; diff --git a/parts/ctags2/ctags2_widgetbase.ui b/parts/ctags2/ctags2_widgetbase.ui index 0379142f..919ca946 100644 --- a/parts/ctags2/ctags2_widgetbase.ui +++ b/parts/ctags2/ctags2_widgetbase.ui @@ -168,11 +168,11 @@ <tabstop>input_edit</tabstop> <tabstop>output_view</tabstop> </tabstops> -<Q_SLOTS> +<slots> <slot access="private">line_edit_changed_delayed()</slot> <slot access="private">line_edit_changed()</slot> <slot access="private">regeneratebutton_clicked()</slot> -</Q_SLOTS> +</slots> <layoutdefaults spacing="6" margin="11"/> <includes> <include location="global" impldecl="in implementation">klineedit.h</include> diff --git a/parts/ctags2/readtags.c b/parts/ctags2/readtags.c index 38014d3f..eb78a51e 100644 --- a/parts/ctags2/readtags.c +++ b/parts/ctags2/readtags.c @@ -956,5 +956,3 @@ extern int main (int argc, char **argv) } #endif - -/* vi:set tabstop=8 shiftwidth=4: */ diff --git a/parts/ctags2/readtags.h b/parts/ctags2/readtags.h index 4d4228fc..3bf62761 100644 --- a/parts/ctags2/readtags.h +++ b/parts/ctags2/readtags.h @@ -247,5 +247,3 @@ extern tagResult tagsClose (tagFile *const file); #endif #endif - -/* vi:set tabstop=8 shiftwidth=4: */ diff --git a/parts/ctags2/tags.cpp b/parts/ctags2/tags.cpp index 19993823..d17cf674 100644 --- a/parts/ctags2/tags.cpp +++ b/parts/ctags2/tags.cpp @@ -165,7 +165,3 @@ Tags::TagList Tags::getExactMatches( const TQString & tag ) { return getMatches( tag, false ); } - -// kate: space-indent off; indent-width 4; tab-width 4; show-tabs off; - - diff --git a/parts/ctags2/tags.h b/parts/ctags2/tags.h index 22b7e7ea..c9c7e6f3 100644 --- a/parts/ctags2/tags.h +++ b/parts/ctags2/tags.h @@ -70,5 +70,3 @@ private: }; #endif - -// kate: space-indent off; indent-width 4; tab-width 4; show-tabs off; |