diff options
author | Michele Calgaro <[email protected]> | 2024-01-11 10:35:25 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-11 10:35:25 +0900 |
commit | 7e9d8ea45280ad6657796da9536ccf6218111f22 (patch) | |
tree | 67d57c480b89c5967466e39bf60f7e4f05434f15 /kate/cppsymbolviewer/plugin_katesymbolviewer.cpp | |
parent | 1ecb90ecaf66e1cc8ddeacad21e71640477d9767 (diff) | |
download | tdeaddons-7e9d8ea45280ad6657796da9536ccf6218111f22.tar.gz tdeaddons-7e9d8ea45280ad6657796da9536ccf6218111f22.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kate/cppsymbolviewer/plugin_katesymbolviewer.cpp')
-rw-r--r-- | kate/cppsymbolviewer/plugin_katesymbolviewer.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp b/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp index a8175d2..24153a4 100644 --- a/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp +++ b/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp @@ -55,7 +55,7 @@ K_EXPORT_COMPONENT_FACTORY( katecppsymbolviewerplugin, KGenericFactory<KatePlugi KatePluginSymbolViewerView::KatePluginSymbolViewerView(Kate::MainWindow *w) { TDEGlobal::locale()->insertCatalogue("katecppsymbolviewer"); - TDEToggleAction* act = new TDEToggleAction ( i18n("Hide Symbols"), 0, this, TQT_SLOT( slotInsertSymbol() ), actionCollection(), "view_insert_symbolviewer" ); + TDEToggleAction* act = new TDEToggleAction ( i18n("Hide Symbols"), 0, this, TQ_SLOT( slotInsertSymbol() ), actionCollection(), "view_insert_symbolviewer" ); act->setCheckedState(i18n("Show Symbols")); setInstance (new TDEInstance("kate")); @@ -66,14 +66,14 @@ KatePluginSymbolViewerView::KatePluginSymbolViewerView(Kate::MainWindow *w) m_Active = false; popup = new TQPopupMenu(); - popup->insertItem(i18n("Refresh List"), this, TQT_SLOT(slotRefreshSymbol())); + popup->insertItem(i18n("Refresh List"), this, TQ_SLOT(slotRefreshSymbol())); popup->insertSeparator(); - m_macro = popup->insertItem(i18n("Show Macros"), this, TQT_SLOT(toggleShowMacros())); - m_struct = popup->insertItem(i18n("Show Structures"), this, TQT_SLOT(toggleShowStructures())); - m_func = popup->insertItem(i18n("Show Functions"), this, TQT_SLOT(toggleShowFunctions())); + m_macro = popup->insertItem(i18n("Show Macros"), this, TQ_SLOT(toggleShowMacros())); + m_struct = popup->insertItem(i18n("Show Structures"), this, TQ_SLOT(toggleShowStructures())); + m_func = popup->insertItem(i18n("Show Functions"), this, TQ_SLOT(toggleShowFunctions())); popup->insertSeparator(); - popup->insertItem(i18n("List/Tree Mode"), this, TQT_SLOT(slotChangeMode())); - m_sort = popup->insertItem(i18n("Enable sorting"), this, TQT_SLOT(slotEnableSorting())); + popup->insertItem(i18n("List/Tree Mode"), this, TQ_SLOT(slotChangeMode())); + m_sort = popup->insertItem(i18n("Enable sorting"), this, TQ_SLOT(slotEnableSorting())); popup->setItemChecked(m_macro, true); popup->setItemChecked(m_struct, true); @@ -126,11 +126,11 @@ void KatePluginSymbolViewerView::slotInsertSymbol() symbols = new TDEListView(dock); treeMode = 0; - connect(symbols, TQT_SIGNAL(executed(TQListViewItem *)), this, TQT_SLOT(goToSymbol(TQListViewItem *))); - connect(symbols, TQT_SIGNAL(rightButtonClicked(TQListViewItem *, const TQPoint&, int)), - TQT_SLOT(slotShowContextMenu(TQListViewItem *, const TQPoint&, int))); - connect(win->viewManager(), TQT_SIGNAL(viewChanged()), this, TQT_SLOT(slotDocChanged())); - //connect(symbols, TQT_SIGNAL(resizeEvent(TQResizeEvent *)), this, TQT_SLOT(slotViewChanged(TQResizeEvent *))); + connect(symbols, TQ_SIGNAL(executed(TQListViewItem *)), this, TQ_SLOT(goToSymbol(TQListViewItem *))); + connect(symbols, TQ_SIGNAL(rightButtonClicked(TQListViewItem *, const TQPoint&, int)), + TQ_SLOT(slotShowContextMenu(TQListViewItem *, const TQPoint&, int))); + connect(win->viewManager(), TQ_SIGNAL(viewChanged()), this, TQ_SLOT(slotDocChanged())); + //connect(symbols, TQ_SIGNAL(resizeEvent(TQResizeEvent *)), this, TQ_SLOT(slotViewChanged(TQResizeEvent *))); m_Active = true; //symbols->addColumn(i18n("Symbols"), symbols->parentWidget()->width()); @@ -280,8 +280,8 @@ Kate::PluginConfigPage* KatePluginSymbolViewer::configPage( { KatePluginSymbolViewerConfigPage* p = new KatePluginSymbolViewerConfigPage(this, w); initConfigPage( p ); - connect( p, TQT_SIGNAL(configPageApplyRequest(KatePluginSymbolViewerConfigPage*)), - TQT_SLOT(applyConfig(KatePluginSymbolViewerConfigPage *)) ); + connect( p, TQ_SIGNAL(configPageApplyRequest(KatePluginSymbolViewerConfigPage*)), + TQ_SLOT(applyConfig(KatePluginSymbolViewerConfigPage *)) ); return (Kate::PluginConfigPage*)p; } @@ -323,8 +323,8 @@ KatePluginSymbolViewerConfigPage::KatePluginSymbolViewerConfigPage( top->add(gb); top->addStretch(1); // throw signal changed - connect(viewReturns, TQT_SIGNAL(toggled(bool)), this, TQT_SIGNAL(changed())); - connect(expandTree, TQT_SIGNAL(toggled(bool)), this, TQT_SIGNAL(changed())); + connect(viewReturns, TQ_SIGNAL(toggled(bool)), this, TQ_SIGNAL(changed())); + connect(expandTree, TQ_SIGNAL(toggled(bool)), this, TQ_SIGNAL(changed())); } KatePluginSymbolViewerConfigPage::~KatePluginSymbolViewerConfigPage() {} |