diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
commit | 86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch) | |
tree | 97d3ac2c2f60780d9a1de4f82caac7cb27534501 /knode/knconfigpages.cpp | |
parent | a9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff) | |
download | tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'knode/knconfigpages.cpp')
-rw-r--r-- | knode/knconfigpages.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/knode/knconfigpages.cpp b/knode/knconfigpages.cpp index c44b96954..a76b17efe 100644 --- a/knode/knconfigpages.cpp +++ b/knode/knconfigpages.cpp @@ -29,21 +29,21 @@ // common config page with tabs (code mostly taken from kmail) // KNConfig::BasePageWithTabs::BasePageWithTabs( TQWidget * parent, const char * name ) - : KCModule( parent, name ) + : TDECModule( parent, name ) { TQVBoxLayout *vlay = new TQVBoxLayout( this, 0, KDialog::spacingHint() ); mTabWidget = new TQTabWidget( this ); vlay->addWidget( mTabWidget ); } -void KNConfig::BasePageWithTabs::addTab( KCModule* tab, const TQString & title ) { +void KNConfig::BasePageWithTabs::addTab( TDECModule* tab, const TQString & title ) { mTabWidget->addTab( tab, title ); connect( tab, TQT_SIGNAL(changed( bool )), this, TQT_SIGNAL(changed( bool )) ); } void KNConfig::BasePageWithTabs::load() { for ( int i = 0 ; i < mTabWidget->count() ; ++i ) { - KCModule *tab = (KCModule*) mTabWidget->page(i); + TDECModule *tab = (TDECModule*) mTabWidget->page(i); if ( tab ) tab->load(); } @@ -51,7 +51,7 @@ void KNConfig::BasePageWithTabs::load() { void KNConfig::BasePageWithTabs::save() { for ( int i = 0 ; i < mTabWidget->count() ; ++i ) { - KCModule *tab = (KCModule*) mTabWidget->page(i); + TDECModule *tab = (TDECModule*) mTabWidget->page(i); if ( tab ) tab->save(); } @@ -59,7 +59,7 @@ void KNConfig::BasePageWithTabs::save() { void KNConfig::BasePageWithTabs::defaults() { for ( int i = 0 ; i < mTabWidget->count() ; ++i ) { - KCModule *tab = (KCModule*) mTabWidget->page(i); + TDECModule *tab = (TDECModule*) mTabWidget->page(i); if ( tab ) tab->defaults(); } @@ -72,7 +72,7 @@ void KNConfig::BasePageWithTabs::defaults() { // extern "C" { - KDE_EXPORT KCModule *create_knode_config_identity( TQWidget *parent, const char * ) + KDE_EXPORT TDECModule *create_knode_config_identity( TQWidget *parent, const char * ) { KNConfig::IdentityWidget *page = new KNConfig::IdentityWidget( knGlobals.configManager()->identity(), @@ -89,7 +89,7 @@ extern "C" // extern "C" { - KCModule *create_knode_config_accounts( TQWidget *parent, const char * ) + TDECModule *create_knode_config_accounts( TQWidget *parent, const char * ) { KNConfig::AccountsPage *page = new KNConfig::AccountsPage( parent, "kcmknode_config_accounts" ); return page; @@ -110,7 +110,7 @@ KNConfig::AccountsPage::AccountsPage(TQWidget *parent, const char *name) // extern "C" { - KCModule *create_knode_config_appearance( TQWidget *parent, const char * ) + TDECModule *create_knode_config_appearance( TQWidget *parent, const char * ) { KNConfig::AppearanceWidget *page = new KNConfig::AppearanceWidget( parent, "kcmknode_config_appearance" ); return page; @@ -124,7 +124,7 @@ extern "C" // extern "C" { - KCModule *create_knode_config_read_news( TQWidget *parent, const char * ) + TDECModule *create_knode_config_read_news( TQWidget *parent, const char * ) { KNConfig::ReadNewsPage *page = new KNConfig::ReadNewsPage( parent, "kcmknode_config_read_news" ); return page; @@ -150,7 +150,7 @@ KNConfig::ReadNewsPage::ReadNewsPage(TQWidget *parent, const char *name) // extern "C" { - KCModule *create_knode_config_post_news( TQWidget *parent, const char * ) + TDECModule *create_knode_config_post_news( TQWidget *parent, const char * ) { KNConfig::PostNewsPage *page = new KNConfig::PostNewsPage( parent, "kcmknode_config_post_news" ); return page; @@ -173,7 +173,7 @@ KNConfig::PostNewsPage::PostNewsPage(TQWidget *parent, const char *name) // extern "C" { - KCModule *create_knode_config_privacy( TQWidget *parent, const char * ) + TDECModule *create_knode_config_privacy( TQWidget *parent, const char * ) { KNConfig::PrivacyWidget *page = new KNConfig::PrivacyWidget( parent, "kcmknode_config_privacy" ); return page; @@ -187,7 +187,7 @@ extern "C" // extern "C" { - KCModule *create_knode_config_cleanup( TQWidget *parent, const char * ) + TDECModule *create_knode_config_cleanup( TQWidget *parent, const char * ) { KNConfig::CleanupWidget *page = new KNConfig::CleanupWidget( parent, "kcmknode_config_cleanup" ); return page; |