diff options
Diffstat (limited to 'knode/knconfigpages.cpp')
-rw-r--r-- | knode/knconfigpages.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/knode/knconfigpages.cpp b/knode/knconfigpages.cpp index fa0593c27..030838acb 100644 --- a/knode/knconfigpages.cpp +++ b/knode/knconfigpages.cpp @@ -28,8 +28,8 @@ // // common config page with tabs (code mostly taken from kmail) // -KNConfig::BasePageWithTabs::BasePageWithTabs( TQWidget * tqparent, const char * name ) - : KCModule( tqparent, name ) +KNConfig::BasePageWithTabs::BasePageWithTabs( TQWidget * parent, const char * name ) + : KCModule( parent, name ) { TQVBoxLayout *vlay = new TQVBoxLayout( this, 0, KDialog::spacingHint() ); mTabWidget = new TQTabWidget( this ); @@ -72,11 +72,11 @@ void KNConfig::BasePageWithTabs::defaults() { // extern "C" { - KDE_EXPORT KCModule *create_knode_config_identity( TQWidget *tqparent, const char * ) + KDE_EXPORT KCModule *create_knode_config_identity( TQWidget *parent, const char * ) { KNConfig::IdentityWidget *page = new KNConfig::IdentityWidget( knGlobals.configManager()->identity(), - tqparent, + parent, "kcmknode_config_identity" ); return page; } @@ -89,15 +89,15 @@ extern "C" // extern "C" { - KCModule *create_knode_config_accounts( TQWidget *tqparent, const char * ) + KCModule *create_knode_config_accounts( TQWidget *parent, const char * ) { - KNConfig::AccountsPage *page = new KNConfig::AccountsPage( tqparent, "kcmknode_config_accounts" ); + KNConfig::AccountsPage *page = new KNConfig::AccountsPage( parent, "kcmknode_config_accounts" ); return page; } } -KNConfig::AccountsPage::AccountsPage(TQWidget *tqparent, const char *name) - : BasePageWithTabs(tqparent, name) { +KNConfig::AccountsPage::AccountsPage(TQWidget *parent, const char *name) + : BasePageWithTabs(parent, name) { addTab(new KNConfig::NntpAccountListWidget(this), i18n("Newsgroup Servers")); addTab(new KNConfig::SmtpAccountWidget(this), i18n("Mail Server (SMTP)")); @@ -110,9 +110,9 @@ KNConfig::AccountsPage::AccountsPage(TQWidget *tqparent, const char *name) // extern "C" { - KCModule *create_knode_config_appearance( TQWidget *tqparent, const char * ) + KCModule *create_knode_config_appearance( TQWidget *parent, const char * ) { - KNConfig::AppearanceWidget *page = new KNConfig::AppearanceWidget( tqparent, "kcmknode_config_appearance" ); + KNConfig::AppearanceWidget *page = new KNConfig::AppearanceWidget( parent, "kcmknode_config_appearance" ); return page; } } @@ -124,15 +124,15 @@ extern "C" // extern "C" { - KCModule *create_knode_config_read_news( TQWidget *tqparent, const char * ) + KCModule *create_knode_config_read_news( TQWidget *parent, const char * ) { - KNConfig::ReadNewsPage *page = new KNConfig::ReadNewsPage( tqparent, "kcmknode_config_read_news" ); + KNConfig::ReadNewsPage *page = new KNConfig::ReadNewsPage( parent, "kcmknode_config_read_news" ); return page; } } -KNConfig::ReadNewsPage::ReadNewsPage(TQWidget *tqparent, const char *name) - : BasePageWithTabs(tqparent, name) { +KNConfig::ReadNewsPage::ReadNewsPage(TQWidget *parent, const char *name) + : BasePageWithTabs(parent, name) { KNConfigManager *cfgMgr = knGlobals.configManager(); addTab(new KNConfig::ReadNewsGeneralWidget(cfgMgr->readNewsGeneral(), this), i18n("General")); @@ -150,15 +150,15 @@ KNConfig::ReadNewsPage::ReadNewsPage(TQWidget *tqparent, const char *name) // extern "C" { - KCModule *create_knode_config_post_news( TQWidget *tqparent, const char * ) + KCModule *create_knode_config_post_news( TQWidget *parent, const char * ) { - KNConfig::PostNewsPage *page = new KNConfig::PostNewsPage( tqparent, "kcmknode_config_post_news" ); + KNConfig::PostNewsPage *page = new KNConfig::PostNewsPage( parent, "kcmknode_config_post_news" ); return page; } } -KNConfig::PostNewsPage::PostNewsPage(TQWidget *tqparent, const char *name) - : BasePageWithTabs(tqparent, name) { +KNConfig::PostNewsPage::PostNewsPage(TQWidget *parent, const char *name) + : BasePageWithTabs(parent, name) { KNConfigManager *cfgMgr = knGlobals.configManager(); addTab(new KNConfig::PostNewsTechnicalWidget(cfgMgr->postNewsTechnical(), this), i18n("Technical")); @@ -173,9 +173,9 @@ KNConfig::PostNewsPage::PostNewsPage(TQWidget *tqparent, const char *name) // extern "C" { - KCModule *create_knode_config_privacy( TQWidget *tqparent, const char * ) + KCModule *create_knode_config_privacy( TQWidget *parent, const char * ) { - KNConfig::PrivacyWidget *page = new KNConfig::PrivacyWidget( tqparent, "kcmknode_config_privacy" ); + KNConfig::PrivacyWidget *page = new KNConfig::PrivacyWidget( parent, "kcmknode_config_privacy" ); return page; } } @@ -187,9 +187,9 @@ extern "C" // extern "C" { - KCModule *create_knode_config_cleanup( TQWidget *tqparent, const char * ) + KCModule *create_knode_config_cleanup( TQWidget *parent, const char * ) { - KNConfig::CleanupWidget *page = new KNConfig::CleanupWidget( tqparent, "kcmknode_config_cleanup" ); + KNConfig::CleanupWidget *page = new KNConfig::CleanupWidget( parent, "kcmknode_config_cleanup" ); return page; } } |