diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
commit | 7346aee26bf190a7e70333c40fab4caca847cd27 (patch) | |
tree | 4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /kate/snippets/plugin_katesnippets.h | |
parent | 23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff) | |
download | tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/snippets/plugin_katesnippets.h')
-rw-r--r-- | kate/snippets/plugin_katesnippets.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kate/snippets/plugin_katesnippets.h b/kate/snippets/plugin_katesnippets.h index 9a940e5..aac5049 100644 --- a/kate/snippets/plugin_katesnippets.h +++ b/kate/snippets/plugin_katesnippets.h @@ -17,12 +17,12 @@ #include <kate/toolviewmanager.h> -#include <qlistview.h> -#include <qregexp.h> +#include <tqlistview.h> +#include <tqregexp.h> #include <kconfig.h> -#include <qptrlist.h> -#include <qtoolbutton.h> -#include <qtextedit.h> +#include <tqptrlist.h> +#include <tqtoolbutton.h> +#include <tqtextedit.h> #include <kiconloader.h> #include "csnippet.h" @@ -35,14 +35,14 @@ class KatePluginSnippetsView : public CWidgetSnippets, public KXMLGUIClient { friend class KatePluginSnippets; public: - KatePluginSnippetsView (Kate::MainWindow *w, QWidget *dock); + KatePluginSnippetsView (Kate::MainWindow *w, TQWidget *dock); virtual ~KatePluginSnippetsView (); - CSnippet* findSnippetByListViewItem(QListViewItem *item); + CSnippet* findSnippetByListViewItem(TQListViewItem *item); public slots: - void slot_lvSnippetsSelectionChanged(QListViewItem * item); - void slot_lvSnippetsClicked (QListViewItem * item); - void slot_lvSnippetsItemRenamed(QListViewItem *lvi,int col, const QString& text); + void slot_lvSnippetsSelectionChanged(TQListViewItem * item); + void slot_lvSnippetsClicked (TQListViewItem * item); + void slot_lvSnippetsItemRenamed(TQListViewItem *lvi,int col, const TQString& text); void slot_btnNewClicked(); void slot_btnSaveClicked(); void slot_btnDeleteClicked(); @@ -53,25 +53,25 @@ protected: private: KConfig *config; - QPtrList<CSnippet> lSnippets; + TQPtrList<CSnippet> lSnippets; public: Kate::MainWindow *win; - QWidget *dock; + TQWidget *dock; }; class KatePluginSnippets : public Kate::Plugin, Kate::PluginViewInterface { Q_OBJECT public: - KatePluginSnippets( QObject* parent = 0, const char* name = 0, const QStringList& = QStringList() ); + KatePluginSnippets( TQObject* parent = 0, const char* name = 0, const TQStringList& = TQStringList() ); virtual ~KatePluginSnippets(); void addView (Kate::MainWindow *win); void removeView (Kate::MainWindow *win); private: - QPtrList<class KatePluginSnippetsView> m_views; + TQPtrList<class KatePluginSnippetsView> m_views; }; |