summaryrefslogtreecommitdiffstats
path: root/kmail/undostack.cpp
diff options
context:
space:
mode:
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;