diff options
Diffstat (limited to 'kresources/carddav')
-rw-r--r-- | kresources/carddav/config.cpp | 4 | ||||
-rw-r--r-- | kresources/carddav/config.h | 2 | ||||
-rw-r--r-- | kresources/carddav/configwidgets.cpp | 8 | ||||
-rw-r--r-- | kresources/carddav/configwidgets.h | 4 | ||||
-rw-r--r-- | kresources/carddav/job.cpp | 4 | ||||
-rw-r--r-- | kresources/carddav/job.h | 6 |
6 files changed, 14 insertions, 14 deletions
diff --git a/kresources/carddav/config.cpp b/kresources/carddav/config.cpp index 70a3caf12..390e3adc7 100644 --- a/kresources/carddav/config.cpp +++ b/kresources/carddav/config.cpp @@ -69,8 +69,8 @@ CardDavPrefs* ResourceCardDavConfig::getPrefs(ResourceCardDav* res) { | CONSTRUCTOR / DESTRUCTOR ========================================================================*/ -ResourceCardDavConfig::ResourceCardDavConfig( TQWidget *tqparent ) - : KRES::ConfigWidget( tqparent ) +ResourceCardDavConfig::ResourceCardDavConfig( TQWidget *parent ) + : KRES::ConfigWidget( parent ) { setupUI(); } diff --git a/kresources/carddav/config.h b/kresources/carddav/config.h index 4fd95511d..8e0a71003 100644 --- a/kresources/carddav/config.h +++ b/kresources/carddav/config.h @@ -43,7 +43,7 @@ class KDE_EXPORT ResourceCardDavConfig : public KRES::ConfigWidget public: - ResourceCardDavConfig(TQWidget *tqparent = 0); + ResourceCardDavConfig(TQWidget *parent = 0); public slots: diff --git a/kresources/carddav/configwidgets.cpp b/kresources/carddav/configwidgets.cpp index fbc19c7e3..b159a0211 100644 --- a/kresources/carddav/configwidgets.cpp +++ b/kresources/carddav/configwidgets.cpp @@ -73,8 +73,8 @@ class CardDavSaveConfig::Private }; //@endcond -CardDavReloadConfig::CardDavReloadConfig( TQWidget *tqparent ) - : TQWidget( tqparent ), d( new KABC::CardDavReloadConfig::Private() ) +CardDavReloadConfig::CardDavReloadConfig( TQWidget *parent ) + : TQWidget( parent ), d( new KABC::CardDavReloadConfig::Private() ) { TQBoxLayout *topLayout = new TQVBoxLayout( this ); @@ -147,8 +147,8 @@ void CardDavReloadConfig::slotIntervalToggled( bool checked ) } } -CardDavSaveConfig::CardDavSaveConfig( TQWidget *tqparent ) - : TQWidget( tqparent ), d( new KABC::CardDavSaveConfig::Private() ) +CardDavSaveConfig::CardDavSaveConfig( TQWidget *parent ) + : TQWidget( parent ), d( new KABC::CardDavSaveConfig::Private() ) { TQBoxLayout *topLayout = new TQVBoxLayout( this ); diff --git a/kresources/carddav/configwidgets.h b/kresources/carddav/configwidgets.h index 47b92bfaf..9fb849424 100644 --- a/kresources/carddav/configwidgets.h +++ b/kresources/carddav/configwidgets.h @@ -51,7 +51,7 @@ class KDE_EXPORT CardDavReloadConfig : public TQWidget Q_OBJECT TQ_OBJECT public: - explicit CardDavReloadConfig( TQWidget *tqparent = 0 ); + explicit CardDavReloadConfig( TQWidget *parent = 0 ); ~CardDavReloadConfig(); public slots: void loadSettings( ResourceCached *resource ); @@ -78,7 +78,7 @@ class KDE_EXPORT CardDavSaveConfig : public TQWidget Q_OBJECT TQ_OBJECT public: - explicit CardDavSaveConfig( TQWidget *tqparent = 0 ); + explicit CardDavSaveConfig( TQWidget *parent = 0 ); ~CardDavSaveConfig(); public slots: diff --git a/kresources/carddav/job.cpp b/kresources/carddav/job.cpp index 4d3fd3d43..a842b00a4 100644 --- a/kresources/carddav/job.cpp +++ b/kresources/carddav/job.cpp @@ -103,8 +103,8 @@ void CardDavJob::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/carddav/job.h b/kresources/carddav/job.h index e40604b9f..52a04bc7a 100644 --- a/kresources/carddav/job.h +++ b/kresources/carddav/job.h @@ -60,7 +60,7 @@ public: } /** - * Sets the tqparent qobject. + * Sets the parent qobject. */ virtual void setParent(TQObject *s) { mParent = s; @@ -88,9 +88,9 @@ public: } /** - * @return tqparent object + * @return parent object */ - virtual TQObject *tqparent() { + virtual TQObject *parent() { return mParent; } |