From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkonq/konq_undo.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'libkonq/konq_undo.h') diff --git a/libkonq/konq_undo.h b/libkonq/konq_undo.h index fae2b5e61..3e704a8d2 100644 --- a/libkonq/konq_undo.h +++ b/libkonq/konq_undo.h @@ -19,9 +19,9 @@ #ifndef __konq_undo_h__ #define __konq_undo_h__ -#include -#include -#include +#include +#include +#include #include @@ -37,7 +37,7 @@ class KonqUndoJob; struct KonqBasicOperation { - typedef QValueStack Stack; + typedef TQValueStack Stack; KonqBasicOperation() { m_valid = false; } @@ -48,12 +48,12 @@ struct KonqBasicOperation bool m_link; KURL m_src; KURL m_dst; - QString m_target; + TQString m_target; }; struct KonqCommand { - typedef QValueStack Stack; + typedef TQValueStack Stack; enum Type { COPY, MOVE, LINK, MKDIR, TRASH }; @@ -79,14 +79,14 @@ private slots: void slotResult( KIO::Job *job ); void slotCopyingDone( KIO::Job *, const KURL &from, const KURL &to, bool directory, bool renamed ); - void slotCopyingLinkDone( KIO::Job *, const KURL &from, const QString &target, const KURL &to ); + void slotCopyingLinkDone( KIO::Job *, const KURL &from, const TQString &target, const KURL &to ); private: class KonqCommandRecorderPrivate; KonqCommandRecorderPrivate *d; }; -class LIBKONQ_EXPORT KonqUndoManager : public QObject, public DCOPObject +class LIBKONQ_EXPORT KonqUndoManager : public TQObject, public DCOPObject { Q_OBJECT K_DCOP @@ -104,14 +104,14 @@ public: void addCommand( const KonqCommand &cmd ); bool undoAvailable() const; - QString undoText() const; + TQString undoText() const; public slots: void undo(); signals: void undoAvailable( bool avail ); - void undoTextChanged( const QString &text ); + void undoTextChanged( const TQString &text ); protected: /** @@ -153,10 +153,10 @@ private: static unsigned long s_refCnt; }; -QDataStream &operator<<( QDataStream &stream, const KonqBasicOperation &op ); -QDataStream &operator>>( QDataStream &stream, KonqBasicOperation &op ); +TQDataStream &operator<<( TQDataStream &stream, const KonqBasicOperation &op ); +TQDataStream &operator>>( TQDataStream &stream, KonqBasicOperation &op ); -QDataStream &operator<<( QDataStream &stream, const KonqCommand &cmd ); -QDataStream &operator>>( QDataStream &stream, KonqCommand &cmd ); +TQDataStream &operator<<( TQDataStream &stream, const KonqCommand &cmd ); +TQDataStream &operator>>( TQDataStream &stream, KonqCommand &cmd ); #endif -- cgit v1.2.1