summaryrefslogtreecommitdiffstats
path: root/kmail/undostack.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/undostack.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/undostack.cpp')
-rw-r--r--kmail/undostack.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmail/undostack.cpp b/kmail/undostack.cpp
index f1729f3a7..c7e80e8f2 100644
--- a/kmail/undostack.cpp
+++ b/kmail/undostack.cpp
@@ -36,7 +36,7 @@
namespace KMail {
UndoStack::UndoStack(int size)
- : QObject(0, "undostack"), mSize(size), mLastId(0),
+ : TQObject(0, "undostack"), mSize(size), mLastId(0),
mCachedInfo(0)
{
mStack.setAutoDelete(true);
@@ -63,7 +63,7 @@ int UndoStack::newUndoAction( KMFolder *srcFolder, KMFolder *destFolder )
void UndoStack::addMsgToAction( int undoId, ulong serNum )
{
if ( !mCachedInfo || mCachedInfo->id != undoId ) {
- QPtrListIterator<UndoInfo> itr( mStack );
+ TQPtrListIterator<UndoInfo> itr( mStack );
while ( itr.current() ) {
if ( itr.current()->id == undoId ) {
mCachedInfo = itr.current();
@@ -87,7 +87,7 @@ void UndoStack::undo()
{
UndoInfo *info = mStack.take(0);
emit undoStackChanged();
- QValueList<ulong>::iterator itr;
+ TQValueList<ulong>::iterator itr;
KMFolderOpener openDestFolder(info->destFolder, "undodest");
for( itr = info->serNums.begin(); itr != info->serNums.end(); ++itr ) {
serNum = *itr;