diff options
Diffstat (limited to 'kresources/caldav')
-rw-r--r-- | kresources/caldav/config.cpp | 4 | ||||
-rw-r--r-- | kresources/caldav/config.h | 2 | ||||
-rw-r--r-- | kresources/caldav/configwidgets.cpp | 8 | ||||
-rw-r--r-- | kresources/caldav/configwidgets.h | 4 | ||||
-rw-r--r-- | kresources/caldav/job.cpp | 4 | ||||
-rw-r--r-- | kresources/caldav/job.h | 6 |
6 files changed, 14 insertions, 14 deletions
diff --git a/kresources/caldav/config.cpp b/kresources/caldav/config.cpp index dbab62d7f..f3cf57fdc 100644 --- a/kresources/caldav/config.cpp +++ b/kresources/caldav/config.cpp @@ -70,8 +70,8 @@ CalDavPrefs* ResourceCalDavConfig::getPrefs(ResourceCalDav* res) { | CONSTRUCTOR / DESTRUCTOR ========================================================================*/ -ResourceCalDavConfig::ResourceCalDavConfig( TQWidget *tqparent ) - : KRES::ConfigWidget( tqparent ) +ResourceCalDavConfig::ResourceCalDavConfig( TQWidget *parent ) + : KRES::ConfigWidget( parent ) { setupUI(); } diff --git a/kresources/caldav/config.h b/kresources/caldav/config.h index ccda9234b..cfa612d37 100644 --- a/kresources/caldav/config.h +++ b/kresources/caldav/config.h @@ -44,7 +44,7 @@ class KDE_EXPORT ResourceCalDavConfig : public KRES::ConfigWidget public: - ResourceCalDavConfig(TQWidget *tqparent = 0); + ResourceCalDavConfig(TQWidget *parent = 0); public slots: diff --git a/kresources/caldav/configwidgets.cpp b/kresources/caldav/configwidgets.cpp index e84eb2eb2..4a7072b5f 100644 --- a/kresources/caldav/configwidgets.cpp +++ b/kresources/caldav/configwidgets.cpp @@ -74,8 +74,8 @@ class CalDavSaveConfig::Private }; //@endcond -CalDavReloadConfig::CalDavReloadConfig( TQWidget *tqparent ) - : TQWidget( tqparent ), d( new KCal::CalDavReloadConfig::Private() ) +CalDavReloadConfig::CalDavReloadConfig( TQWidget *parent ) + : TQWidget( parent ), d( new KCal::CalDavReloadConfig::Private() ) { TQBoxLayout *topLayout = new TQVBoxLayout( this ); @@ -148,8 +148,8 @@ void CalDavReloadConfig::slotIntervalToggled( bool checked ) } } -CalDavSaveConfig::CalDavSaveConfig( TQWidget *tqparent ) - : TQWidget( tqparent ), d( new KCal::CalDavSaveConfig::Private() ) +CalDavSaveConfig::CalDavSaveConfig( TQWidget *parent ) + : TQWidget( parent ), d( new KCal::CalDavSaveConfig::Private() ) { TQBoxLayout *topLayout = new TQVBoxLayout( this ); diff --git a/kresources/caldav/configwidgets.h b/kresources/caldav/configwidgets.h index 2c9dcb6dc..6ceb0c717 100644 --- a/kresources/caldav/configwidgets.h +++ b/kresources/caldav/configwidgets.h @@ -52,7 +52,7 @@ class KDE_EXPORT CalDavReloadConfig : public TQWidget Q_OBJECT TQ_OBJECT public: - explicit CalDavReloadConfig( TQWidget *tqparent = 0 ); + explicit CalDavReloadConfig( TQWidget *parent = 0 ); ~CalDavReloadConfig(); public slots: void loadSettings( ResourceCached *resource ); @@ -79,7 +79,7 @@ class KDE_EXPORT CalDavSaveConfig : public TQWidget Q_OBJECT TQ_OBJECT public: - explicit CalDavSaveConfig( TQWidget *tqparent = 0 ); + explicit CalDavSaveConfig( TQWidget *parent = 0 ); ~CalDavSaveConfig(); public slots: diff --git a/kresources/caldav/job.cpp b/kresources/caldav/job.cpp index a7a4af54a..c79ef06ac 100644 --- a/kresources/caldav/job.cpp +++ b/kresources/caldav/job.cpp @@ -166,8 +166,8 @@ void CalDavJob::run() { // Signal done // 1000 is read, 1001 is write - if (type() == 0) TQApplication::postEvent ( tqparent(), new TQEvent( static_cast<TQEvent::Type>(1000) ) ); - if (type() == 1) TQApplication::postEvent ( tqparent(), new TQEvent( static_cast<TQEvent::Type>(1001) ) ); + if (type() == 0) TQApplication::postEvent ( parent(), new TQEvent( static_cast<TQEvent::Type>(1000) ) ); + if (type() == 1) TQApplication::postEvent ( parent(), new TQEvent( static_cast<TQEvent::Type>(1001) ) ); } // EOF ======================================================================== diff --git a/kresources/caldav/job.h b/kresources/caldav/job.h index c19f2bf24..7d312d90b 100644 --- a/kresources/caldav/job.h +++ b/kresources/caldav/job.h @@ -68,7 +68,7 @@ public: } /** - * Sets the tqparent qobject. + * Sets the parent qobject. */ virtual void setParent(TQObject *s) { mParent = s; @@ -103,9 +103,9 @@ public: } /** - * @return tqparent object + * @return parent object */ - virtual TQObject *tqparent() { + virtual TQObject *parent() { return mParent; } |