summaryrefslogtreecommitdiffstats
path: root/kmail/snippetitem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/snippetitem.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/snippetitem.cpp')
-rw-r--r--kmail/snippetitem.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kmail/snippetitem.cpp b/kmail/snippetitem.cpp
index 46d28c941..206114ace 100644
--- a/kmail/snippetitem.cpp
+++ b/kmail/snippetitem.cpp
@@ -15,18 +15,18 @@
#include <kaction.h>
-#include <qstring.h>
+#include <tqstring.h>
-SnippetItem::SnippetItem(QListView * parent, QString name, QString text )
- : QListViewItem( parent, name ), action(0)
+SnippetItem::SnippetItem(TQListView * parent, TQString name, TQString text )
+ : TQListViewItem( parent, name ), action(0)
{
strName = name;
strText = text;
iParent = -1;
}
-SnippetItem::SnippetItem(QListViewItem * parent, QString name, QString text)
- : QListViewItem( parent, name ), action(0)
+SnippetItem::SnippetItem(TQListViewItem * parent, TQString name, TQString text)
+ : TQListViewItem( parent, name ), action(0)
{
strName = name;
strText = text;
@@ -45,7 +45,7 @@ SnippetItem::~SnippetItem()
/*!
\fn SnippetItem::getName()
*/
-QString SnippetItem::getName()
+TQString SnippetItem::getName()
{
return strName;
}
@@ -54,25 +54,25 @@ QString SnippetItem::getName()
/*!
\fn SnippetItem::getText
*/
-QString SnippetItem::getText()
+TQString SnippetItem::getText()
{
return strText;
}
/*!
- \fn SnippetItem::setText(QString text)
+ \fn SnippetItem::setText(TQString text)
*/
-void SnippetItem::setText(QString text)
+void SnippetItem::setText(TQString text)
{
strText = text;
}
/*!
- \fn SnippetItem::setName(QString name)
+ \fn SnippetItem::setName(TQString name)
*/
-void SnippetItem::setName(QString name)
+void SnippetItem::setName(TQString name)
{
strName = name;
}
@@ -101,7 +101,7 @@ void SnippetItem::slotExecute()
}
-SnippetItem * SnippetItem::findItemByName(QString name, QPtrList<SnippetItem> &list)
+SnippetItem * SnippetItem::findItemByName(TQString name, TQPtrList<SnippetItem> &list)
{
for ( SnippetItem * item = list.first(); item; item = list.next() ) { //write the snippet-list
if (item->getName() == name)
@@ -110,7 +110,7 @@ SnippetItem * SnippetItem::findItemByName(QString name, QPtrList<SnippetItem> &l
return NULL;
}
-SnippetGroup * SnippetItem::findGroupById(int id, QPtrList<SnippetItem> &list)
+SnippetGroup * SnippetItem::findGroupById(int id, TQPtrList<SnippetItem> &list)
{
for ( SnippetItem * item = list.first(); item; item = list.next() ) { //write the snippet-list
SnippetGroup * group = dynamic_cast<SnippetGroup*>(item);
@@ -127,7 +127,7 @@ Deklaration for class SnippetGroup
int SnippetGroup::iMaxId = 1;
-SnippetGroup::SnippetGroup(QListView * parent, QString name, int id)
+SnippetGroup::SnippetGroup(TQListView * parent, TQString name, int id)
: SnippetItem(parent, name, "GROUP")
{
if (id > 0) {