diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
commit | 99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch) | |
tree | eff34cf0762227f6baf2a93e8fef48d4bed2651c /kbugbuster/kresources | |
parent | 1c104292188541106338d4940b0f04beeb4301a0 (diff) | |
download | tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip |
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbugbuster/kresources')
-rw-r--r-- | kbugbuster/kresources/kcalresource.cpp | 2 | ||||
-rw-r--r-- | kbugbuster/kresources/kcalresource.h | 1 | ||||
-rw-r--r-- | kbugbuster/kresources/kcalresourceconfig.cpp | 4 | ||||
-rw-r--r-- | kbugbuster/kresources/kcalresourceconfig.h | 3 |
4 files changed, 6 insertions, 4 deletions
diff --git a/kbugbuster/kresources/kcalresource.cpp b/kbugbuster/kresources/kcalresource.cpp index 5af8b8be..dd858f18 100644 --- a/kbugbuster/kresources/kcalresource.cpp +++ b/kbugbuster/kresources/kcalresource.cpp @@ -212,7 +212,7 @@ void KCalResource::slotBugListAvailable( const Package &, const TQString &, newTodo = new KCal::Todo; newTodo->setUid( uid ); TQString uri = "http://bugs.kde.org/show_bug.cgi?id=%1"; - newTodo->addAttachment( new KCal::Attachment( uri.arg( bug.number() ) ) ); + newTodo->addAttachment( new KCal::Attachment( uri.tqarg( bug.number() ) ) ); todo = newTodo; } diff --git a/kbugbuster/kresources/kcalresource.h b/kbugbuster/kresources/kcalresource.h index b9683d7e..b852fa26 100644 --- a/kbugbuster/kresources/kcalresource.h +++ b/kbugbuster/kresources/kcalresource.h @@ -51,6 +51,7 @@ class ResourcePrefs; class KCalResource : public KCal::ResourceCached { Q_OBJECT + TQ_OBJECT friend class KCalResourceConfig; diff --git a/kbugbuster/kresources/kcalresourceconfig.cpp b/kbugbuster/kresources/kcalresourceconfig.cpp index 58466642..3ed92e54 100644 --- a/kbugbuster/kresources/kcalresourceconfig.cpp +++ b/kbugbuster/kresources/kcalresourceconfig.cpp @@ -34,8 +34,8 @@ #include "resourceprefs.h" #include "kcalresourceconfig.h" -KCalResourceConfig::KCalResourceConfig( TQWidget* parent, const char* name ) - : KRES::ConfigWidget( parent, name ) +KCalResourceConfig::KCalResourceConfig( TQWidget* tqparent, const char* name ) + : KRES::ConfigWidget( tqparent, name ) { resize( 245, 115 ); diff --git a/kbugbuster/kresources/kcalresourceconfig.h b/kbugbuster/kresources/kcalresourceconfig.h index 6a83ad67..de8eb4d2 100644 --- a/kbugbuster/kresources/kcalresourceconfig.h +++ b/kbugbuster/kresources/kcalresourceconfig.h @@ -34,8 +34,9 @@ class KLineEdit; class KCalResourceConfig : public KRES::ConfigWidget { Q_OBJECT + TQ_OBJECT public: - KCalResourceConfig( TQWidget *parent = 0, const char *name = 0 ); + KCalResourceConfig( TQWidget *tqparent = 0, const char *name = 0 ); public slots: virtual void loadSettings( KRES::Resource *resource ); |