From 1c3e6a878f147d063b43948dd8a3f06da195e7ea Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:28:10 +0000 Subject: TQt conversion fixes git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1158452 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korn/account_input.h | 12 ++++++------ korn/accountmanager.h | 4 ++-- korn/boxcontainer.h | 2 +- korn/boxcontaineritem.h | 8 ++++---- korn/dcop_proto.h | 14 +++++++------- korn/dcopdrop.h | 4 ++-- korn/dockeditem.h | 2 +- korn/hvcontainer.h | 2 +- korn/keditlistboxman.h | 4 ++-- korn/kio.h | 6 +++--- korn/kio_count.h | 4 ++-- korn/kio_delete.h | 2 +- korn/kio_proto.h | 2 +- korn/kio_read.cpp | 2 +- korn/kio_read.h | 2 +- korn/kio_single_subject.cpp | 2 +- korn/kio_single_subject.h | 6 +++--- korn/kio_subjects.h | 6 +++--- korn/kornaccountcfgimpl.cpp | 2 +- korn/kornaccountcfgimpl.h | 14 +++++++------- korn/kornboxcfgimpl.cpp | 8 ++++---- korn/kornboxcfgimpl.h | 6 +++--- korn/korncfgimpl.h | 4 ++-- korn/maildlg.h | 4 ++-- korn/maildrop.h | 4 ++-- korn/mailsubject.h | 2 +- korn/password.h | 2 +- korn/polldrop.h | 2 +- korn/protocol.h | 16 ++++++++-------- korn/protocols.h | 6 +++--- korn/subjectsdlg.h | 4 ++-- korn/systemtray.h | 2 +- 32 files changed, 80 insertions(+), 80 deletions(-) (limited to 'korn') diff --git a/korn/account_input.h b/korn/account_input.h index 0f7f2e23..548db498 100644 --- a/korn/account_input.h +++ b/korn/account_input.h @@ -20,15 +20,15 @@ #ifndef MK_ACCOUNT_INPUT #define MK_ACCOUNT_INPUT -class QWidget; -class QString; -class QStringList; +class TQWidget; +class TQString; +class TQStringList; -class QLabel; +class TQLabel; class KLineEdit; class KURLRequester; -class QComboBox; -class QCheckBox; +class TQComboBox; +class TQCheckBox; #include diff --git a/korn/accountmanager.h b/korn/accountmanager.h index 037887d4..5d0f3293 100644 --- a/korn/accountmanager.h +++ b/korn/accountmanager.h @@ -28,8 +28,8 @@ class KMailDrop; class KConfig; -template< class T > class QPtrList; -template< class T, class W > class QMap; +template< class T > class TQPtrList; +template< class T, class W > class TQMap; /** diff --git a/korn/boxcontainer.h b/korn/boxcontainer.h index d650657e..ec054318 100644 --- a/korn/boxcontainer.h +++ b/korn/boxcontainer.h @@ -23,7 +23,7 @@ class BoxContainerItem; -template< class T > class QPtrList; +template< class T > class TQPtrList; class KConfig; diff --git a/korn/boxcontaineritem.h b/korn/boxcontaineritem.h index 0112f9ac..86a4efc9 100644 --- a/korn/boxcontaineritem.h +++ b/korn/boxcontaineritem.h @@ -29,10 +29,10 @@ class KConfig; class KPopupMenu; class KProcess; -class QColor; -class QLabel; -//template< class T > class QPtrList; -class QString; +class TQColor; +class TQLabel; +//template< class T > class TQPtrList; +class TQString; /** * This class provide a base for an item. This item should be diff --git a/korn/dcop_proto.h b/korn/dcop_proto.h index 38a5404d..a485e08d 100644 --- a/korn/dcop_proto.h +++ b/korn/dcop_proto.h @@ -28,14 +28,14 @@ class KIO_Protocol; class KMailDrop; class Protocol; -class QGroupBox; -class QObject; -class QStringList; -class QWidget; +class TQGroupBox; +class TQObject; +class TQStringList; +class TQWidget; -template< class T> class QPtrList; -template< class T> class QPtrVector; -template< class T, class S> class QMap; +template< class T> class TQPtrList; +template< class T> class TQPtrVector; +template< class T, class S> class TQMap; #include diff --git a/korn/dcopdrop.h b/korn/dcopdrop.h index 32e85066..124d197e 100644 --- a/korn/dcopdrop.h +++ b/korn/dcopdrop.h @@ -30,8 +30,8 @@ class KornMailSubject; class KConfigBase; -template class QMap; -class QString; +template class TQMap; +class TQString; /** * This class implements a KMailDrop for DCOP-objects. diff --git a/korn/dockeditem.h b/korn/dockeditem.h index d9a85004..ae6689f8 100644 --- a/korn/dockeditem.h +++ b/korn/dockeditem.h @@ -25,7 +25,7 @@ class SystemTray; class KConfig; -class QPixmap; +class TQPixmap; /** * This class is an implementation of a BoxContainerItem for the diff --git a/korn/hvcontainer.h b/korn/hvcontainer.h index 54a96cd8..d00551d5 100644 --- a/korn/hvcontainer.h +++ b/korn/hvcontainer.h @@ -23,7 +23,7 @@ class BoxContainerItem; -class QHBox; +class TQHBox; /** * This is a BoxContainer for both Horizontal and Vertical displays. diff --git a/korn/keditlistboxman.h b/korn/keditlistboxman.h index ffc2920e..b683a364 100644 --- a/korn/keditlistboxman.h +++ b/korn/keditlistboxman.h @@ -23,8 +23,8 @@ class KConfig; -class QString; -class QWidget; +class TQString; +class TQWidget; /** * This class is a extention on KEditListBox. diff --git a/korn/kio.h b/korn/kio.h index a2d396e3..d54846c8 100644 --- a/korn/kio.h +++ b/korn/kio.h @@ -25,7 +25,7 @@ #include "polldrop.h" -class QWidget; +class TQWidget; class KDropDialog; class KornMailSubject; class KProcess; @@ -36,8 +36,8 @@ class KIO_Read; class KIO_Delete; class KConfigGroup; class KURL; -template class QPtrList; -template class QValueList; +template class TQPtrList; +template class TQValueList; namespace KIO { class Job; class MetaData; class Slave; class TransferJob; } /** diff --git a/korn/kio_count.h b/korn/kio_count.h index ed5ef584..d8df7dc0 100644 --- a/korn/kio_count.h +++ b/korn/kio_count.h @@ -34,12 +34,12 @@ class KKioDrop; class KornMailSubject; class SortedMailSubject; -template class QValueList; +template class TQValueList; namespace KIO { class Job; class ListJob; class MetaData; class Slave; } class KURL; -class QString; +class TQString; class KIO_Count : public QObject { Q_OBJECT diff --git a/korn/kio_delete.h b/korn/kio_delete.h index 469ff29a..24a1eef7 100644 --- a/korn/kio_delete.h +++ b/korn/kio_delete.h @@ -32,7 +32,7 @@ class KornMailId; class KURL; namespace KIO { class MetaData; class Job; class Slave; } -template class QPtrList; +template class TQPtrList; class KIO_Delete : public QObject { Q_OBJECT diff --git a/korn/kio_proto.h b/korn/kio_proto.h index 216b5826..77a10894 100644 --- a/korn/kio_proto.h +++ b/korn/kio_proto.h @@ -26,7 +26,7 @@ * by a protocol. */ -class QString; +class TQString; #include #include #include diff --git a/korn/kio_read.cpp b/korn/kio_read.cpp index 54466990..b92da304 100644 --- a/korn/kio_read.cpp +++ b/korn/kio_read.cpp @@ -38,7 +38,7 @@ KIO_Read::KIO_Read( TQObject * parent, const char * name ) _job( 0 ), _message( 0 ) { - _message = new QString; + _message = new TQString; } KIO_Read::~KIO_Read() diff --git a/korn/kio_read.h b/korn/kio_read.h index 970e3c8c..a3e30c88 100644 --- a/korn/kio_read.h +++ b/korn/kio_read.h @@ -30,7 +30,7 @@ class KURL; namespace KIO { class MetaData; class Job; } class KIO_Protocol; -class QString; +class TQString; class KIO_Read : public QObject { Q_OBJECT diff --git a/korn/kio_single_subject.cpp b/korn/kio_single_subject.cpp index 6d797efd..02a6a103 100644 --- a/korn/kio_single_subject.cpp +++ b/korn/kio_single_subject.cpp @@ -45,7 +45,7 @@ KIO_Single_Subject::KIO_Single_Subject( TQObject * parent, const char * name, _protocol = protocol; _name = new TQString( url ); _size = size; - _message = new QString; + _message = new TQString; init( slave ); } diff --git a/korn/kio_single_subject.h b/korn/kio_single_subject.h index 662d2e53..ee021a33 100644 --- a/korn/kio_single_subject.h +++ b/korn/kio_single_subject.h @@ -29,9 +29,9 @@ class KURL; namespace KIO { class MetaData; class Job; class TransferJob; class Slave; } class KIO_Protocol; -class QString; -template class QMemArray; -typedef TQMemArray QByteArray; +class TQString; +template class TQMemArray; +typedef TQMemArray TQByteArray; class KIO_Single_Subject : public QObject { Q_OBJECT diff --git a/korn/kio_subjects.h b/korn/kio_subjects.h index d51e1ec5..6ed1798a 100644 --- a/korn/kio_subjects.h +++ b/korn/kio_subjects.h @@ -30,9 +30,9 @@ class KornMailSubject; namespace KIO { class MetaData; class Slave; } class KURL; -template class QPtrList; -class QString; -template class QValueList; +template class TQPtrList; +class TQString; +template class TQValueList; class KIO_Subjects : public QObject { Q_OBJECT diff --git a/korn/kornaccountcfgimpl.cpp b/korn/kornaccountcfgimpl.cpp index 43493d99..4a8af84e 100644 --- a/korn/kornaccountcfgimpl.cpp +++ b/korn/kornaccountcfgimpl.cpp @@ -165,7 +165,7 @@ void KornAccountCfgImpl::slotCancel() void KornAccountCfgImpl::slotProtocolChanged( const TQString& proto ) { const Protocol *protocol = Protocols::getProto( proto ); - TQStringList *groupBoxes = new QStringList; + TQStringList *groupBoxes = new TQStringList; int counter = 1; protocol->configFillGroupBoxes( groupBoxes ); diff --git a/korn/kornaccountcfgimpl.h b/korn/kornaccountcfgimpl.h index bfaf5c51..27464f8b 100644 --- a/korn/kornaccountcfgimpl.h +++ b/korn/kornaccountcfgimpl.h @@ -24,16 +24,16 @@ class KConfigGroup; class KURLRequester; -class QVBoxLayout; -class QHBoxLayout; -class QLabel; -class QString; -class QWidget; +class TQVBoxLayout; +class TQHBoxLayout; +class TQLabel; +class TQString; +class TQWidget; class AccountInput; -template< class T > class QPtrList; -template< class T > class QPtrVector; +template< class T > class TQPtrList; +template< class T > class TQPtrVector; class KornAccountCfgImpl : public KornAccountCfg { Q_OBJECT diff --git a/korn/kornboxcfgimpl.cpp b/korn/kornboxcfgimpl.cpp index 5667a5f2..f7c1845f 100644 --- a/korn/kornboxcfgimpl.cpp +++ b/korn/kornboxcfgimpl.cpp @@ -44,10 +44,10 @@ KornBoxCfgImpl::KornBoxCfgImpl( TQWidget * parent, const char * name ) _base( 0 ), _index( -1 ) { - _fonts[ 0 ] = new QFont; - _fonts[ 1 ] = new QFont; - _anims[ 0 ] = new QString; - _anims[ 1 ] = new QString; + _fonts[ 0 ] = new TQFont; + _fonts[ 1 ] = new TQFont; + _anims[ 0 ] = new TQString; + _anims[ 1 ] = new TQString; lbLeft->setText( i18n( "Left mousebutton", "Left" ) ); if( lbLeft->text() == "Left" ) diff --git a/korn/kornboxcfgimpl.h b/korn/kornboxcfgimpl.h index 23b6bf53..47bbbfd1 100644 --- a/korn/kornboxcfgimpl.h +++ b/korn/kornboxcfgimpl.h @@ -25,9 +25,9 @@ class KConfig; class KConfigGroup; class KDialogBase; -class QFont; -class QString; -class QWidget; +class TQFont; +class TQString; +class TQWidget; class KornBoxCfgImpl : public KornBoxCfg { Q_OBJECT diff --git a/korn/korncfgimpl.h b/korn/korncfgimpl.h index 322ba3d5..5ce4ef4a 100644 --- a/korn/korncfgimpl.h +++ b/korn/korncfgimpl.h @@ -24,8 +24,8 @@ class KConfig; class KDialogBase; -class QObject; -class QString; +class TQObject; +class TQString; class KornCfgImpl : public KornCfgWidget { Q_OBJECT diff --git a/korn/maildlg.h b/korn/maildlg.h index 93bfe098..c8ba216a 100644 --- a/korn/maildlg.h +++ b/korn/maildlg.h @@ -7,8 +7,8 @@ class KornMailSubject; class KMailDrop; -class QProgressDialog; -class QString; +class TQProgressDialog; +class TQString; /** * KornMailDlg shows the header and (if available) the body of a mail. diff --git a/korn/maildrop.h b/korn/maildrop.h index 0c937c62..4052c8c3 100644 --- a/korn/maildrop.h +++ b/korn/maildrop.h @@ -16,11 +16,11 @@ class Protocol; class KConfigBase; class KConfigGroup; class KDropCfgDialog; -class QColor; +class TQColor; class KornMailSubject; class KornMailId; -template< class T, class R > class QMap; +template< class T, class R > class TQMap; /** * Abstract base class for all mailbox monitors. diff --git a/korn/mailsubject.h b/korn/mailsubject.h index aecd19f5..75f0571f 100644 --- a/korn/mailsubject.h +++ b/korn/mailsubject.h @@ -1,7 +1,7 @@ #ifndef MailSubject_h #define MailSubject_h -class QTextCodec; +class TQTextCodec; class KMailDrop; diff --git a/korn/password.h b/korn/password.h index c8ecdd1d..05450ae5 100644 --- a/korn/password.h +++ b/korn/password.h @@ -23,7 +23,7 @@ class KConfigBase; namespace KWallet { class Wallet; } -class QString; +class TQString; /** * This class can be used to store and retrieve passwords. diff --git a/korn/polldrop.h b/korn/polldrop.h index 49e400b2..94444d4d 100644 --- a/korn/polldrop.h +++ b/korn/polldrop.h @@ -7,7 +7,7 @@ #include"maildrop.h" -class QTimerEvent; +class TQTimerEvent; /** * Superclass for all pollable maildrop monitors. diff --git a/korn/protocol.h b/korn/protocol.h index 148e9e7f..c5caca28 100644 --- a/korn/protocol.h +++ b/korn/protocol.h @@ -25,14 +25,14 @@ class KConfigGroup; class KIO_Protocol; class KMailDrop; -class QGroupBox; -class QObject; -class QStringList; -class QWidget; - -template< class T> class QPtrList; -template< class T> class QPtrVector; -template< class T, class S> class QMap; +class TQGroupBox; +class TQObject; +class TQStringList; +class TQWidget; + +template< class T> class TQPtrList; +template< class T> class TQPtrVector; +template< class T, class S> class TQMap; #include diff --git a/korn/protocols.h b/korn/protocols.h index d77a6175..942321ee 100644 --- a/korn/protocols.h +++ b/korn/protocols.h @@ -21,9 +21,9 @@ class Protocol; -template< class T > class QDict; -class QString; -class QStringList; +template< class T > class TQDict; +class TQString; +class TQStringList; class Protocols { diff --git a/korn/subjectsdlg.h b/korn/subjectsdlg.h index 02a3e039..e7c032c2 100644 --- a/korn/subjectsdlg.h +++ b/korn/subjectsdlg.h @@ -11,10 +11,10 @@ class KornMailSubject; class KornMailId; class KListView; class KornMailDlg; -class QProgressDialog; +class TQProgressDialog; class DoubleProgressDialog; -template< class T > class QPtrList; +template< class T > class TQPtrList; /** * KornSubjectsDlg loads all mail subjects and shows them in a list control. diff --git a/korn/systemtray.h b/korn/systemtray.h index 4f9f70ed..2387ea7c 100644 --- a/korn/systemtray.h +++ b/korn/systemtray.h @@ -21,7 +21,7 @@ #include -class QWidget; +class TQWidget; /** * This class is an implementation of a KSystemTray class. -- cgit v1.2.3