summaryrefslogtreecommitdiffstats
path: root/kresources/scalix/knotes/resourcescalix.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 /kresources/scalix/knotes/resourcescalix.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 'kresources/scalix/knotes/resourcescalix.h')
-rw-r--r--kresources/scalix/knotes/resourcescalix.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kresources/scalix/knotes/resourcescalix.h b/kresources/scalix/knotes/resourcescalix.h
index a26bd197..cb0c50fb 100644
--- a/kresources/scalix/knotes/resourcescalix.h
+++ b/kresources/scalix/knotes/resourcescalix.h
@@ -73,46 +73,46 @@ public:
bool deleteNote( KCal::Journal* );
- KCal::Alarm::List alarms( const QDateTime& from, const QDateTime& to );
+ KCal::Alarm::List alarms( const TQDateTime& from, const TQDateTime& to );
/// Reimplemented from IncidenceBase::Observer to know when a note was changed
void incidenceUpdated( KCal::IncidenceBase* );
/// The ResourceScalixBase methods called by KMail
- bool fromKMailAddIncidence( const QString& type, const QString& resource,
- Q_UINT32 sernum, int format, const QString& note );
- void fromKMailDelIncidence( const QString& type, const QString& resource,
- const QString& uid );
- void fromKMailRefresh( const QString& type, const QString& resource );
+ bool fromKMailAddIncidence( const TQString& type, const TQString& resource,
+ Q_UINT32 sernum, int format, const TQString& note );
+ void fromKMailDelIncidence( const TQString& type, const TQString& resource,
+ const TQString& uid );
+ void fromKMailRefresh( const TQString& type, const TQString& resource );
/// Listen to KMail changes in the amount of sub resources
- void fromKMailAddSubresource( const QString& type, const QString& resource,
- const QString& label, bool writable );
- void fromKMailDelSubresource( const QString& type, const QString& resource );
+ void fromKMailAddSubresource( const TQString& type, const TQString& resource,
+ const TQString& label, bool writable );
+ void fromKMailDelSubresource( const TQString& type, const TQString& resource );
- void fromKMailAsyncLoadResult( const QMap<Q_UINT32, QString>& map,
- const QString& type,
- const QString& folder );
+ void fromKMailAsyncLoadResult( const TQMap<Q_UINT32, TQString>& map,
+ const TQString& type,
+ const TQString& folder );
/** Return the list of subresources. */
- QStringList subresources() const;
+ TQStringList subresources() const;
/** Is this subresource active? */
- bool subresourceActive( const QString& ) const;
+ bool subresourceActive( const TQString& ) const;
signals:
- void signalSubresourceAdded( Resource*, const QString&, const QString& );
- void signalSubresourceRemoved( Resource*, const QString&, const QString& );
+ void signalSubresourceAdded( Resource*, const TQString&, const TQString& );
+ void signalSubresourceRemoved( Resource*, const TQString&, const TQString& );
private:
- bool addNote( KCal::Journal* journal, const QString& resource,
+ bool addNote( KCal::Journal* journal, const TQString& resource,
Q_UINT32 sernum );
- KCal::Journal* addNote( const QString& data, const QString& subresource,
- Q_UINT32 sernum, const QString &mimetype );
+ KCal::Journal* addNote( const TQString& data, const TQString& subresource,
+ Q_UINT32 sernum, const TQString &mimetype );
- bool loadSubResource( const QString& resource, const QString& mimetype );
+ bool loadSubResource( const TQString& resource, const TQString& mimetype );
- QString configFile() const {
+ TQString configFile() const {
return ResourceScalixBase::configFile( "knotes" );
}