summaryrefslogtreecommitdiffstats
path: root/knode/knconfigpages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knconfigpages.cpp')
-rw-r--r--knode/knconfigpages.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/knode/knconfigpages.cpp b/knode/knconfigpages.cpp
index c7d0c0758..030838acb 100644
--- a/knode/knconfigpages.cpp
+++ b/knode/knconfigpages.cpp
@@ -11,7 +11,7 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
*/
-#include <qlayout.h>
+#include <tqlayout.h>
#include <kcmodule.h>
#include <kdebug.h>
@@ -28,17 +28,17 @@
//
// common config page with tabs (code mostly taken from kmail)
//
-KNConfig::BasePageWithTabs::BasePageWithTabs( QWidget * parent, const char * name )
+KNConfig::BasePageWithTabs::BasePageWithTabs( TQWidget * parent, const char * name )
: KCModule( parent, name )
{
- QVBoxLayout *vlay = new QVBoxLayout( this, 0, KDialog::spacingHint() );
- mTabWidget = new QTabWidget( this );
+ TQVBoxLayout *vlay = new TQVBoxLayout( this, 0, KDialog::spacingHint() );
+ mTabWidget = new TQTabWidget( this );
vlay->addWidget( mTabWidget );
}
-void KNConfig::BasePageWithTabs::addTab( KCModule* tab, const QString & title ) {
+void KNConfig::BasePageWithTabs::addTab( KCModule* tab, const TQString & title ) {
mTabWidget->addTab( tab, title );
- connect( tab, SIGNAL(changed( bool )), this, SIGNAL(changed( bool )) );
+ connect( tab, TQT_SIGNAL(changed( bool )), this, TQT_SIGNAL(changed( bool )) );
}
void KNConfig::BasePageWithTabs::load() {
@@ -72,7 +72,7 @@ void KNConfig::BasePageWithTabs::defaults() {
//
extern "C"
{
- KDE_EXPORT KCModule *create_knode_config_identity( QWidget *parent, const char * )
+ KDE_EXPORT KCModule *create_knode_config_identity( TQWidget *parent, const char * )
{
KNConfig::IdentityWidget *page = new KNConfig::IdentityWidget(
knGlobals.configManager()->identity(),
@@ -89,14 +89,14 @@ extern "C"
//
extern "C"
{
- KCModule *create_knode_config_accounts( QWidget *parent, const char * )
+ KCModule *create_knode_config_accounts( TQWidget *parent, const char * )
{
KNConfig::AccountsPage *page = new KNConfig::AccountsPage( parent, "kcmknode_config_accounts" );
return page;
}
}
-KNConfig::AccountsPage::AccountsPage(QWidget *parent, const char *name)
+KNConfig::AccountsPage::AccountsPage(TQWidget *parent, const char *name)
: BasePageWithTabs(parent, name) {
addTab(new KNConfig::NntpAccountListWidget(this), i18n("Newsgroup Servers"));
@@ -110,7 +110,7 @@ KNConfig::AccountsPage::AccountsPage(QWidget *parent, const char *name)
//
extern "C"
{
- KCModule *create_knode_config_appearance( QWidget *parent, const char * )
+ KCModule *create_knode_config_appearance( TQWidget *parent, const char * )
{
KNConfig::AppearanceWidget *page = new KNConfig::AppearanceWidget( parent, "kcmknode_config_appearance" );
return page;
@@ -124,14 +124,14 @@ extern "C"
//
extern "C"
{
- KCModule *create_knode_config_read_news( QWidget *parent, const char * )
+ KCModule *create_knode_config_read_news( TQWidget *parent, const char * )
{
KNConfig::ReadNewsPage *page = new KNConfig::ReadNewsPage( parent, "kcmknode_config_read_news" );
return page;
}
}
-KNConfig::ReadNewsPage::ReadNewsPage(QWidget *parent, const char *name)
+KNConfig::ReadNewsPage::ReadNewsPage(TQWidget *parent, const char *name)
: BasePageWithTabs(parent, name) {
KNConfigManager *cfgMgr = knGlobals.configManager();
@@ -150,14 +150,14 @@ KNConfig::ReadNewsPage::ReadNewsPage(QWidget *parent, const char *name)
//
extern "C"
{
- KCModule *create_knode_config_post_news( QWidget *parent, const char * )
+ KCModule *create_knode_config_post_news( TQWidget *parent, const char * )
{
KNConfig::PostNewsPage *page = new KNConfig::PostNewsPage( parent, "kcmknode_config_post_news" );
return page;
}
}
-KNConfig::PostNewsPage::PostNewsPage(QWidget *parent, const char *name)
+KNConfig::PostNewsPage::PostNewsPage(TQWidget *parent, const char *name)
: BasePageWithTabs(parent, name) {
KNConfigManager *cfgMgr = knGlobals.configManager();
@@ -173,7 +173,7 @@ KNConfig::PostNewsPage::PostNewsPage(QWidget *parent, const char *name)
//
extern "C"
{
- KCModule *create_knode_config_privacy( QWidget *parent, const char * )
+ KCModule *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( QWidget *parent, const char * )
+ KCModule *create_knode_config_cleanup( TQWidget *parent, const char * )
{
KNConfig::CleanupWidget *page = new KNConfig::CleanupWidget( parent, "kcmknode_config_cleanup" );
return page;