diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:10:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:10:05 -0600 |
commit | 74a2067d286867e313f736d6733407586b71195e (patch) | |
tree | 182ea565d6909db1541424e4ffb3168b4b139c21 /kate/cppsymbolviewer | |
parent | 081670a12774435ae60cf8eba9226b91d27852b3 (diff) | |
download | tdeaddons-74a2067d286867e313f736d6733407586b71195e.tar.gz tdeaddons-74a2067d286867e313f736d6733407586b71195e.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kate/cppsymbolviewer')
-rw-r--r-- | kate/cppsymbolviewer/plugin_katesymbolviewer.cpp | 6 | ||||
-rw-r--r-- | kate/cppsymbolviewer/plugin_katesymbolviewer.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp b/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp index 39abc4a..d12bb99 100644 --- a/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp +++ b/kate/cppsymbolviewer/plugin_katesymbolviewer.cpp @@ -14,7 +14,7 @@ * Jun 19 2003 v.1.0 - Removed TQTimer (polling is Evil(tm)... ) * - Captured documentChanged() event to refresh symbol list * - Tooltips vanished into nowhere...sigh :( - * May 04 2003 v 0.6 - Symbol List becomes a KListView object. Removed Tooltip class. + * May 04 2003 v 0.6 - Symbol List becomes a TDEListView object. Removed Tooltip class. * Added a TQTimer that every 200ms checks: * * if the list width has changed * * if the document has changed @@ -55,7 +55,7 @@ K_EXPORT_COMPONENT_FACTORY( katecppsymbolviewerplugin, KGenericFactory<KatePlugi KatePluginSymbolViewerView::KatePluginSymbolViewerView(Kate::MainWindow *w) { TDEGlobal::locale()->insertCatalogue("katecppsymbolviewer"); - KToggleAction* act = new KToggleAction ( i18n("Hide Symbols"), 0, this, TQT_SLOT( slotInsertSymbol() ), actionCollection(), "view_insert_symbolviewer" ); + TDEToggleAction* act = new TDEToggleAction ( i18n("Hide Symbols"), 0, this, TQT_SLOT( slotInsertSymbol() ), actionCollection(), "view_insert_symbolviewer" ); act->setCheckedState(i18n("Show Symbols")); setInstance (new TDEInstance("kate")); @@ -123,7 +123,7 @@ void KatePluginSymbolViewerView::slotInsertSymbol() { dock = win->toolViewManager()->createToolView("kate_plugin_cppsymbolviewer", Kate::ToolViewManager::Left, cls, i18n("Symbol List")); - symbols = new KListView(dock); + symbols = new TDEListView(dock); treeMode = 0; connect(symbols, TQT_SIGNAL(executed(TQListViewItem *)), this, TQT_SLOT(goToSymbol(TQListViewItem *))); diff --git a/kate/cppsymbolviewer/plugin_katesymbolviewer.h b/kate/cppsymbolviewer/plugin_katesymbolviewer.h index 1f18dfb..9e7a59a 100644 --- a/kate/cppsymbolviewer/plugin_katesymbolviewer.h +++ b/kate/cppsymbolviewer/plugin_katesymbolviewer.h @@ -69,7 +69,7 @@ class KatePluginSymbolViewerView : public TQObject, public KXMLGUIClient void slotViewChanged(TQResizeEvent *e); private: TQPopupMenu *popup; - KListView *symbols; + TDEListView *symbols; TQWidget *dock; bool m_Active; int m_macro, m_struct, m_func, m_sort; |