summaryrefslogtreecommitdiffstats
path: root/kmail/snippetwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/snippetwidget.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/snippetwidget.h')
-rw-r--r--kmail/snippetwidget.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/kmail/snippetwidget.h b/kmail/snippetwidget.h
index cd7d09d39..bc45d6d48 100644
--- a/kmail/snippetwidget.h
+++ b/kmail/snippetwidget.h
@@ -39,15 +39,16 @@ class KActionCollection;
/**
This is the widget which gets added to the right TreeToolView.
It inherits KListView and TQToolTip which is needed for showing the
-tooltips which tqcontains the text of the snippet
+tooltips which contains the text of the snippet
@author Robert Gruber
*/
-class SnippetWidget : public KListView, public QToolTip
+class SnippetWidget : public KListView, public TQToolTip
{
Q_OBJECT
+ TQ_OBJECT
public:
- SnippetWidget(KMEdit* editor, KActionCollection* actionCollection, TQWidget* parent = 0);
+ SnippetWidget(KMEdit* editor, KActionCollection* actionCollection, TQWidget* tqparent = 0);
~SnippetWidget();
TQPtrList<SnippetItem> * getList() { return (&_list); }
void writeConfig();
@@ -67,7 +68,7 @@ private:
bool showMultiVarDialog(TQMap<TQString, TQString> * map, TQMap<TQString, TQString> * mapSave,
int & iWidth, int & iBasicHeight, int & iOneHeight);
TQString showSingleVarDialog(TQString var, TQMap<TQString, TQString> * mapSave, TQRect & dlgSize);
- SnippetItem* makeItem( SnippetItem* parent, const TQString& name, const TQString& text, const KShortcut& shortcut );
+ SnippetItem* makeItem( SnippetItem* tqparent, const TQString& name, const TQString& text, const KShortcut& shortcut );
TQPtrList<SnippetItem> _list;
TQMap<TQString, TQString> _mapSaved;