diff options
Diffstat (limited to 'kate/cppsymbolviewer/plugin_katesymbolviewer.h')
-rw-r--r-- | kate/cppsymbolviewer/plugin_katesymbolviewer.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kate/cppsymbolviewer/plugin_katesymbolviewer.h b/kate/cppsymbolviewer/plugin_katesymbolviewer.h index f20f097..e8ac0e0 100644 --- a/kate/cppsymbolviewer/plugin_katesymbolviewer.h +++ b/kate/cppsymbolviewer/plugin_katesymbolviewer.h @@ -30,12 +30,12 @@ #include <kate/pluginconfiginterfaceextension.h> #include <kdebug.h> -#include <qmemarray.h> -#include <qpopupmenu.h> -#include <qevent.h> -#include <qcheckbox.h> -//#include <qprocess.h> -#include <qregexp.h> +#include <tqmemarray.h> +#include <tqpopupmenu.h> +#include <tqevent.h> +#include <tqcheckbox.h> +//#include <tqprocess.h> +#include <tqregexp.h> #include <klibloader.h> #include <klocale.h> #include <klistview.h> @@ -43,7 +43,7 @@ #include <kconfig.h> -class KatePluginSymbolViewerView : public QObject, public KXMLGUIClient +class KatePluginSymbolViewerView : public TQObject, public KXMLGUIClient { Q_OBJECT @@ -59,17 +59,17 @@ class KatePluginSymbolViewerView : public QObject, public KXMLGUIClient void slotChangeMode(); void slotEnableSorting(); void slotDocChanged(); - void goToSymbol(QListViewItem *); - void slotShowContextMenu(QListViewItem *, const QPoint&, int); + void goToSymbol(TQListViewItem *); + void slotShowContextMenu(TQListViewItem *, const TQPoint&, int); void toggleShowMacros(void); void toggleShowStructures(void); void toggleShowFunctions(void); protected: - void slotViewChanged(QResizeEvent *e); + void slotViewChanged(TQResizeEvent *e); private: - QPopupMenu *popup; + TQPopupMenu *popup; KListView *symbols; - QWidget *dock; + TQWidget *dock; bool m_Active; int m_macro, m_struct, m_func, m_sort; bool macro_on, struct_on, func_on; @@ -92,7 +92,7 @@ class KatePluginSymbolViewerConfigPage : public Kate::PluginConfigPage friend class KatePluginSymbolViewer; public: - KatePluginSymbolViewerConfigPage (QObject* parent = 0L, QWidget *parentWidget = 0L); + KatePluginSymbolViewerConfigPage (TQObject* parent = 0L, TQWidget *parentWidget = 0L); ~KatePluginSymbolViewerConfigPage (); /** @@ -116,8 +116,8 @@ class KatePluginSymbolViewerConfigPage : public Kate::PluginConfigPage void configPageInitRequest( KatePluginSymbolViewerConfigPage* ); private: - QCheckBox* viewReturns; - QCheckBox* expandTree; + TQCheckBox* viewReturns; + TQCheckBox* expandTree; }; class KatePluginSymbolViewer : public Kate::Plugin, Kate::PluginViewInterface, Kate::PluginConfigInterfaceExtension @@ -125,17 +125,17 @@ class KatePluginSymbolViewer : public Kate::Plugin, Kate::PluginViewInterface, K Q_OBJECT public: - KatePluginSymbolViewer( QObject* parent = 0, const char* name = 0, const QStringList& = QStringList() ); + KatePluginSymbolViewer( TQObject* parent = 0, const char* name = 0, const TQStringList& = TQStringList() ); virtual ~KatePluginSymbolViewer(); void addView (Kate::MainWindow *win); void removeView (Kate::MainWindow *win); uint configPages () const { return 1; } - Kate::PluginConfigPage *configPage (uint , QWidget *w, const char *name=0); - QString configPageName(uint) const { return i18n("Symbol Viewer"); } - QString configPageFullName(uint) const { return i18n("Symbol Viewer Configuration Page"); } - QPixmap configPagePixmap (uint , int ) const { return 0L; } + Kate::PluginConfigPage *configPage (uint , TQWidget *w, const char *name=0); + TQString configPageName(uint) const { return i18n("Symbol Viewer"); } + TQString configPageFullName(uint) const { return i18n("Symbol Viewer Configuration Page"); } + TQPixmap configPagePixmap (uint , int ) const { return 0L; } public slots: void applyConfig( KatePluginSymbolViewerConfigPage* ); @@ -144,7 +144,7 @@ class KatePluginSymbolViewer : public Kate::Plugin, Kate::PluginViewInterface, K void initConfigPage( KatePluginSymbolViewerConfigPage* ); private: - QPtrList<KatePluginSymbolViewerView> m_views; + TQPtrList<KatePluginSymbolViewerView> m_views; KConfig pConfig; }; |