summaryrefslogtreecommitdiffstats
path: root/korganizer/koprefsdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koprefsdialog.cpp')
-rw-r--r--korganizer/koprefsdialog.cpp82
1 files changed, 41 insertions, 41 deletions
diff --git a/korganizer/koprefsdialog.cpp b/korganizer/koprefsdialog.cpp
index 35b67fed..6ceadd8f 100644
--- a/korganizer/koprefsdialog.cpp
+++ b/korganizer/koprefsdialog.cpp
@@ -80,8 +80,8 @@
#include <kdepimmacros.h>
-KOPrefsDialogMain::KOPrefsDialogMain( TQWidget *tqparent, const char *name )
- : KPrefsModule( KOPrefs::instance(), tqparent, name )
+KOPrefsDialogMain::KOPrefsDialogMain( TQWidget *parent, const char *name )
+ : KPrefsModule( KOPrefs::instance(), parent, name )
{
TQBoxLayout *topTopLayout = new TQVBoxLayout( this );
@@ -138,9 +138,9 @@ void KOPrefsDialogMain::toggleEmailSettings( bool on )
extern "C"
{
- KDE_EXPORT KCModule *create_korganizerconfigmain( TQWidget *tqparent, const char * )
+ KDE_EXPORT KCModule *create_korganizerconfigmain( TQWidget *parent, const char * )
{
- return new KOPrefsDialogMain( tqparent, "kcmkorganizermain" );
+ return new KOPrefsDialogMain( parent, "kcmkorganizermain" );
}
}
@@ -148,8 +148,8 @@ extern "C"
class KOPrefsDialogTime : public KPrefsModule
{
public:
- KOPrefsDialogTime( TQWidget *tqparent, const char *name )
- : KPrefsModule( KOPrefs::instance(), tqparent, name )
+ KOPrefsDialogTime( TQWidget *parent, const char *name )
+ : KPrefsModule( KOPrefs::instance(), parent, name )
{
TQBoxLayout *topTopLayout = new TQVBoxLayout( this );
@@ -442,11 +442,11 @@ class KOPrefsDialogTime : public KPrefsModule
KOPrefs::instance()->mReminderTime = mReminderTimeSpin->value();
KOPrefs::instance()->mReminderTimeUnits = mReminderUnitsCombo->currentItem();
- int tqmask = 0;
+ int mask = 0;
for ( int i = 0; i < 7; ++i ) {
- if (mWorkDays[i]->isChecked()) tqmask = tqmask | (1<<i);
+ if (mWorkDays[i]->isChecked()) mask = mask | (1<<i);
}
- KOPrefs::instance()->mWorkWeekMask = tqmask;
+ KOPrefs::instance()->mWorkWeekMask = mask;
KOPrefs::instance()->writeConfig();
}
@@ -479,10 +479,10 @@ class KOPrefsDialogTime : public KPrefsModule
extern "C"
{
- KCModule *create_korganizerconfigtime( TQWidget *tqparent, const char * )
+ KCModule *create_korganizerconfigtime( TQWidget *parent, const char * )
{
KGlobal::locale()->insertCatalogue( "timezones" );
- return new KOPrefsDialogTime( tqparent, "kcmkorganizertime" );
+ return new KOPrefsDialogTime( parent, "kcmkorganizertime" );
}
}
@@ -490,8 +490,8 @@ extern "C"
class KOPrefsDialogViews : public KPrefsModule
{
public:
- KOPrefsDialogViews( TQWidget *tqparent, const char *name )
- : KPrefsModule( KOPrefs::instance(), tqparent, name )
+ KOPrefsDialogViews( TQWidget *parent, const char *name )
+ : KPrefsModule( KOPrefs::instance(), parent, name )
{
TQBoxLayout *topTopLayout = new TQVBoxLayout( this );
@@ -579,9 +579,9 @@ class KOPrefsDialogViews : public KPrefsModule
extern "C"
{
- KCModule *create_korganizerconfigviews( TQWidget *tqparent, const char * )
+ KCModule *create_korganizerconfigviews( TQWidget *parent, const char * )
{
- return new KOPrefsDialogViews( tqparent, "kcmkorganizerviews" );
+ return new KOPrefsDialogViews( parent, "kcmkorganizerviews" );
}
}
@@ -589,8 +589,8 @@ extern "C"
class KOPrefsDialogFonts : public KPrefsModule
{
public:
- KOPrefsDialogFonts( TQWidget *tqparent, const char *name )
- : KPrefsModule( KOPrefs::instance(), tqparent, name )
+ KOPrefsDialogFonts( TQWidget *parent, const char *name )
+ : KPrefsModule( KOPrefs::instance(), parent, name )
{
TQBoxLayout *topTopLayout = new TQVBoxLayout( this );
@@ -639,15 +639,15 @@ class KOPrefsDialogFonts : public KPrefsModule
extern "C"
{
- KCModule *create_korganizerconfigfonts( TQWidget *tqparent, const char * )
+ KCModule *create_korganizerconfigfonts( TQWidget *parent, const char * )
{
- return new KOPrefsDialogFonts( tqparent, "kcmkorganizerfonts" );
+ return new KOPrefsDialogFonts( parent, "kcmkorganizerfonts" );
}
}
-KOPrefsDialogColors::KOPrefsDialogColors( TQWidget *tqparent, const char *name )
- : KPrefsModule( KOPrefs::instance(), tqparent, name )
+KOPrefsDialogColors::KOPrefsDialogColors( TQWidget *parent, const char *name )
+ : KPrefsModule( KOPrefs::instance(), parent, name )
{
TQBoxLayout *topTopLayout = new TQVBoxLayout( this );
@@ -842,15 +842,15 @@ void KOPrefsDialogColors::updateResourceColor()
}
extern "C"
{
- KCModule *create_korganizerconfigcolors( TQWidget *tqparent, const char * )
+ KCModule *create_korganizerconfigcolors( TQWidget *parent, const char * )
{
- return new KOPrefsDialogColors( tqparent, "kcmkorganizercolors" );
+ return new KOPrefsDialogColors( parent, "kcmkorganizercolors" );
}
}
-KOPrefsDialogGroupScheduling::KOPrefsDialogGroupScheduling( TQWidget *tqparent, const char *name )
- : KPrefsModule( KOPrefs::instance(), tqparent, name )
+KOPrefsDialogGroupScheduling::KOPrefsDialogGroupScheduling( TQWidget *parent, const char *name )
+ : KPrefsModule( KOPrefs::instance(), parent, name )
{
TQBoxLayout *topTopLayout = new TQVBoxLayout( this );
@@ -1005,17 +1005,17 @@ void KOPrefsDialogGroupScheduling::updateInput()
extern "C"
{
- KCModule *create_korganizerconfiggroupscheduling( TQWidget *tqparent,
+ KCModule *create_korganizerconfiggroupscheduling( TQWidget *parent,
const char * )
{
- return new KOPrefsDialogGroupScheduling( tqparent,
+ return new KOPrefsDialogGroupScheduling( parent,
"kcmkorganizergroupscheduling" );
}
}
-KOPrefsDialogGroupwareScheduling::KOPrefsDialogGroupwareScheduling( TQWidget *tqparent, const char *name )
- : KPrefsModule( KOPrefs::instance(), tqparent, name )
+KOPrefsDialogGroupwareScheduling::KOPrefsDialogGroupwareScheduling( TQWidget *parent, const char *name )
+ : KPrefsModule( KOPrefs::instance(), parent, name )
{
mGroupwarePage = new KOGroupwarePrefsPage( this );
connect( mGroupwarePage, TQT_SIGNAL( changed() ), TQT_SLOT( slotWidChanged() ) );
@@ -1069,9 +1069,9 @@ void KOPrefsDialogGroupwareScheduling::usrWriteConfig()
extern "C"
{
- KCModule *create_korganizerconfigfreebusy( TQWidget *tqparent, const char * )
+ KCModule *create_korganizerconfigfreebusy( TQWidget *parent, const char * )
{
- return new KOPrefsDialogGroupwareScheduling( tqparent,
+ return new KOPrefsDialogGroupwareScheduling( parent,
"kcmkorganizerfreebusy" );
}
}
@@ -1080,8 +1080,8 @@ extern "C"
class PluginItem : public TQCheckListItem {
public:
- PluginItem( TQListView *tqparent, KService::Ptr service ) :
- TQCheckListItem( tqparent, service->name(), TQCheckListItem::CheckBox ), mService( service )
+ PluginItem( TQListView *parent, KService::Ptr service ) :
+ TQCheckListItem( parent, service->name(), TQCheckListItem::CheckBox ), mService( service )
{}
KService::Ptr service() { return mService; }
private:
@@ -1092,8 +1092,8 @@ class PluginItem : public TQCheckListItem {
/**
Dialog for selecting and configuring KOrganizer plugins
*/
-KOPrefsDialogPlugins::KOPrefsDialogPlugins( TQWidget *tqparent, const char* name )
- : KPrefsModule( KOPrefs::instance(), tqparent, name )
+KOPrefsDialogPlugins::KOPrefsDialogPlugins( TQWidget *parent, const char* name )
+ : KPrefsModule( KOPrefs::instance(), parent, name )
{
TQBoxLayout *topTopLayout = new TQVBoxLayout( this );
@@ -1210,9 +1210,9 @@ void KOPrefsDialogPlugins::selectionChanged( TQListViewItem *i )
extern "C"
{
- KCModule *create_korganizerconfigplugins( TQWidget *tqparent, const char * )
+ KCModule *create_korganizerconfigplugins( TQWidget *parent, const char * )
{
- return new KOPrefsDialogPlugins( tqparent,
+ return new KOPrefsDialogPlugins( parent,
"kcmkorganizerplugins" );
}
}
@@ -1220,13 +1220,13 @@ extern "C"
extern "C"
{
- KCModule *create_korgdesignerfields( TQWidget *tqparent, const char * ) {
- return new KOPrefsDesignerFields( tqparent, "kcmkorgdesignerfields" );
+ KCModule *create_korgdesignerfields( TQWidget *parent, const char * ) {
+ return new KOPrefsDesignerFields( parent, "kcmkorgdesignerfields" );
}
}
-KOPrefsDesignerFields::KOPrefsDesignerFields( TQWidget *tqparent, const char *name )
- : KCMDesignerFields( tqparent, name )
+KOPrefsDesignerFields::KOPrefsDesignerFields( TQWidget *parent, const char *name )
+ : KCMDesignerFields( parent, name )
{
}