summaryrefslogtreecommitdiffstats
path: root/parts/snippet/snippet_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'parts/snippet/snippet_widget.h')
-rw-r--r--parts/snippet/snippet_widget.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/parts/snippet/snippet_widget.h b/parts/snippet/snippet_widget.h
index 84df7a6f..d8cf7756 100644
--- a/parts/snippet/snippet_widget.h
+++ b/parts/snippet/snippet_widget.h
@@ -9,11 +9,11 @@
#ifndef __SNIPPET_WIDGET_H__
#define __SNIPPET_WIDGET_H__
-#include <qwidget.h>
-#include <qstring.h>
+#include <tqwidget.h>
+#include <tqstring.h>
#include <klistview.h>
-#include <qtooltip.h>
-#include <qrect.h>
+#include <tqtooltip.h>
+#include <tqrect.h>
#include <ktexteditor/editinterface.h>
#include <ktexteditor/view.h>
@@ -33,7 +33,7 @@ class KConfig;
/**
This is the widget which gets added to the right TreeToolView.
-It inherits KListView and QToolTip which is needed for showing the
+It inherits KListView and TQToolTip which is needed for showing the
tooltips which contains the text of the snippet
@author Robert Gruber
*/
@@ -46,7 +46,7 @@ class SnippetWidget : public KListView, public QToolTip
public:
SnippetWidget(SnippetPart *part);
~SnippetWidget();
- QPtrList<SnippetItem> * getList() { return (&_list); }
+ TQPtrList<SnippetItem> * getList() { return (&_list); }
void writeConfig();
void initConfigOldVersion(KConfig *cfg);
SnippetConfig * getSnippetConfig() { return (&_SnippetConfig); }
@@ -58,18 +58,18 @@ private slots:
protected:
SnippetPart * m_part;
- void maybeTip( const QPoint & );
- bool acceptDrag (QDropEvent *event) const;
+ void maybeTip( const TQPoint & );
+ bool acceptDrag (TQDropEvent *event) const;
private:
- void insertIntoActiveView(QString text);
- QString parseText(QString text, QString del="$");
- bool showMultiVarDialog(QMap<QString, QString> * map, QMap<QString, QString> * mapSave,
+ void insertIntoActiveView(TQString text);
+ TQString parseText(TQString text, TQString del="$");
+ bool showMultiVarDialog(TQMap<TQString, TQString> * map, TQMap<TQString, TQString> * mapSave,
int & iWidth, int & iBasicHeight, int & iOneHeight);
- QString showSingleVarDialog(QString var, QMap<QString, QString> * mapSave, QRect & dlgSize);
+ TQString showSingleVarDialog(TQString var, TQMap<TQString, TQString> * mapSave, TQRect & dlgSize);
- QPtrList<SnippetItem> _list;
- QMap<QString, QString> _mapSaved;
+ TQPtrList<SnippetItem> _list;
+ TQMap<TQString, TQString> _mapSaved;
KConfig * _cfg;
SnippetConfig _SnippetConfig;
@@ -81,9 +81,9 @@ public slots:
void slotAddGroup();
protected slots:
- void showPopupMenu( QListViewItem * item, const QPoint & p, int );
- void slotExecuted(QListViewItem * item);
- void slotDropped(QDropEvent *e, QListViewItem *after);
+ void showPopupMenu( TQListViewItem * item, const TQPoint & p, int );
+ void slotExecuted(TQListViewItem * item);
+ void slotDropped(TQDropEvent *e, TQListViewItem *after);
};