summaryrefslogtreecommitdiffstats
path: root/kabc/formatfactory.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kabc/formatfactory.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/formatfactory.h')
-rw-r--r--kabc/formatfactory.h24
1 files changed, 12 insertions, 12 deletions
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 <qdict.h>
-#include <qstring.h>
+#include <tqdict.h>
+#include <tqstring.h>
#include <kconfig.h>
#include <klibloader.h>
@@ -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<FormatInfo> mFormatList;
+ TQDict<FormatInfo> mFormatList;
};
}