summaryrefslogtreecommitdiffstats
path: root/libkcal/customproperties.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /libkcal/customproperties.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcal/customproperties.h')
-rw-r--r--libkcal/customproperties.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/libkcal/customproperties.h b/libkcal/customproperties.h
index 5cafff2eb..46814ca05 100644
--- a/libkcal/customproperties.h
+++ b/libkcal/customproperties.h
@@ -22,8 +22,8 @@
#ifndef KCAL_CUSTOMPROPERTIES_H
#define KCAL_CUSTOMPROPERTIES_H
-#include <qstring.h>
-#include <qmap.h>
+#include <tqstring.h>
+#include <tqmap.h>
#include <kdepimmacros.h>
#include "libkcal_export.h"
@@ -56,60 +56,60 @@ class LIBKCAL_EXPORT CustomProperties
@param app Application name as it appears in the custom property name.
@param key Property identifier specific to the application.
- @param value The property's value. A call with a value of QString::null
+ @param value The property's value. A call with a value of TQString::null
will be ignored.
*/
- void setCustomProperty( const QCString &app, const QCString &key,
- const QString &value );
+ void setCustomProperty( const TQCString &app, const TQCString &key,
+ const TQString &value );
/**
Delete a custom calendar property.
@param app Application name as it appears in the custom property name.
@param key Property identifier specific to the application.
*/
- void removeCustomProperty( const QCString &app, const QCString &key );
+ void removeCustomProperty( const TQCString &app, const TQCString &key );
/**
Return the value of a custom calendar property.
@param app Application name as it appears in the custom property name.
@param key Property identifier specific to the application.
- @return Property value, or QString::null if (and only if) the property
+ @return Property value, or TQString::null if (and only if) the property
does not exist.
*/
- QString customProperty( const QCString &app, const QCString &key ) const;
+ TQString customProperty( const TQCString &app, const TQCString &key ) const;
/**
Create or modify a non-KDE or non-standard custom calendar property.
@param name Full property name
- @param value The property's value. A call with a value of QString::null
+ @param value The property's value. A call with a value of TQString::null
will be ignored.
*/
- void setNonKDECustomProperty( const QCString &name, const QString &value );
+ void setNonKDECustomProperty( const TQCString &name, const TQString &value );
/**
Delete a non-KDE or non-standard custom calendar property.
@param name Full property name
*/
- void removeNonKDECustomProperty( const QCString &name );
+ void removeNonKDECustomProperty( const TQCString &name );
/**
Return the value of a non-KDE or non-standard custom calendar property.
@param name Full property name
- @return Property value, or QString::null if (and only if) the property
+ @return Property value, or TQString::null if (and only if) the property
does not exist.
*/
- QString nonKDECustomProperty( const QCString& name ) const;
+ TQString nonKDECustomProperty( const TQCString& name ) const;
/**
Initialise the alarm's custom calendar properties to the specified
key/value pairs.
*/
- void setCustomProperties( const QMap<QCString, QString> &properties );
+ void setCustomProperties( const TQMap<TQCString, TQString> &properties );
/**
Return all custom calendar property key/value pairs.
*/
- QMap<QCString, QString> customProperties() const;
+ TQMap<TQCString, TQString> customProperties() const;
protected:
/**
@@ -120,9 +120,9 @@ class LIBKCAL_EXPORT CustomProperties
virtual void customPropertyUpdated() {}
private:
- static bool checkName(const QCString& name);
+ static bool checkName(const TQCString& name);
- QMap<QCString, QString> mProperties; // custom calendar properties
+ TQMap<TQCString, TQString> mProperties; // custom calendar properties
class Private;
Private *d;