diff options
Diffstat (limited to 'libkcal/customproperties.h')
-rw-r--r-- | libkcal/customproperties.h | 34 |
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; |