From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kabc/formatfactory.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kabc/formatfactory.h') diff --git a/kabc/formatfactory.h b/kabc/formatfactory.h index f3e270a4b..76a3704d5 100644 --- a/kabc/formatfactory.h +++ b/kabc/formatfactory.h @@ -21,8 +21,8 @@ #ifndef KABC_FORMATFACTORY_H #define KABC_FORMATFACTORY_H -#include -#include +#include +#include #include #include @@ -33,9 +33,9 @@ namespace KABC { struct FormatInfo { - QString library; - QString nameLabel; - QString descriptionLabel; + TQString library; + TQString nameLabel; + TQString descriptionLabel; }; /** @@ -46,8 +46,8 @@ struct FormatInfo * \code * KABC::FormatFactory *factory = KABC::FormatFactory::self(); * - * QStringList list = factory->formats(); - * QStringList::Iterator it; + * TQStringList list = factory->formats(); + * TQStringList::Iterator it; * for ( it = list.begin(); it != list.end(); ++it ) { * KABC::FormatPlugin *format = factory->format( (*it) ); * // do something with format @@ -74,27 +74,27 @@ class KABC_EXPORT FormatFactory * * @param type The type of the format, returned by formats() */ - FormatPlugin *format( const QString &type ); + FormatPlugin *format( const TQString &type ); /** * Returns a list of all available format types. */ - QStringList formats(); + TQStringList formats(); /** * Returns the info structure for a special type. */ - FormatInfo *info( const QString &type ); + FormatInfo *info( const TQString &type ); protected: FormatFactory(); private: - KLibrary *openLibrary( const QString& libName ); + KLibrary *openLibrary( const TQString& libName ); static FormatFactory *mSelf; - QDict mFormatList; + TQDict mFormatList; }; } -- cgit v1.2.1