diff options
Diffstat (limited to 'kipi-plugins/sync/sink.cpp')
-rw-r--r-- | kipi-plugins/sync/sink.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kipi-plugins/sync/sink.cpp b/kipi-plugins/sync/sink.cpp index 7d27f91..2c2dfec 100644 --- a/kipi-plugins/sync/sink.cpp +++ b/kipi-plugins/sync/sink.cpp @@ -23,7 +23,7 @@ namespace KIPISyncPlugin { -Sink::Sink(unsigned int sinkId, QString name, KConfig*, KWallet::Wallet*) +Sink::Sink(unsigned int sinkId, TQString name, KConfig*, KWallet::Wallet*) : mSinkId(sinkId), mName(name) { @@ -34,13 +34,13 @@ unsigned int Sink::SinkId() return mSinkId; } -QString Sink::Name() +TQString Sink::Name() { return mName; } /* -Sink::Sink(const QString& name, const QString& url, - const QString& username, const QString& password, +Sink::Sink(const TQString& name, const TQString& url, + const TQString& username, const TQString& password, const unsigned int version, const unsigned int sinkId) : mName(name), @@ -58,36 +58,36 @@ Sink::~Sink() } -QString Sink::name() const { return mName; } -QString Sink::url() const { return mUrl; } -QString Sink::username() const { return mUsername; } -QString Sink::password() const { return mPassword; } +TQString Sink::name() const { return mName; } +TQString Sink::url() const { return mUrl; } +TQString Sink::username() const { return mUsername; } +TQString Sink::password() const { return mPassword; } unsigned int Sink::version() const { return mVersion; } unsigned int Sink::sinkId() const { return mSinkId; } -void Sink::setName(QString name) { mName = name; } -void Sink::setUrl(QString url) { mUrl = url; } -void Sink::setUsername(QString username) { mUsername = username; } -void Sink::setPassword(QString password) { mPassword = password; } +void Sink::setName(TQString name) { mName = name; } +void Sink::setUrl(TQString url) { mUrl = url; } +void Sink::setUsername(TQString username) { mUsername = username; } +void Sink::setPassword(TQString password) { mPassword = password; } void Sink::setVersion(unsigned int version) { mVersion = version; } void Sink::setSinkId(unsigned int sinkId) { mSinkId = sinkId; } -void Sink::asQListViewItem(QListView* pParent) +void Sink::asTQListViewItem(TQListView* pParent) { - new SinkQListViewItem(this, pParent); + new SinkTQListViewItem(this, pParent); } */ // Pretend sink (just for testin the structure - will be removed!) -Sink2::Sink2(unsigned int sinkId, QString name, KConfig* pConfig, KWallet::Wallet* pWallet) +Sink2::Sink2(unsigned int sinkId, TQString name, KConfig* pConfig, KWallet::Wallet* pWallet) : Sink(sinkId, name, pConfig, pWallet) { mName = "Sink2"; } -QString Sink2::Type() { return "Sink2"; } -QString Sink2::TypeDescription() { return "Sink2"; } +TQString Sink2::Type() { return "Sink2"; } +TQString Sink2::TypeDescription() { return "Sink2"; } KIPI2::CollectionList* Sink2::getCollections() { |