diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kmail/undostack.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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.cpp | 6 |
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; |