summaryrefslogtreecommitdiffstats
path: root/korganizer
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer')
-rw-r--r--korganizer/actionmanager.cpp6
-rw-r--r--korganizer/actionmanager.h4
-rw-r--r--korganizer/agendaview.cpp4
-rw-r--r--korganizer/agendaview.h2
-rw-r--r--korganizer/archivedialog.cpp4
-rw-r--r--korganizer/archivedialog.h2
-rw-r--r--korganizer/calendarview.cpp18
-rw-r--r--korganizer/calendarview.h16
-rw-r--r--korganizer/customlistviewitem.h8
-rw-r--r--korganizer/datechecker.cpp4
-rw-r--r--korganizer/datechecker.h2
-rw-r--r--korganizer/datenavigator.cpp8
-rw-r--r--korganizer/datenavigator.h2
-rw-r--r--korganizer/datenavigatorcontainer.cpp4
-rw-r--r--korganizer/datenavigatorcontainer.h2
-rw-r--r--korganizer/eventarchiver.cpp4
-rw-r--r--korganizer/eventarchiver.h6
-rw-r--r--korganizer/exportwebdialog.cpp4
-rw-r--r--korganizer/exportwebdialog.h2
-rw-r--r--korganizer/filtereditdialog.cpp8
-rw-r--r--korganizer/filtereditdialog.h4
-rw-r--r--korganizer/freebusymanager.cpp4
-rw-r--r--korganizer/freebusymanager.h2
-rw-r--r--korganizer/freebusyurldialog.cpp8
-rw-r--r--korganizer/freebusyurldialog.h4
-rw-r--r--korganizer/importdialog.cpp4
-rw-r--r--korganizer/importdialog.h2
-rw-r--r--korganizer/incidencechanger.cpp46
-rw-r--r--korganizer/incidencechanger.h20
-rw-r--r--korganizer/interfaces/korganizer/baseview.h6
-rw-r--r--korganizer/interfaces/korganizer/calendarviewbase.h4
-rw-r--r--korganizer/interfaces/korganizer/incidencechangerbase.h20
-rw-r--r--korganizer/interfaces/korganizer/part.h6
-rw-r--r--korganizer/journalentry.cpp14
-rw-r--r--korganizer/journalentry.h4
-rw-r--r--korganizer/kdatenavigator.cpp4
-rw-r--r--korganizer/kdatenavigator.h2
-rw-r--r--korganizer/koagenda.cpp14
-rw-r--r--korganizer/koagenda.h4
-rw-r--r--korganizer/koagendaitem.cpp4
-rw-r--r--korganizer/koagendaitem.h2
-rw-r--r--korganizer/koagendaview.cpp14
-rw-r--r--korganizer/koagendaview.h6
-rw-r--r--korganizer/koattendeeeditor.cpp28
-rw-r--r--korganizer/koattendeeeditor.h6
-rw-r--r--korganizer/kocore.cpp34
-rw-r--r--korganizer/kocore.h10
-rw-r--r--korganizer/kocounterdialog.cpp4
-rw-r--r--korganizer/kocounterdialog.h2
-rw-r--r--korganizer/kodaymatrix.cpp10
-rw-r--r--korganizer/kodaymatrix.h12
-rw-r--r--korganizer/kodialogmanager.cpp6
-rw-r--r--korganizer/kodialogmanager.h2
-rw-r--r--korganizer/koeditoralarms.cpp10
-rw-r--r--korganizer/koeditoralarms.h2
-rw-r--r--korganizer/koeditorattachments.cpp18
-rw-r--r--korganizer/koeditorattachments.h6
-rw-r--r--korganizer/koeditordetails.cpp8
-rw-r--r--korganizer/koeditordetails.h4
-rw-r--r--korganizer/koeditorfreebusy.cpp8
-rw-r--r--korganizer/koeditorfreebusy.h2
-rw-r--r--korganizer/koeditorgeneral.cpp52
-rw-r--r--korganizer/koeditorgeneral.h6
-rw-r--r--korganizer/koeditorgeneralevent.cpp18
-rw-r--r--korganizer/koeditorgeneralevent.h4
-rw-r--r--korganizer/koeditorgeneraljournal.cpp24
-rw-r--r--korganizer/koeditorgeneraljournal.h4
-rw-r--r--korganizer/koeditorgeneraltodo.cpp34
-rw-r--r--korganizer/koeditorgeneraltodo.h2
-rw-r--r--korganizer/koeditorrecurrence.cpp66
-rw-r--r--korganizer/koeditorrecurrence.h32
-rw-r--r--korganizer/koeventeditor.cpp6
-rw-r--r--korganizer/koeventeditor.h2
-rw-r--r--korganizer/koeventview.cpp4
-rw-r--r--korganizer/koeventview.h4
-rw-r--r--korganizer/koeventviewer.cpp4
-rw-r--r--korganizer/koeventviewer.h2
-rw-r--r--korganizer/koeventviewerdialog.cpp4
-rw-r--r--korganizer/koeventviewerdialog.h2
-rw-r--r--korganizer/koglobals.cpp4
-rw-r--r--korganizer/kogroupware.cpp12
-rw-r--r--korganizer/kogroupware.h2
-rw-r--r--korganizer/koidentitymanager.h4
-rw-r--r--korganizer/koincidenceeditor.cpp4
-rw-r--r--korganizer/koincidenceeditor.h2
-rw-r--r--korganizer/kojournaleditor.cpp4
-rw-r--r--korganizer/kojournaleditor.h2
-rw-r--r--korganizer/kojournalview.cpp4
-rw-r--r--korganizer/kojournalview.h2
-rw-r--r--korganizer/kolistview.cpp8
-rw-r--r--korganizer/kolistview.h4
-rw-r--r--korganizer/komessagebox.cpp4
-rw-r--r--korganizer/komessagebox.h2
-rw-r--r--korganizer/komonthview.cpp18
-rw-r--r--korganizer/komonthview.h8
-rw-r--r--korganizer/koprefsdialog.cpp82
-rw-r--r--korganizer/koprefsdialog.h12
-rw-r--r--korganizer/korgac/alarmdialog.cpp8
-rw-r--r--korganizer/korgac/alarmdialog.h2
-rw-r--r--korganizer/korgac/koalarmclient.cpp10
-rw-r--r--korganizer/korgac/koalarmclient.h2
-rw-r--r--korganizer/korganizer_part.cpp4
-rw-r--r--korganizer/korganizer_part.h2
-rw-r--r--korganizer/korganizerifaceimpl.cpp4
-rw-r--r--korganizer/korganizerifaceimpl.h2
-rw-r--r--korganizer/kotimelineview.cpp8
-rw-r--r--korganizer/kotimelineview.h2
-rw-r--r--korganizer/kotodoeditor.cpp8
-rw-r--r--korganizer/kotodoeditor.h2
-rw-r--r--korganizer/kotodoview.cpp26
-rw-r--r--korganizer/kotodoview.h6
-rw-r--r--korganizer/kotodoviewitem.cpp16
-rw-r--r--korganizer/kotodoviewitem.h6
-rw-r--r--korganizer/koviewmanager.cpp8
-rw-r--r--korganizer/kowhatsnextview.cpp4
-rw-r--r--korganizer/kowhatsnextview.h4
-rw-r--r--korganizer/multiagendaview.cpp10
-rw-r--r--korganizer/multiagendaview.h2
-rw-r--r--korganizer/navigatorbar.cpp8
-rw-r--r--korganizer/navigatorbar.h4
-rw-r--r--korganizer/plugins/datenums/configdialog.cpp4
-rw-r--r--korganizer/plugins/datenums/configdialog.h2
-rw-r--r--korganizer/plugins/datenums/datenums.cpp4
-rw-r--r--korganizer/plugins/datenums/datenums.h2
-rw-r--r--korganizer/plugins/exchange/exchange.cpp10
-rw-r--r--korganizer/plugins/exchange/exchangeconfig.cpp4
-rw-r--r--korganizer/plugins/exchange/exchangeconfig.h2
-rw-r--r--korganizer/plugins/exchange/exchangedialog.cpp4
-rw-r--r--korganizer/plugins/exchange/exchangedialog.h2
-rw-r--r--korganizer/plugins/hebrew/configdialog.cpp4
-rw-r--r--korganizer/plugins/hebrew/configdialog.h2
-rw-r--r--korganizer/plugins/hebrew/hebrew.cpp4
-rw-r--r--korganizer/plugins/hebrew/hebrew.h2
-rw-r--r--korganizer/plugins/projectview/koprojectview.cpp10
-rw-r--r--korganizer/plugins/projectview/koprojectview.h2
-rw-r--r--korganizer/plugins/projectview/projectview.cpp8
-rw-r--r--korganizer/plugins/timespanview/kotimespanview.cpp4
-rw-r--r--korganizer/plugins/timespanview/kotimespanview.h2
-rw-r--r--korganizer/plugins/timespanview/lineview.cpp4
-rw-r--r--korganizer/plugins/timespanview/lineview.h2
-rw-r--r--korganizer/plugins/timespanview/timeline.cpp4
-rw-r--r--korganizer/plugins/timespanview/timeline.h2
-rw-r--r--korganizer/plugins/timespanview/timespanview.cpp8
-rw-r--r--korganizer/plugins/timespanview/timespanwidget.cpp4
-rw-r--r--korganizer/plugins/timespanview/timespanwidget.h2
-rw-r--r--korganizer/previewdialog.cpp4
-rw-r--r--korganizer/previewdialog.h2
-rw-r--r--korganizer/printing/calprinter.cpp10
-rw-r--r--korganizer/printing/calprinter.h4
-rw-r--r--korganizer/printing/calprintpluginbase.cpp8
-rw-r--r--korganizer/printing/calprintpluginbase.h4
-rw-r--r--korganizer/printing/calprinttodoconfig_base.ui2
-rw-r--r--korganizer/publishdialog.cpp4
-rw-r--r--korganizer/publishdialog.h2
-rw-r--r--korganizer/resourceview.cpp16
-rw-r--r--korganizer/resourceview.h6
-rw-r--r--korganizer/searchdialog.cpp4
-rw-r--r--korganizer/searchdialog.h2
-rw-r--r--korganizer/statusdialog.cpp4
-rw-r--r--korganizer/statusdialog.h2
-rw-r--r--korganizer/templatemanagementdialog.cpp4
-rw-r--r--korganizer/templatemanagementdialog.h2
-rw-r--r--korganizer/timelabels.cpp4
-rw-r--r--korganizer/timelabels.h2
-rw-r--r--korganizer/timelineitem.cpp8
-rw-r--r--korganizer/timelineitem.h4
-rw-r--r--korganizer/urihandler.cpp4
-rw-r--r--korganizer/urihandler.h2
168 files changed, 639 insertions, 639 deletions
diff --git a/korganizer/actionmanager.cpp b/korganizer/actionmanager.cpp
index cbb4e42f..c8eefde5 100644
--- a/korganizer/actionmanager.cpp
+++ b/korganizer/actionmanager.cpp
@@ -81,9 +81,9 @@
KOWindowList *ActionManager::mWindowList = 0;
ActionManager::ActionManager( KXMLGUIClient *client, CalendarView *widget,
- TQObject *tqparent, KOrg::MainWindow *mainWindow,
+ TQObject *parent, KOrg::MainWindow *mainWindow,
bool isPart )
- : TQObject( tqparent ), KCalendarIface(), mRecent( 0 ),
+ : TQObject( parent ), KCalendarIface(), mRecent( 0 ),
mResourceButtonsAction( 0 ), mResourceViewShowAction( 0 ), mCalendar( 0 ),
mCalendarResources( 0 ), mResourceView( 0 ), mIsClosing( false )
{
@@ -130,7 +130,7 @@ void ActionManager::init()
TQTimer::singleShot( 0, TQT_TQOBJECT(this), TQT_SLOT( showTipOnStart() ) );
}
// Note: We need this ActionManager to be fully constructed, and
- // tqparent() to have a valid reference to it before the following
+ // parent() to have a valid reference to it before the following
// addWindow is called.
mWindowList->addWindow( mMainWindow );
diff --git a/korganizer/actionmanager.h b/korganizer/actionmanager.h
index 0a53255f..6ee1727f 100644
--- a/korganizer/actionmanager.h
+++ b/korganizer/actionmanager.h
@@ -76,7 +76,7 @@ class KDE_EXPORT ActionManager : public TQObject, public KCalendarIface
TQ_OBJECT
public:
ActionManager( KXMLGUIClient *client, CalendarView *widget,
- TQObject *tqparent, KOrg::MainWindow *mainWindow,
+ TQObject *parent, KOrg::MainWindow *mainWindow,
bool isPart );
virtual ~ActionManager();
@@ -357,7 +357,7 @@ class KDE_EXPORT ActionManager : public TQObject, public KCalendarIface
void initCalendar( Calendar *cal );
/**
- Return widget used as tqparent for dialogs and message boxes.
+ Return widget used as parent for dialogs and message boxes.
*/
TQWidget *dialogParent();
diff --git a/korganizer/agendaview.cpp b/korganizer/agendaview.cpp
index f2d7f987..df141789 100644
--- a/korganizer/agendaview.cpp
+++ b/korganizer/agendaview.cpp
@@ -22,8 +22,8 @@
using namespace KOrg;
-AgendaView::AgendaView(Calendar * cal, TQWidget * tqparent, const char * name) :
- KOEventView( cal, tqparent, name )
+AgendaView::AgendaView(Calendar * cal, TQWidget * parent, const char * name) :
+ KOEventView( cal, parent, name )
{
KCal::CalendarResources *calres = dynamic_cast<KCal::CalendarResources*>( cal );
if ( calres ) {
diff --git a/korganizer/agendaview.h b/korganizer/agendaview.h
index 83ef5e6a..1ed1937a 100644
--- a/korganizer/agendaview.h
+++ b/korganizer/agendaview.h
@@ -29,7 +29,7 @@ class AgendaView : public KOEventView
Q_OBJECT
TQ_OBJECT
public:
- AgendaView( Calendar *cal,TQWidget *tqparent=0,const char *name=0 );
+ AgendaView( Calendar *cal,TQWidget *parent=0,const char *name=0 );
virtual void setTypeAheadReceiver( TQObject * ) = 0;
diff --git a/korganizer/archivedialog.cpp b/korganizer/archivedialog.cpp
index f9676161..72898d95 100644
--- a/korganizer/archivedialog.cpp
+++ b/korganizer/archivedialog.cpp
@@ -51,9 +51,9 @@
#include <tqradiobutton.h>
#include "archivedialog.moc"
-ArchiveDialog::ArchiveDialog(Calendar *cal,TQWidget *tqparent, const char *name)
+ArchiveDialog::ArchiveDialog(Calendar *cal,TQWidget *parent, const char *name)
: KDialogBase (Plain,i18n("Archive/Delete Past Events and To-dos"),
- User1|Cancel,User1,tqparent,name,false,true,
+ User1|Cancel,User1,parent,name,false,true,
i18n("&Archive"))
{
mCalendar = cal;
diff --git a/korganizer/archivedialog.h b/korganizer/archivedialog.h
index c6319409..897123b0 100644
--- a/korganizer/archivedialog.h
+++ b/korganizer/archivedialog.h
@@ -43,7 +43,7 @@ class ArchiveDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- ArchiveDialog(Calendar *calendar,TQWidget *tqparent=0, const char *name=0);
+ ArchiveDialog(Calendar *calendar,TQWidget *parent=0, const char *name=0);
virtual ~ArchiveDialog();
signals:
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index e5203ae1..5b6d9492 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -112,8 +112,8 @@
using namespace KOrg;
-CalendarView::CalendarView( TQWidget *tqparent, const char *name )
- : CalendarViewBase( tqparent, name ),
+CalendarView::CalendarView( TQWidget *parent, const char *name )
+ : CalendarViewBase( parent, name ),
mHistory( 0 ),
mCalendar( CalendarNull::self() ),
mChanger( 0 )
@@ -456,13 +456,13 @@ bool CalendarView::openCalendar(const TQString& filename, bool merge)
i18n( "No calendars found, unable to merge the file into your calendar." ) );
return false;
}
- // FIXME: This is a nasty hack, since we need to set a tqparent for the
+ // FIXME: This is a nasty hack, since we need to set a parent for the
// resource selection dialog. However, we don't have any UI methods
// in the calendar, only in the CalendarResources::DestinationPolicy
// So we need to type-cast it and extract it from the CalendarResources
- TQWidget *tmptqparent = 0;
+ TQWidget *tmpparent = 0;
if ( cl ) {
- tmptqparent = cl->dialogParentWidget();
+ tmpparent = cl->dialogParentWidget();
cl->setDialogParentWidget( this );
}
@@ -2216,13 +2216,13 @@ bool CalendarView::editIncidence( Incidence *incidence, const TQDate &date, bool
return false;
}
- // FIXME: This is a nasty hack, since we need to set a tqparent for the
+ // FIXME: This is a nasty hack, since we need to set a parent for the
// resource selection dialog. However, we don't have any UI methods
// in the calendar, only in the CalendarResources::DestinationPolicy
// So we need to type-cast it and extract it from the CalendarResources
- TQWidget *tmptqparent = 0;
+ TQWidget *tmpparent = 0;
if ( stdcal ) {
- tmptqparent = stdcal->dialogParentWidget();
+ tmpparent = stdcal->dialogParentWidget();
stdcal->setDialogParentWidget( this );
}
@@ -2343,7 +2343,7 @@ void CalendarView::deleteTodoIncidence ( Todo *todo, bool force )
// Delete only the father
if( km == KMessageBox::Yes ) {
// Instead of making a subto-do independent, why not relate
- // it to it's dead father's tqparent?
+ // it to it's dead father's parent?
makeChildrenIndependent ( todo );
mChanger->deleteIncidence( todo, this );
} else if ( km == KMessageBox::No ) {
diff --git a/korganizer/calendarview.h b/korganizer/calendarview.h
index 2c5aeec5..9a180bb0 100644
--- a/korganizer/calendarview.h
+++ b/korganizer/calendarview.h
@@ -59,13 +59,13 @@ using namespace KCal;
class CalendarViewExtension : public TQWidget
{
public:
- CalendarViewExtension( TQWidget *tqparent, const char *name = 0 )
- : TQWidget( tqparent, name ) {}
+ CalendarViewExtension( TQWidget *parent, const char *name = 0 )
+ : TQWidget( parent, name ) {}
class Factory
{
public:
- virtual CalendarViewExtension *create( TQWidget *tqparent ) = 0;
+ virtual CalendarViewExtension *create( TQWidget *parent ) = 0;
};
};
@@ -86,10 +86,10 @@ class KDE_EXPORT CalendarView : public KOrg::CalendarViewBase, public Calendar::
/**
Constructs a new calendar view widget.
- @param tqparent tqparent window
+ @param parent parent window
@param name TQt internal widget object name
*/
- CalendarView( TQWidget *tqparent = 0, const char *name = 0 );
+ CalendarView( TQWidget *parent = 0, const char *name = 0 );
virtual ~CalendarView();
class CalendarViewVisitor : public IncidenceBase::Visitor
@@ -346,9 +346,9 @@ class KDE_EXPORT CalendarView : public KOrg::CalendarViewBase, public Calendar::
/** create new todo, due on date */
void newTodo( ResourceCalendar *res, const TQString &subRes,
const TQDate &date );
- /** create new todo with a tqparent todo */
+ /** create new todo with a parent todo */
void newSubTodo();
- /** create new todo with a tqparent todo */
+ /** create new todo with a parent todo */
void newSubTodo( Todo * );
void newTodo( ResourceCalendar *res, const TQString &subRes,
@@ -658,7 +658,7 @@ class KDE_EXPORT CalendarView : public KOrg::CalendarViewBase, public Calendar::
// uncompleted subitems), notAllPurged is set to true.
bool purgeCompletedSubTodos( Todo* todo, bool &notAllPurged );
- /** Returns all incidences having inc has their tqparent (or grand tqparent, etc.)
+ /** Returns all incidences having inc has their parent (or grand parent, etc.)
inc is included in the list too.
*/
void getIncidenceHierarchy( Incidence *inc, Incidence::List &incidences );
diff --git a/korganizer/customlistviewitem.h b/korganizer/customlistviewitem.h
index ecf09812..0a8aa7fe 100644
--- a/korganizer/customlistviewitem.h
+++ b/korganizer/customlistviewitem.h
@@ -32,10 +32,10 @@ template<class T>
class CustomListViewItem : public KListViewItem
{
public:
- CustomListViewItem( T data, KListView *tqparent ) :
- KListViewItem( tqparent ), mData( data ) { updateItem(); };
- CustomListViewItem( T data, KListView *tqparent, KListViewItem* after ) :
- KListViewItem( tqparent, after ), mData( data ) { updateItem(); };
+ CustomListViewItem( T data, KListView *parent ) :
+ KListViewItem( parent ), mData( data ) { updateItem(); };
+ CustomListViewItem( T data, KListView *parent, KListViewItem* after ) :
+ KListViewItem( parent, after ), mData( data ) { updateItem(); };
~CustomListViewItem() {};
void updateItem() {};
diff --git a/korganizer/datechecker.cpp b/korganizer/datechecker.cpp
index 0862a860..c311743e 100644
--- a/korganizer/datechecker.cpp
+++ b/korganizer/datechecker.cpp
@@ -31,8 +31,8 @@
#include "datechecker.h"
-DateChecker::DateChecker( TQObject *tqparent, const char *name )
- : TQObject( tqparent, name ), mUpdateTimer( 0 )
+DateChecker::DateChecker( TQObject *parent, const char *name )
+ : TQObject( parent, name ), mUpdateTimer( 0 )
{
enableRollover( FollowMonth );
}
diff --git a/korganizer/datechecker.h b/korganizer/datechecker.h
index dc70d01c..67ada073 100644
--- a/korganizer/datechecker.h
+++ b/korganizer/datechecker.h
@@ -39,7 +39,7 @@ class DateChecker: public TQObject
Q_OBJECT
TQ_OBJECT
public:
- DateChecker( TQObject *tqparent = 0, const char *name = 0 );
+ DateChecker( TQObject *parent = 0, const char *name = 0 );
~DateChecker();
/**
diff --git a/korganizer/datenavigator.cpp b/korganizer/datenavigator.cpp
index 4baaf9b8..a792b841 100644
--- a/korganizer/datenavigator.cpp
+++ b/korganizer/datenavigator.cpp
@@ -34,8 +34,8 @@
using namespace KCal;
-DateNavigator::DateNavigator( TQObject *tqparent, const char *name )
- : TQObject( tqparent, name )
+DateNavigator::DateNavigator( TQObject *parent, const char *name )
+ : TQObject( parent, name )
{
mSelectedDates.append( TQDate::tqcurrentDate() );
}
@@ -150,10 +150,10 @@ void DateNavigator::selectWorkWeek( const TQDate &d )
}
mSelectedDates.clear();
- int tqmask = KOGlobals::self()->getWorkWeekMask();
+ int mask = KOGlobals::self()->getWorkWeekMask();
for ( int i = 0; i < 7; ++i ) {
- if( (1<< ((i + weekStart + 6) % 7)) & (tqmask) ) {
+ if( (1<< ((i + weekStart + 6) % 7)) & (mask) ) {
mSelectedDates.append( tqcurrentDate.addDays(i) );
}
}
diff --git a/korganizer/datenavigator.h b/korganizer/datenavigator.h
index d2a28bb6..2f827a27 100644
--- a/korganizer/datenavigator.h
+++ b/korganizer/datenavigator.h
@@ -38,7 +38,7 @@ class DateNavigator : public TQObject
Q_OBJECT
TQ_OBJECT
public:
- DateNavigator( TQObject *tqparent = 0, const char *name = 0 );
+ DateNavigator( TQObject *parent = 0, const char *name = 0 );
~DateNavigator();
KCal::DateList selectedDates();
diff --git a/korganizer/datenavigatorcontainer.cpp b/korganizer/datenavigatorcontainer.cpp
index 055111ac..5504e8f6 100644
--- a/korganizer/datenavigatorcontainer.cpp
+++ b/korganizer/datenavigatorcontainer.cpp
@@ -39,9 +39,9 @@
#include <tqwhatsthis.h>
#include <tqtimer.h>
-DateNavigatorContainer::DateNavigatorContainer( TQWidget *tqparent,
+DateNavigatorContainer::DateNavigatorContainer( TQWidget *parent,
const char *name )
- : TQFrame( tqparent, name ), mCalendar( 0 ),
+ : TQFrame( parent, name ), mCalendar( 0 ),
mHorizontalCount( 1 ), mVerticalCount( 1 )
{
mExtraViews.setAutoDelete( true );
diff --git a/korganizer/datenavigatorcontainer.h b/korganizer/datenavigatorcontainer.h
index f61a1d36..ae8f22a2 100644
--- a/korganizer/datenavigatorcontainer.h
+++ b/korganizer/datenavigatorcontainer.h
@@ -34,7 +34,7 @@ class DateNavigatorContainer: public TQFrame
Q_OBJECT
TQ_OBJECT
public:
- DateNavigatorContainer( TQWidget *tqparent = 0, const char *name = 0 );
+ DateNavigatorContainer( TQWidget *parent = 0, const char *name = 0 );
~DateNavigatorContainer();
/**
diff --git a/korganizer/eventarchiver.cpp b/korganizer/eventarchiver.cpp
index 1738380b..ac0cef04 100644
--- a/korganizer/eventarchiver.cpp
+++ b/korganizer/eventarchiver.cpp
@@ -36,8 +36,8 @@
#include <kdebug.h>
#include "koprefs.h"
-EventArchiver::EventArchiver( TQObject* tqparent, const char* name )
- : TQObject( tqparent, name )
+EventArchiver::EventArchiver( TQObject* parent, const char* name )
+ : TQObject( parent, name )
{
}
diff --git a/korganizer/eventarchiver.h b/korganizer/eventarchiver.h
index 8da86deb..f5b61e6d 100644
--- a/korganizer/eventarchiver.h
+++ b/korganizer/eventarchiver.h
@@ -50,14 +50,14 @@ class EventArchiver : public TQObject
TQ_OBJECT
public:
- EventArchiver( TQObject* tqparent = 0, const char* name = 0 );
+ EventArchiver( TQObject* parent = 0, const char* name = 0 );
virtual ~EventArchiver();
/**
* Delete or archive events once
* @param calendar the calendar to archive
* @param limitDate all events *before* the limitDate (not included) will be deleted/archived.
- * @param widget tqparent widget for message boxes
+ * @param widget parent widget for message boxes
* Confirmation and "no events to process" dialogs will be shown
*/
void runOnce( Calendar* calendar, const TQDate& limitDate, TQWidget* widget );
@@ -65,7 +65,7 @@ class EventArchiver : public TQObject
/**
* Delete or archive events. This is called regularly, when auto-archiving is enabled
* @param calendar the calendar to archive
- * @param widget tqparent widget for message boxes
+ * @param widget parent widget for message boxes
* @param withGUI whether this is called from the dialog, so message boxes should be shown.
* Note that error dialogs like "cannot save" are shown even if from this method, so widget
* should be set in all cases.
diff --git a/korganizer/exportwebdialog.cpp b/korganizer/exportwebdialog.cpp
index 0e514abd..37da6ea2 100644
--- a/korganizer/exportwebdialog.cpp
+++ b/korganizer/exportwebdialog.cpp
@@ -68,9 +68,9 @@
// because we want custom buttons, a Tabbed dialog, and a different
// headline... Maybe we should try to achieve the same without code
// duplication.
-ExportWebDialog::ExportWebDialog( HTMLExportSettings *settings, TQWidget *tqparent,
+ExportWebDialog::ExportWebDialog( HTMLExportSettings *settings, TQWidget *parent,
const char *name)
- : KDialogBase( Tabbed,i18n("Export Calendar as Web Page"),Help|Default|User1|Cancel, User1, tqparent, name, false, false, i18n("Export") ),
+ : KDialogBase( Tabbed,i18n("Export Calendar as Web Page"),Help|Default|User1|Cancel, User1, parent, name, false, false, i18n("Export") ),
KPrefsWidManager( settings ), mSettings( settings )
{
setupGeneralPage();
diff --git a/korganizer/exportwebdialog.h b/korganizer/exportwebdialog.h
index 53b8f09c..7157483e 100644
--- a/korganizer/exportwebdialog.h
+++ b/korganizer/exportwebdialog.h
@@ -40,7 +40,7 @@ class ExportWebDialog : public KDialogBase, public KPrefsWidManager
Q_OBJECT
TQ_OBJECT
public:
- ExportWebDialog( HTMLExportSettings *settings, TQWidget *tqparent = 0,
+ ExportWebDialog( HTMLExportSettings *settings, TQWidget *parent = 0,
const char *name = 0 );
virtual ~ExportWebDialog();
diff --git a/korganizer/filtereditdialog.cpp b/korganizer/filtereditdialog.cpp
index 02e6053e..970fd954 100644
--- a/korganizer/filtereditdialog.cpp
+++ b/korganizer/filtereditdialog.cpp
@@ -47,8 +47,8 @@
#include "filtereditdialog.moc"
FilterEditDialog::FilterEditDialog( TQPtrList<CalFilter> *filters,
- TQWidget *tqparent, const char *name)
- : KDialogBase( tqparent, name, false, i18n("Edit Calendar Filters"),
+ TQWidget *parent, const char *name)
+ : KDialogBase( parent, name, false, i18n("Edit Calendar Filters"),
Ok | Apply | Cancel )
{
setMainWidget( mFilterEdit = new FilterEdit(filters, this));
@@ -92,8 +92,8 @@ void FilterEditDialog::setDialogConsistent(bool consistent) {
enableButtonApply( consistent );
}
-FilterEdit::FilterEdit(TQPtrList<CalFilter> *filters, TQWidget *tqparent)
- : FilterEdit_base( tqparent), current(0), mCategorySelectDialog( 0 )
+FilterEdit::FilterEdit(TQPtrList<CalFilter> *filters, TQWidget *parent)
+ : FilterEdit_base( parent), current(0), mCategorySelectDialog( 0 )
{
mFilters = filters;
TQWhatsThis::add( mNewButton, i18n( "Press this button to define a new filter." ) );
diff --git a/korganizer/filtereditdialog.h b/korganizer/filtereditdialog.h
index 76d3c724..e278bded 100644
--- a/korganizer/filtereditdialog.h
+++ b/korganizer/filtereditdialog.h
@@ -47,7 +47,7 @@ class FilterEditDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- FilterEditDialog(TQPtrList<CalFilter> *,TQWidget *tqparent=0, const char *name=0);
+ FilterEditDialog(TQPtrList<CalFilter> *,TQWidget *parent=0, const char *name=0);
virtual ~FilterEditDialog();
signals:
@@ -72,7 +72,7 @@ class FilterEdit : public FilterEdit_base
Q_OBJECT
TQ_OBJECT
public:
- FilterEdit(TQPtrList<CalFilter> *filters, TQWidget *tqparent);
+ FilterEdit(TQPtrList<CalFilter> *filters, TQWidget *parent);
~FilterEdit();
void updateFilterList();
diff --git a/korganizer/freebusymanager.cpp b/korganizer/freebusymanager.cpp
index 7093b5f0..ec32367b 100644
--- a/korganizer/freebusymanager.cpp
+++ b/korganizer/freebusymanager.cpp
@@ -123,8 +123,8 @@ void FreeBusyDownloadJob::slotResult( KIO::Job *job )
////
-FreeBusyManager::FreeBusyManager( TQObject *tqparent, const char *name )
- : TQObject( tqparent, name ),
+FreeBusyManager::FreeBusyManager( TQObject *parent, const char *name )
+ : TQObject( parent, name ),
mCalendar( 0 ), mTimerID( 0 ), mUploadingFreeBusy( false ),
mBrokenUrl( false )
{
diff --git a/korganizer/freebusymanager.h b/korganizer/freebusymanager.h
index 8babe454..1cda25fa 100644
--- a/korganizer/freebusymanager.h
+++ b/korganizer/freebusymanager.h
@@ -82,7 +82,7 @@ class FreeBusyManager : public TQObject, public KCal::FreeBusyCache
Q_OBJECT
TQ_OBJECT
public:
- FreeBusyManager( TQObject *tqparent, const char *name );
+ FreeBusyManager( TQObject *parent, const char *name );
void setCalendar( KCal::Calendar * );
diff --git a/korganizer/freebusyurldialog.cpp b/korganizer/freebusyurldialog.cpp
index 15dece94..67f23d35 100644
--- a/korganizer/freebusyurldialog.cpp
+++ b/korganizer/freebusyurldialog.cpp
@@ -35,9 +35,9 @@
#include <tqlayout.h>
#include <tqlabel.h>
-FreeBusyUrlDialog::FreeBusyUrlDialog( KCal::Attendee *attendee, TQWidget *tqparent,
+FreeBusyUrlDialog::FreeBusyUrlDialog( KCal::Attendee *attendee, TQWidget *parent,
const char *name )
- : KDialogBase( Plain, i18n("Edit Free/Busy Location"), Ok|Cancel, Ok, tqparent,
+ : KDialogBase( Plain, i18n("Edit Free/Busy Location"), Ok|Cancel, Ok, parent,
name, true, false )
{
TQFrame *topFrame = plainPage();
@@ -57,9 +57,9 @@ void FreeBusyUrlDialog::slotOk()
}
-FreeBusyUrlWidget::FreeBusyUrlWidget( KCal::Attendee *attendee, TQWidget *tqparent,
+FreeBusyUrlWidget::FreeBusyUrlWidget( KCal::Attendee *attendee, TQWidget *parent,
const char *name )
- : TQWidget( tqparent, name ), mAttendee( attendee )
+ : TQWidget( parent, name ), mAttendee( attendee )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
topLayout->setSpacing( KDialog::spacingHint() );
diff --git a/korganizer/freebusyurldialog.h b/korganizer/freebusyurldialog.h
index e3a6d5cb..e18728cd 100644
--- a/korganizer/freebusyurldialog.h
+++ b/korganizer/freebusyurldialog.h
@@ -38,7 +38,7 @@ class FreeBusyUrlDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- FreeBusyUrlDialog( KCal::Attendee *, TQWidget *tqparent = 0,
+ FreeBusyUrlDialog( KCal::Attendee *, TQWidget *parent = 0,
const char *name = 0 );
public slots:
@@ -53,7 +53,7 @@ class FreeBusyUrlWidget : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- FreeBusyUrlWidget( KCal::Attendee *, TQWidget *tqparent = 0,
+ FreeBusyUrlWidget( KCal::Attendee *, TQWidget *parent = 0,
const char *name = 0 );
~FreeBusyUrlWidget();
diff --git a/korganizer/importdialog.cpp b/korganizer/importdialog.cpp
index aa93e34f..4db3a069 100644
--- a/korganizer/importdialog.cpp
+++ b/korganizer/importdialog.cpp
@@ -37,8 +37,8 @@
using namespace KCal;
-ImportDialog::ImportDialog( const KURL &url, TQWidget *tqparent, bool isPart )
- : KDialogBase( Plain, i18n("Import Calendar/Event"), Ok | Cancel, Ok, tqparent,
+ImportDialog::ImportDialog( const KURL &url, TQWidget *parent, bool isPart )
+ : KDialogBase( Plain, i18n("Import Calendar/Event"), Ok | Cancel, Ok, parent,
0, true, true ),
mUrl( url )
{
diff --git a/korganizer/importdialog.h b/korganizer/importdialog.h
index 1ee42a15..92726cd2 100644
--- a/korganizer/importdialog.h
+++ b/korganizer/importdialog.h
@@ -37,7 +37,7 @@ class ImportDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- ImportDialog( const KURL &url, TQWidget *tqparent, bool isPart );
+ ImportDialog( const KURL &url, TQWidget *parent, bool isPart );
~ImportDialog();
public slots:
diff --git a/korganizer/incidencechanger.cpp b/korganizer/incidencechanger.cpp
index 8b922034..0cf69fc2 100644
--- a/korganizer/incidencechanger.cpp
+++ b/korganizer/incidencechanger.cpp
@@ -55,7 +55,7 @@ bool IncidenceChanger::beginChange( Incidence *incidence,
bool IncidenceChanger::sendGroupwareMessage( Incidence *incidence,
KCal::Scheduler::Method method,
KOGlobals::HowChanged action,
- TQWidget *tqparent )
+ TQWidget *parent )
{
if ( KOPrefs::instance()->thatIsMe( incidence->organizer().email() ) && incidence->attendeeCount()>0
&& !KOPrefs::instance()->mUseGroupwareCommunication ) {
@@ -63,7 +63,7 @@ bool IncidenceChanger::sendGroupwareMessage( Incidence *incidence,
return true;
} else if( KOPrefs::instance()->mUseGroupwareCommunication ) {
return
- KOGroupware::instance()->sendICalMessage( tqparent, method, incidence, action, false );
+ KOGroupware::instance()->sendICalMessage( parent, method, incidence, action, false );
}
return true;
}
@@ -111,12 +111,12 @@ bool IncidenceChanger::endChange( Incidence *incidence,
return calRes->endChange( incidence, res, subRes );
}
-bool IncidenceChanger::deleteIncidence( Incidence *incidence, TQWidget *tqparent )
+bool IncidenceChanger::deleteIncidence( Incidence *incidence, TQWidget *parent )
{
if ( !incidence ) return true;
kdDebug(5850)<<"IncidenceChanger::deleteIncidence for incidence \""<<incidence->summary()<<"\""<<endl;
bool doDelete = sendGroupwareMessage( incidence, KCal::Scheduler::Cancel,
- KOGlobals::INCIDENCEDELETED, tqparent );
+ KOGlobals::INCIDENCEDELETED, parent );
if( doDelete ) {
// @TODO: let Calendar::deleteIncidence do the locking...
Incidence* tmp = incidence->clone();
@@ -152,7 +152,7 @@ kdDebug(5850)<<"IncidenceChanger::deleteIncidence for incidence \""<<incidence->
}
bool IncidenceChanger::cutIncidences( const Incidence::List &incidences,
- TQWidget *tqparent )
+ TQWidget *parent )
{
Incidence::List::ConstIterator it;
bool doDelete = true;
@@ -160,7 +160,7 @@ bool IncidenceChanger::cutIncidences( const Incidence::List &incidences,
for ( it = incidences.constBegin(); it != incidences.constEnd(); ++it ) {
if ( *it ) {
doDelete = sendGroupwareMessage( *it, KCal::Scheduler::Cancel,
- KOGlobals::INCIDENCEDELETED, tqparent );
+ KOGlobals::INCIDENCEDELETED, parent );
if ( doDelete ) {
emit incidenceToBeDeleted( *it );
incsToCut.append( *it );
@@ -180,11 +180,11 @@ bool IncidenceChanger::cutIncidences( const Incidence::List &incidences,
}
}
-bool IncidenceChanger::cutIncidence( Incidence *incidence, TQWidget *tqparent )
+bool IncidenceChanger::cutIncidence( Incidence *incidence, TQWidget *parent )
{
Incidence::List incidences;
incidences.append( incidence );
- return cutIncidences( incidences, tqparent );
+ return cutIncidences( incidences, parent );
}
class IncidenceChanger::ComparisonVisitor : public IncidenceBase::Visitor
@@ -327,14 +327,14 @@ bool IncidenceChanger::myAttendeeStatusChanged( Incidence *oldInc, Incidence *ne
bool IncidenceChanger::changeIncidence( Incidence *oldinc, Incidence *newinc,
KOGlobals::WhatChanged action,
- TQWidget *tqparent )
+ TQWidget *parent )
{
- return changeIncidence( oldinc, newinc, action, tqparent, 0 );
+ return changeIncidence( oldinc, newinc, action, parent, 0 );
}
bool IncidenceChanger::changeIncidence( Incidence *oldinc, Incidence *newinc,
KOGlobals::WhatChanged action,
- TQWidget *tqparent,
+ TQWidget *parent,
int dontAskForGroupware )
{
kdDebug(5850)<<"IncidenceChanger::changeIncidence for incidence \""<<newinc->summary()<<"\" ( old one was \""<<oldinc->summary()<<"\")"<<endl;
@@ -353,7 +353,7 @@ kdDebug(5850)<<"IncidenceChanger::changeIncidence for incidence \""<<newinc->sum
bool success = true;
if ( KOPrefs::instance()->mUseGroupwareCommunication ) {
success = KOGroupware::instance()->sendICalMessage(
- tqparent,
+ parent,
KCal::Scheduler::Request,
newinc, KOGlobals::INCIDENCEEDITED, attendeeStatusChanged, dontAskForGroupware );
}
@@ -372,19 +372,19 @@ kdDebug(5850)<<"IncidenceChanger::changeIncidence for incidence \""<<newinc->sum
bool IncidenceChanger::addIncidence( Incidence *incidence,
ResourceCalendar *res, const TQString &subRes,
- TQWidget *tqparent )
+ TQWidget *parent )
{
- return addIncidence( incidence, res, subRes, tqparent, 0 );
+ return addIncidence( incidence, res, subRes, parent, 0 );
}
bool IncidenceChanger::addIncidence( Incidence *incidence,
ResourceCalendar *res, const TQString &subRes,
- TQWidget *tqparent, int dontAskForGroupware )
+ TQWidget *parent, int dontAskForGroupware )
{
CalendarResources *stdcal = dynamic_cast<CalendarResources *>( mCalendar );
if( stdcal && !stdcal->hasCalendarResources() ) {
KMessageBox::sorry(
- tqparent,
+ parent,
i18n( "No calendars found, unable to save %1 \"%2\"." ).
arg( i18n( incidence->type() ) ).
arg( incidence->summary() ) );
@@ -392,14 +392,14 @@ bool IncidenceChanger::addIncidence( Incidence *incidence,
return false;
}
- // FIXME: This is a nasty hack, since we need to set a tqparent for the
+ // FIXME: This is a nasty hack, since we need to set a parent for the
// resource selection dialog. However, we don't have any UI methods
// in the calendar, only in the CalendarResources::DestinationPolicy
// So we need to type-cast it and extract it from the CalendarResources
- TQWidget *tmptqparent = 0;
+ TQWidget *tmpparent = 0;
if ( stdcal ) {
- tmptqparent = stdcal->dialogParentWidget();
- stdcal->setDialogParentWidget( tqparent );
+ tmpparent = stdcal->dialogParentWidget();
+ stdcal->setDialogParentWidget( parent );
}
// If a ResourceCalendar isn't provided, then try to compute one
@@ -445,7 +445,7 @@ bool IncidenceChanger::addIncidence( Incidence *incidence,
arg( incidence->summary() ).
arg( pResName );
}
- KMessageBox::sorry( tqparent, errMessage );
+ KMessageBox::sorry( parent, errMessage );
}
kdDebug(5850) << "IncidenceChanger: Can't add incidence" << endl;
return false;
@@ -453,11 +453,11 @@ bool IncidenceChanger::addIncidence( Incidence *incidence,
if ( KOPrefs::instance()->mUseGroupwareCommunication ) {
if ( !KOGroupware::instance()->sendICalMessage(
- tqparent,
+ parent,
KCal::Scheduler::Request,
incidence, KOGlobals::INCIDENCEADDED, false, dontAskForGroupware ) ) {
KMessageBox::sorry(
- tqparent,
+ parent,
i18n( "Attempt to send the scheduling message failed. "
"Please check your Group Scheduling settings. "
"Contact your system administrator for more help.") );
diff --git a/korganizer/incidencechanger.h b/korganizer/incidencechanger.h
index 09a2bda6..bfbac851 100644
--- a/korganizer/incidencechanger.h
+++ b/korganizer/incidencechanger.h
@@ -35,8 +35,8 @@ class IncidenceChanger : public KOrg::IncidenceChangerBase
Q_OBJECT
TQ_OBJECT
public:
- IncidenceChanger( Calendar *cal, TQObject *tqparent )
- : IncidenceChangerBase( cal, tqparent ) {}
+ IncidenceChanger( Calendar *cal, TQObject *parent )
+ : IncidenceChangerBase( cal, parent ) {}
~IncidenceChanger() {}
bool beginChange( Incidence *incidence,
@@ -45,27 +45,27 @@ class IncidenceChanger : public KOrg::IncidenceChangerBase
bool sendGroupwareMessage( Incidence *incidence,
KCal::Scheduler::Method method,
KOGlobals::HowChanged action,
- TQWidget *tqparent );
+ TQWidget *parent );
bool endChange( Incidence *incidence,
ResourceCalendar *res, const TQString &subRes );
bool addIncidence( Incidence *incidence,
ResourceCalendar *res, const TQString &subRes,
- TQWidget *tqparent );
+ TQWidget *parent );
bool addIncidence( Incidence *incidence,
ResourceCalendar *res, const TQString &subRes,
- TQWidget *tqparent, int dontAskForGroupware );
+ TQWidget *parent, int dontAskForGroupware );
bool changeIncidence( Incidence *oldinc, Incidence *newinc,
- KOGlobals::WhatChanged, TQWidget *tqparent );
+ KOGlobals::WhatChanged, TQWidget *parent );
bool changeIncidence( Incidence *oldinc, Incidence *newinc,
- KOGlobals::WhatChanged, TQWidget *tqparent, int dontAskForGroupware );
+ KOGlobals::WhatChanged, TQWidget *parent, int dontAskForGroupware );
- bool deleteIncidence( Incidence *incidence, TQWidget *tqparent );
+ bool deleteIncidence( Incidence *incidence, TQWidget *parent );
- bool cutIncidences( const Incidence::List &incidences, TQWidget *tqparent );
- bool cutIncidence( Incidence *incidence, TQWidget *tqparent );
+ bool cutIncidences( const Incidence::List &incidences, TQWidget *parent );
+ bool cutIncidence( Incidence *incidence, TQWidget *parent );
static bool incidencesEqual( Incidence *inc1, Incidence *inc2 );
static bool assignIncidence( Incidence *inc1, Incidence *inc2 );
diff --git a/korganizer/interfaces/korganizer/baseview.h b/korganizer/interfaces/korganizer/baseview.h
index 31a3edbc..f14ecf49 100644
--- a/korganizer/interfaces/korganizer/baseview.h
+++ b/korganizer/interfaces/korganizer/baseview.h
@@ -66,11 +66,11 @@ class KDE_EXPORT BaseView : public TQWidget
@param cal Pointer to the calendar object from which events
will be retrieved for display.
- @param tqparent tqparent widget.
+ @param parent parent widget.
@param name name of this widget.
*/
- BaseView( Calendar *cal, TQWidget *tqparent = 0, const char *name = 0 )
- : TQWidget( tqparent, name ),
+ BaseView( Calendar *cal, TQWidget *parent = 0, const char *name = 0 )
+ : TQWidget( parent, name ),
mReadOnly( false ), mCalendar( cal ), mResource( 0 ), mChanger( 0 ) {}
/**
diff --git a/korganizer/interfaces/korganizer/calendarviewbase.h b/korganizer/interfaces/korganizer/calendarviewbase.h
index 8afefdd8..f6f39f06 100644
--- a/korganizer/interfaces/korganizer/calendarviewbase.h
+++ b/korganizer/interfaces/korganizer/calendarviewbase.h
@@ -37,8 +37,8 @@ namespace KOrg {
class CalendarViewBase : public TQWidget
{
public:
- CalendarViewBase( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name ) {}
+ CalendarViewBase( TQWidget *parent, const char *name )
+ : TQWidget( parent, name ) {}
virtual ~CalendarViewBase() {}
virtual KCal::Calendar *calendar() = 0;
diff --git a/korganizer/interfaces/korganizer/incidencechangerbase.h b/korganizer/interfaces/korganizer/incidencechangerbase.h
index ba4faf06..169ea1b2 100644
--- a/korganizer/interfaces/korganizer/incidencechangerbase.h
+++ b/korganizer/interfaces/korganizer/incidencechangerbase.h
@@ -41,14 +41,14 @@ class IncidenceChangerBase : public TQObject
Q_OBJECT
TQ_OBJECT
public:
- IncidenceChangerBase( Calendar*cal, TQObject *tqparent = 0 ) :
- TQObject( tqparent ), mCalendar( cal ) {}
+ IncidenceChangerBase( Calendar*cal, TQObject *parent = 0 ) :
+ TQObject( parent ), mCalendar( cal ) {}
virtual ~IncidenceChangerBase() {}
virtual bool sendGroupwareMessage( Incidence *incidence,
KCal::Scheduler::Method method,
KOGlobals::HowChanged action,
- TQWidget *tqparent ) = 0;
+ TQWidget *parent ) = 0;
virtual bool beginChange( Incidence *incidence,
ResourceCalendar *res, const TQString &subRes ) = 0;
@@ -57,20 +57,20 @@ public:
virtual bool addIncidence( Incidence *incidence,
ResourceCalendar *res, const TQString &subRes,
- TQWidget *tqparent ) = 0;
+ TQWidget *parent ) = 0;
virtual bool addIncidence( Incidence *incidence,
ResourceCalendar *res, const TQString &subRes,
- TQWidget *tqparent, int dontAskForGroupware) = 0;
+ TQWidget *parent, int dontAskForGroupware) = 0;
virtual bool changeIncidence( Incidence *oldinc, Incidence *newinc,
- KOGlobals::WhatChanged, TQWidget *tqparent ) = 0;
+ KOGlobals::WhatChanged, TQWidget *parent ) = 0;
virtual bool changeIncidence( Incidence *oldinc, Incidence *newinc,
- KOGlobals::WhatChanged, TQWidget *tqparent, int dontAskForGroupware ) = 0;
+ KOGlobals::WhatChanged, TQWidget *parent, int dontAskForGroupware ) = 0;
- virtual bool deleteIncidence( Incidence *incidence, TQWidget *tqparent ) = 0;
+ virtual bool deleteIncidence( Incidence *incidence, TQWidget *parent ) = 0;
- virtual bool cutIncidences( const Incidence::List &incidences, TQWidget *tqparent ) = 0;
- virtual bool cutIncidence( Incidence *incidence, TQWidget *tqparent ) = 0;
+ virtual bool cutIncidences( const Incidence::List &incidences, TQWidget *parent ) = 0;
+ virtual bool cutIncidence( Incidence *incidence, TQWidget *parent ) = 0;
signals:
void incidenceAdded( Incidence * );
diff --git a/korganizer/interfaces/korganizer/part.h b/korganizer/interfaces/korganizer/part.h
index 38763c3a..50c765d6 100644
--- a/korganizer/interfaces/korganizer/part.h
+++ b/korganizer/interfaces/korganizer/part.h
@@ -38,8 +38,8 @@ class Part : public KParts::Part
typedef TQPtrList<Part> List;
- Part( MainWindow *tqparent, const char *name )
- : KParts::Part( tqparent?(TQT_TQOBJECT(tqparent->tqtopLevelWidget())):0, name ), mMainWindow( tqparent ) {}
+ Part( MainWindow *parent, const char *name )
+ : KParts::Part( parent?(TQT_TQOBJECT(parent->tqtopLevelWidget())):0, name ), mMainWindow( parent ) {}
virtual ~Part() {}
@@ -56,7 +56,7 @@ class Part : public KParts::Part
class PartFactory : public KLibFactory
{
public:
- virtual Part *create( MainWindow *tqparent, const char *name = 0 ) = 0;
+ virtual Part *create( MainWindow *parent, const char *name = 0 ) = 0;
protected:
virtual TQObject *createObject( TQObject *, const char *,const char *,
diff --git a/korganizer/journalentry.cpp b/korganizer/journalentry.cpp
index bff67c76..cf93a58f 100644
--- a/korganizer/journalentry.cpp
+++ b/korganizer/journalentry.cpp
@@ -60,16 +60,16 @@
class JournalTitleLable : public KActiveLabel
{
public:
- JournalTitleLable( TQWidget *tqparent, const char *name=0 ) : KActiveLabel( tqparent, name ) {}
+ JournalTitleLable( TQWidget *parent, const char *name=0 ) : KActiveLabel( parent, name ) {}
void openLink( const TQString &/*link*/ ) {}
};
-JournalDateEntry::JournalDateEntry( Calendar *calendar, TQWidget *tqparent ) :
- TQVBox( tqparent ), mCalendar( calendar )
+JournalDateEntry::JournalDateEntry( Calendar *calendar, TQWidget *parent ) :
+ TQVBox( parent ), mCalendar( calendar )
{
-//kdDebug(5850)<<"JournalEntry::JournalEntry, tqparent="<<tqparent<<endl;
+//kdDebug(5850)<<"JournalEntry::JournalEntry, parent="<<parent<<endl;
mChanger = 0;
mTitle = new JournalTitleLable( this );
@@ -175,10 +175,10 @@ void JournalDateEntry::journalDeleted( Journal *journal )
-JournalEntry::JournalEntry( Journal* j, TQWidget *tqparent ) :
- TQWidget( tqparent ), mJournal( j )
+JournalEntry::JournalEntry( Journal* j, TQWidget *parent ) :
+ TQWidget( parent ), mJournal( j )
{
-//kdDebug(5850)<<"JournalEntry::JournalEntry, tqparent="<<tqparent<<endl;
+//kdDebug(5850)<<"JournalEntry::JournalEntry, parent="<<parent<<endl;
mDirty = false;
mWriteInProgress = false;
mChanger = 0;
diff --git a/korganizer/journalentry.h b/korganizer/journalentry.h
index 3ea74f3d..496cb395 100644
--- a/korganizer/journalentry.h
+++ b/korganizer/journalentry.h
@@ -53,7 +53,7 @@ class JournalEntry : public TQWidget {
public:
typedef ListBase<JournalEntry> List;
- JournalEntry( Journal* j, TQWidget *tqparent );
+ JournalEntry( Journal* j, TQWidget *parent );
virtual ~JournalEntry();
void setJournal(Journal *);
@@ -118,7 +118,7 @@ class JournalDateEntry : public TQVBox {
public:
typedef ListBase<JournalDateEntry> List;
- JournalDateEntry( Calendar *, TQWidget *tqparent );
+ JournalDateEntry( Calendar *, TQWidget *parent );
virtual ~JournalDateEntry();
void addJournal( Journal * );
diff --git a/korganizer/kdatenavigator.cpp b/korganizer/kdatenavigator.cpp
index 9ee1f20c..d47b7974 100644
--- a/korganizer/kdatenavigator.cpp
+++ b/korganizer/kdatenavigator.cpp
@@ -45,8 +45,8 @@
#include "kdatenavigator.h"
-KDateNavigator::KDateNavigator( TQWidget *tqparent, const char *name )
- : TQFrame( tqparent, name ), mBaseDate( 1970, 1, 1 )
+KDateNavigator::KDateNavigator( TQWidget *parent, const char *name )
+ : TQFrame( parent, name ), mBaseDate( 1970, 1, 1 )
{
TQGridLayout* topLayout = new TQGridLayout( this, 8, 8 );
diff --git a/korganizer/kdatenavigator.h b/korganizer/kdatenavigator.h
index 98bf81d7..b36de304 100644
--- a/korganizer/kdatenavigator.h
+++ b/korganizer/kdatenavigator.h
@@ -47,7 +47,7 @@ class KDateNavigator: public TQFrame
Q_OBJECT
TQ_OBJECT
public:
- KDateNavigator( TQWidget *tqparent = 0, const char *name = 0 );
+ KDateNavigator( TQWidget *parent = 0, const char *name = 0 );
~KDateNavigator();
/**
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp
index f9a1236e..5600682f 100644
--- a/korganizer/koagenda.cpp
+++ b/korganizer/koagenda.cpp
@@ -172,8 +172,8 @@ void MarcusBains::updateLocationRecalc( bool recalculate )
Create an agenda widget with rows rows and columns columns.
*/
KOAgenda::KOAgenda( int columns, int rows, int rowSize, CalendarView *calendarView,
- TQWidget *tqparent, const char *name, WFlags f )
- : TQScrollView( tqparent, name, f ), mChanger( 0 )
+ TQWidget *parent, const char *name, WFlags f )
+ : TQScrollView( parent, name, f ), mChanger( 0 )
{
mColumns = columns;
mRows = rows;
@@ -195,8 +195,8 @@ KOAgenda::KOAgenda( int columns, int rows, int rowSize, CalendarView *calendarVi
Create an agenda widget with columns columns and one row. This is used for
all-day events.
*/
-KOAgenda::KOAgenda( int columns, CalendarView *calendarView, TQWidget *tqparent,
- const char *name, WFlags f ) : TQScrollView( tqparent, name, f )
+KOAgenda::KOAgenda( int columns, CalendarView *calendarView, TQWidget *parent,
+ const char *name, WFlags f ) : TQScrollView( parent, name, f )
{
mColumns = columns;
mRows = 1;
@@ -1419,7 +1419,7 @@ void KOAgenda::drawContents(TQPainter* p, int cx, int cy, int cw, int ch)
}
}
} else {
- // last entry in holiday tqmask denotes the previous day not visible (needed for overnight shifts)
+ // last entry in holiday mask denotes the previous day not visible (needed for overnight shifts)
if ( gxStart < int(mHolidayMask->count()-1) && !mHolidayMask->at(gxStart)) {
dbp.fillRect( xStart, pt1.y(), xWidth, pt2.y() - pt1.y() + 1,
KOPrefs::instance()->mWorkingHoursColor );
@@ -2038,9 +2038,9 @@ void KOAgenda::setDateList(const DateList &selectedDates)
marcus_bains();
}
-void KOAgenda::setHolidayMask(TQMemArray<bool> *tqmask)
+void KOAgenda::setHolidayMask(TQMemArray<bool> *mask)
{
- mHolidayMask = tqmask;
+ mHolidayMask = mask;
}
diff --git a/korganizer/koagenda.h b/korganizer/koagenda.h
index 2dfb4551..9bc7b00d 100644
--- a/korganizer/koagenda.h
+++ b/korganizer/koagenda.h
@@ -77,9 +77,9 @@ class KOAgenda : public TQScrollView
TQ_OBJECT
public:
KOAgenda ( int columns, int rows, int columnSize, CalendarView *calendarView,
- TQWidget *tqparent=0, const char *name = 0, WFlags f = 0 );
+ TQWidget *parent=0, const char *name = 0, WFlags f = 0 );
- KOAgenda ( int columns, CalendarView *calendarView, TQWidget *tqparent = 0,
+ KOAgenda ( int columns, CalendarView *calendarView, TQWidget *parent = 0,
const char *name = 0, WFlags f = 0 );
virtual ~KOAgenda();
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp
index 86dc54a7..d0dd4604 100644
--- a/korganizer/koagendaitem.cpp
+++ b/korganizer/koagendaitem.cpp
@@ -64,10 +64,10 @@ TQPixmap *KOAgendaItem::organizerPxmp = 0;
//--------------------------------------------------------------------------
KOAgendaItem::KOAgendaItem( Calendar *calendar, Incidence *incidence,
- const TQDate &qd, TQWidget *tqparent,
+ const TQDate &qd, TQWidget *parent,
int itemPos, int itemCount,
const char *name, WFlags f ) :
- TQWidget( tqparent, name, f ), mCalendar( calendar ), mIncidence( incidence ), mDate( qd ),
+ TQWidget( parent, name, f ), mCalendar( calendar ), mIncidence( incidence ), mDate( qd ),
mLabelText( mIncidence->summary() ), mIconAlarm( false ),
mIconRecur( false ), mIconReadonly( false ), mIconReply( false ),
mIconGroup( false ), mIconGroupTentative( false ), mIconOrganizer( false ),
diff --git a/korganizer/koagendaitem.h b/korganizer/koagendaitem.h
index fa4b7c43..23a36acf 100644
--- a/korganizer/koagendaitem.h
+++ b/korganizer/koagendaitem.h
@@ -78,7 +78,7 @@ class KOAgendaItem : public TQWidget, public KOrg::CellItem
TQ_OBJECT
public:
KOAgendaItem( Calendar *calendar, Incidence *incidence, const TQDate &qd,
- TQWidget *tqparent,
+ TQWidget *parent,
int itemPos, int itemCount,
const char *name = 0, WFlags f = 0 );
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp
index ef884b84..ba565a8d 100644
--- a/korganizer/koagendaview.cpp
+++ b/korganizer/koagendaview.cpp
@@ -76,8 +76,8 @@
using namespace KOrg;
-EventIndicator::EventIndicator(Location loc,TQWidget *tqparent,const char *name)
- : TQFrame(tqparent,name)
+EventIndicator::EventIndicator(Location loc,TQWidget *parent,const char *name)
+ : TQFrame(parent,name)
{
mColumns = 1;
mEnabled.resize( mColumns );
@@ -133,8 +133,8 @@ void EventIndicator::enableColumn(int column, bool enable)
KOAlternateLabel::KOAlternateLabel(const TQString &shortlabel, const TQString &longlabel,
- const TQString &extensivelabel, TQWidget *tqparent, const char *name )
- : TQLabel(tqparent, name), mTextTypeFixed(false), mShortText(shortlabel),
+ const TQString &extensivelabel, TQWidget *parent, const char *name )
+ : TQLabel(parent, name), mTextTypeFixed(false), mShortText(shortlabel),
mLongText(longlabel), mExtensiveText(extensivelabel)
{
tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
@@ -248,10 +248,10 @@ TQSize KOAlternateLabel::tqminimumSizeHint() const
KOAgendaView::KOAgendaView( Calendar *cal,
CalendarView *calendarView,
- TQWidget *tqparent,
+ TQWidget *parent,
const char *name,
bool isSideBySide ) :
- KOrg::AgendaView (cal, tqparent,name), mExpandButton( 0 ),
+ KOrg::AgendaView (cal, parent,name), mExpandButton( 0 ),
mAllowAgendaUpdate( true ),
mUpdateItem( 0 ),
mIsSideBySide( isSideBySide ),
@@ -1639,7 +1639,7 @@ void KOAgendaView::setHolidayMasks()
}
// Store the information about the day before the visible area (needed for
- // overnight working hours) in the last bit of the tqmask:
+ // overnight working hours) in the last bit of the mask:
bool showDay = !KOGlobals::self()->isWorkDay( mSelectedDates[ 0 ].addDays( -1 ) );
mHolidayMask[ mSelectedDates.count() ] = showDay;
diff --git a/korganizer/koagendaview.h b/korganizer/koagendaview.h
index 3b0e51b5..647dcafc 100644
--- a/korganizer/koagendaview.h
+++ b/korganizer/koagendaview.h
@@ -54,7 +54,7 @@ class EventIndicator : public TQFrame
TQ_OBJECT
public:
enum Location { Top, Bottom };
- EventIndicator( Location loc = Top, TQWidget *tqparent = 0,
+ EventIndicator( Location loc = Top, TQWidget *parent = 0,
const char *name = 0 );
virtual ~EventIndicator();
@@ -79,7 +79,7 @@ class KOAlternateLabel : public TQLabel
public:
KOAlternateLabel( const TQString &shortlabel, const TQString &longlabel,
const TQString &extensivelabel = TQString(),
- TQWidget *tqparent = 0, const char *name = 0 );
+ TQWidget *parent = 0, const char *name = 0 );
~KOAlternateLabel();
virtual TQSize tqminimumSizeHint() const;
@@ -112,7 +112,7 @@ class KOAgendaView : public KOrg::AgendaView, public KCal::Calendar::Observer
public:
KOAgendaView( Calendar *cal,
CalendarView *calendarView,
- TQWidget *tqparent = 0,
+ TQWidget *parent = 0,
const char *name = 0,
bool isSideBySide = false );
virtual ~KOAgendaView();
diff --git a/korganizer/koattendeeeditor.cpp b/korganizer/koattendeeeditor.cpp
index 15493ef9..bc759df0 100644
--- a/korganizer/koattendeeeditor.cpp
+++ b/korganizer/koattendeeeditor.cpp
@@ -55,15 +55,15 @@
using namespace KCal;
-KOAttendeeEditor::KOAttendeeEditor( TQWidget * tqparent, const char *name ) :
- TQWidget( tqparent, name ),
+KOAttendeeEditor::KOAttendeeEditor( TQWidget * parent, const char *name ) :
+ TQWidget( parent, name ),
mDisableItemUpdate( true )
{
}
-void KOAttendeeEditor::initOrganizerWidgets(TQWidget * tqparent, TQBoxLayout * tqlayout)
+void KOAttendeeEditor::initOrganizerWidgets(TQWidget * parent, TQBoxLayout * tqlayout)
{
- mOrganizerHBox = new TQHBox( tqparent );
+ mOrganizerHBox = new TQHBox( parent );
tqlayout->addWidget( mOrganizerHBox );
// If creating a new event, then the user is the organizer -> show the
// identity combo
@@ -91,7 +91,7 @@ void KOAttendeeEditor::initOrganizerWidgets(TQWidget * tqparent, TQBoxLayout * t
mOrganizerHBox->setStretchFactor( mOrganizerCombo, 100 );
}
-void KOAttendeeEditor::initEditWidgets(TQWidget * tqparent, TQBoxLayout * tqlayout)
+void KOAttendeeEditor::initEditWidgets(TQWidget * parent, TQBoxLayout * tqlayout)
{
TQGridLayout *topLayout = new TQGridLayout();
tqlayout->addLayout( topLayout );
@@ -99,12 +99,12 @@ void KOAttendeeEditor::initEditWidgets(TQWidget * tqparent, TQBoxLayout * tqlayo
TQString whatsThis = i18n("Edits the name of the attendee selected in the list "
"above, or adds a new attendee if there are no attendees"
"in the list.");
- TQLabel *attendeeLabel = new TQLabel( tqparent );
+ TQLabel *attendeeLabel = new TQLabel( parent );
TQWhatsThis::add( attendeeLabel, whatsThis );
attendeeLabel->setText( i18n("Na&me:") );
topLayout->addWidget( attendeeLabel, 0, 0 );
- mNameEdit = new KPIM::AddresseeLineEdit( tqparent );
+ mNameEdit = new KPIM::AddresseeLineEdit( parent );
TQWhatsThis::add( mNameEdit, whatsThis );
mNameEdit->setClickMessage( i18n("Click to add a new attendee") );
attendeeLabel->setBuddy( mNameEdit );
@@ -116,12 +116,12 @@ void KOAttendeeEditor::initEditWidgets(TQWidget * tqparent, TQBoxLayout * tqlayo
whatsThis = i18n("Edits the role of the attendee selected "
"in the list above.");
- TQLabel *attendeeRoleLabel = new TQLabel( tqparent );
+ TQLabel *attendeeRoleLabel = new TQLabel( parent );
TQWhatsThis::add( attendeeRoleLabel, whatsThis );
attendeeRoleLabel->setText( i18n("Ro&le:") );
topLayout->addWidget( attendeeRoleLabel, 1, 0 );
- mRoleCombo = new TQComboBox( false, tqparent );
+ mRoleCombo = new TQComboBox( false, parent );
TQWhatsThis::add( mRoleCombo, whatsThis );
mRoleCombo->insertStringList( Attendee::roleList() );
attendeeRoleLabel->setBuddy( mRoleCombo );
@@ -129,17 +129,17 @@ void KOAttendeeEditor::initEditWidgets(TQWidget * tqparent, TQBoxLayout * tqlayo
TQT_SLOT( updateAttendee() ) );
topLayout->addWidget( mRoleCombo, 1, 1 );
- mDelegateLabel = new TQLabel( tqparent );
+ mDelegateLabel = new TQLabel( parent );
topLayout->addWidget( mDelegateLabel, 1, 2 );
whatsThis = i18n("Edits the current attendance status of the attendee "
"selected in the list above.");
- TQLabel *statusLabel = new TQLabel( tqparent );
+ TQLabel *statusLabel = new TQLabel( parent );
TQWhatsThis::add( statusLabel, whatsThis );
statusLabel->setText( i18n("Stat&us:") );
topLayout->addWidget( statusLabel, 2, 0 );
- mStatusCombo = new TQComboBox( false, tqparent );
+ mStatusCombo = new TQComboBox( false, parent );
TQWhatsThis::add( mStatusCombo, whatsThis );
// mStatusCombo->insertStringList( Attendee::statusList() );
mStatusCombo->insertItem( SmallIcon( "help" ), Attendee::statusName( Attendee::NeedsAction ) );
@@ -157,7 +157,7 @@ void KOAttendeeEditor::initEditWidgets(TQWidget * tqparent, TQBoxLayout * tqlayo
topLayout->setColStretch( 2, 1 );
- mRsvpButton = new TQCheckBox( tqparent );
+ mRsvpButton = new TQCheckBox( parent );
TQWhatsThis::add( mRsvpButton,
i18n("Edits whether to send an email to the attendee "
"selected in the list above to request "
@@ -166,7 +166,7 @@ void KOAttendeeEditor::initEditWidgets(TQWidget * tqparent, TQBoxLayout * tqlayo
connect( mRsvpButton, TQT_SIGNAL( clicked() ), TQT_SLOT( updateAttendee() ) );
topLayout->addWidget( mRsvpButton, 2, 2 );
- TQWidget *buttonBox = new TQWidget( tqparent );
+ TQWidget *buttonBox = new TQWidget( parent );
TQVBoxLayout *buttonLayout = new TQVBoxLayout( buttonBox );
mAddButton = new TQPushButton( i18n("&New"), buttonBox );
diff --git a/korganizer/koattendeeeditor.h b/korganizer/koattendeeeditor.h
index 85c15e8e..828bf479 100644
--- a/korganizer/koattendeeeditor.h
+++ b/korganizer/koattendeeeditor.h
@@ -49,7 +49,7 @@ class KOAttendeeEditor : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- KOAttendeeEditor( TQWidget *tqparent, const char *name = 0 );
+ KOAttendeeEditor( TQWidget *parent, const char *name = 0 );
virtual void insertAttendee( KCal::Attendee *attendee, bool fetchFB = true ) = 0;
virtual void removeAttendee( KCal::Attendee *attendee ) = 0;
@@ -68,8 +68,8 @@ class KOAttendeeEditor : public TQWidget
void updateAttendeeSummary( int count );
protected:
- void initOrganizerWidgets( TQWidget *tqparent, TQBoxLayout *tqlayout );
- void initEditWidgets( TQWidget *tqparent, TQBoxLayout *tqlayout );
+ void initOrganizerWidgets( TQWidget *parent, TQBoxLayout *tqlayout );
+ void initEditWidgets( TQWidget *parent, TQBoxLayout *tqlayout );
/** Reads values from a KABC::Addressee and inserts a new Attendee
* item into the listview with those items. Used when adding attendees
diff --git a/korganizer/kocore.cpp b/korganizer/kocore.cpp
index ce5d0c25..b3781e2d 100644
--- a/korganizer/kocore.cpp
+++ b/korganizer/kocore.cpp
@@ -170,7 +170,7 @@ KOrg::CalendarDecoration *KOCore::loadCalendarDecoration( const TQString &name )
return 0;
}
-KOrg::Part *KOCore::loadPart( KService::Ptr service, KOrg::MainWindow *tqparent )
+KOrg::Part *KOCore::loadPart( KService::Ptr service, KOrg::MainWindow *parent )
{
kdDebug(5850) << "loadPart: library: " << service->library() << endl;
@@ -194,7 +194,7 @@ KOrg::Part *KOCore::loadPart( KService::Ptr service, KOrg::MainWindow *tqparent
return 0;
}
- return pluginFactory->create( tqparent );
+ return pluginFactory->create( parent );
}
KOrg::PrintPlugin *KOCore::loadPrintPlugin( KService::Ptr service )
@@ -244,13 +244,13 @@ KXMLGUIClient* KOCore::xmlguiClient( TQWidget *wdg ) const
return 0;
}
-KOrg::Part *KOCore::loadPart( const TQString &name, KOrg::MainWindow *tqparent )
+KOrg::Part *KOCore::loadPart( const TQString &name, KOrg::MainWindow *parent )
{
KTrader::OfferList list = availableParts();
KTrader::OfferList::ConstIterator it;
for( it = list.begin(); it != list.end(); ++it ) {
if ( (*it)->desktopEntryName() == name ) {
- return loadPart( *it, tqparent );
+ return loadPart( *it, parent );
}
}
return 0;
@@ -291,7 +291,7 @@ KOrg::CalendarDecoration::List KOCore::calendarDecorations()
return mCalendarDecorations;
}
-KOrg::Part::List KOCore::loadParts( KOrg::MainWindow *tqparent )
+KOrg::Part::List KOCore::loadParts( KOrg::MainWindow *parent )
{
KOrg::Part::List parts;
@@ -302,13 +302,13 @@ KOrg::Part::List KOCore::loadParts( KOrg::MainWindow *tqparent )
for( it = plugins.begin(); it != plugins.end(); ++it ) {
if ( selectedPlugins.find( (*it)->desktopEntryName() ) !=
selectedPlugins.end() ) {
- KOrg::Part *part = loadPart( *it, tqparent );
+ KOrg::Part *part = loadPart( *it, parent );
if ( part ) {
- if ( !tqparent->mainGuiClient() ) {
- kdError() << "KOCore::loadParts(): tqparent has no mainGuiClient."
+ if ( !parent->mainGuiClient() ) {
+ kdError() << "KOCore::loadParts(): parent has no mainGuiClient."
<< endl;
} else {
- tqparent->mainGuiClient()->insertChildClient( part );
+ parent->mainGuiClient()->insertChildClient( part );
parts.append( part );
}
}
@@ -346,26 +346,26 @@ void KOCore::unloadPlugins()
mCalendarDecorationsLoaded = false;
}
-void KOCore::unloadParts( KOrg::MainWindow *tqparent, KOrg::Part::List &parts )
+void KOCore::unloadParts( KOrg::MainWindow *parent, KOrg::Part::List &parts )
{
KOrg::Part *part;
for( part = parts.first(); part; part = parts.next() ) {
- tqparent->mainGuiClient()->removeChildClient( part );
+ parent->mainGuiClient()->removeChildClient( part );
delete part;
}
parts.clear();
}
-KOrg::Part::List KOCore::reloadParts( KOrg::MainWindow *tqparent,
+KOrg::Part::List KOCore::reloadParts( KOrg::MainWindow *parent,
KOrg::Part::List &parts )
{
- KXMLGUIFactory *factory = tqparent->mainGuiClient()->factory();
- factory->removeClient( tqparent->mainGuiClient() );
+ KXMLGUIFactory *factory = parent->mainGuiClient()->factory();
+ factory->removeClient( parent->mainGuiClient() );
- unloadParts( tqparent, parts );
- KOrg::Part::List list = loadParts( tqparent );
+ unloadParts( parent, parts );
+ KOrg::Part::List list = loadParts( parent );
- factory->addClient( tqparent->mainGuiClient() );
+ factory->addClient( parent->mainGuiClient() );
return list;
}
diff --git a/korganizer/kocore.h b/korganizer/kocore.h
index 9feaaf0a..3b1a756f 100644
--- a/korganizer/kocore.h
+++ b/korganizer/kocore.h
@@ -52,15 +52,15 @@ class KDE_EXPORT KOCore
KOrg::CalendarDecoration *loadCalendarDecoration( KService::Ptr service );
KOrg::CalendarDecoration *loadCalendarDecoration( const TQString & );
- KOrg::Part *loadPart( KService::Ptr, KOrg::MainWindow *tqparent );
- KOrg::Part *loadPart( const TQString &, KOrg::MainWindow *tqparent );
+ KOrg::Part *loadPart( KService::Ptr, KOrg::MainWindow *parent );
+ KOrg::Part *loadPart( const TQString &, KOrg::MainWindow *parent );
KOrg::PrintPlugin *loadPrintPlugin( KService::Ptr service );
KOrg::PrintPlugin *loadPrintPlugin( const TQString & );
KOrg::CalendarDecoration::List calendarDecorations();
KOrg::PrintPlugin::List loadPrintPlugins();
- KOrg::Part::List loadParts( KOrg::MainWindow *tqparent );
+ KOrg::Part::List loadParts( KOrg::MainWindow *parent );
void addXMLGUIClient( TQWidget*, KXMLGUIClient *guiclient );
void removeXMLGUIClient( TQWidget* );
@@ -70,7 +70,7 @@ class KDE_EXPORT KOCore
Unload the parts in &p parts for this main window. Clears
parts.
*/
- void unloadParts( KOrg::MainWindow *tqparent, KOrg::Part::List &parts );
+ void unloadParts( KOrg::MainWindow *parent, KOrg::Part::List &parts );
void unloadPlugins();
void reloadPlugins();
@@ -79,7 +79,7 @@ class KDE_EXPORT KOCore
Unloads the parts from the main window. Loads the parts that
are listed in KOPrefs and returns a list of these parts.
*/
- KOrg::Part::List reloadParts( KOrg::MainWindow *tqparent,
+ KOrg::Part::List reloadParts( KOrg::MainWindow *parent,
KOrg::Part::List &parts );
KPIM::IdentityManager* identityManager();
diff --git a/korganizer/kocounterdialog.cpp b/korganizer/kocounterdialog.cpp
index 1490b804..883aba87 100644
--- a/korganizer/kocounterdialog.cpp
+++ b/korganizer/kocounterdialog.cpp
@@ -32,8 +32,8 @@
#include "kocounterdialog.h"
#include "kocounterdialog.moc"
-KOCounterDialog::KOCounterDialog( Calendar *calendar, TQWidget *tqparent, const char *name )
- : KDialogBase( tqparent, name, false, i18n("Counter-Event Viewer"),
+KOCounterDialog::KOCounterDialog( Calendar *calendar, TQWidget *parent, const char *name )
+ : KDialogBase( parent, name, false, i18n("Counter-Event Viewer"),
User1 | User2, User1, false, i18n("Decline"), i18n("Accept") )
{
mEventViewer = new KOEventViewer( calendar, this );
diff --git a/korganizer/kocounterdialog.h b/korganizer/kocounterdialog.h
index c18f9153..14a45433 100644
--- a/korganizer/kocounterdialog.h
+++ b/korganizer/kocounterdialog.h
@@ -41,7 +41,7 @@ class KOCounterDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- KOCounterDialog(Calendar *calendar, TQWidget *tqparent = 0, const char *name = 0 );
+ KOCounterDialog(Calendar *calendar, TQWidget *parent = 0, const char *name = 0 );
virtual ~KOCounterDialog();
void setIncidence( Incidence *incidence );
diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp
index 89e86916..0e921e44 100644
--- a/korganizer/kodaymatrix.cpp
+++ b/korganizer/kodaymatrix.cpp
@@ -64,10 +64,10 @@
// D Y N A M I C T I P
// ============================================================================
-DynamicTip::DynamicTip( TQWidget * tqparent )
- : TQToolTip( tqparent )
+DynamicTip::DynamicTip( TQWidget * parent )
+ : TQToolTip( parent )
{
- mMatrix = static_cast<KODayMatrix *>( tqparent );
+ mMatrix = static_cast<KODayMatrix *>( parent );
}
@@ -99,8 +99,8 @@ void DynamicTip::maybeTip( const TQPoint &pos )
const int KODayMatrix::NOSELECTION = -1000;
const int KODayMatrix::NUMDAYS = 42;
-KODayMatrix::KODayMatrix( TQWidget *tqparent, const char *name )
- : TQFrame( tqparent, name ), mCalendar( 0 ), mStartDate(), mPendingChanges( false )
+KODayMatrix::KODayMatrix( TQWidget *parent, const char *name )
+ : TQFrame( parent, name ), mCalendar( 0 ), mStartDate(), mPendingChanges( false )
{
// initialize dynamic arrays
mDays = new TQDate[ NUMDAYS ];
diff --git a/korganizer/kodaymatrix.h b/korganizer/kodaymatrix.h
index 443ecc0e..37a48ebd 100644
--- a/korganizer/kodaymatrix.h
+++ b/korganizer/kodaymatrix.h
@@ -57,11 +57,11 @@ class DynamicTip : public TQToolTip
{
public:
/**
- * Constructor that expects a KODayMatrix object as tqparent.
+ * Constructor that expects a KODayMatrix object as parent.
*
- * @param tqparent the tqparent KODayMatrix control.
+ * @param parent the parent KODayMatrix control.
*/
- DynamicTip( TQWidget *tqparent );
+ DynamicTip( TQWidget *parent );
protected:
/**
@@ -73,7 +73,7 @@ class DynamicTip : public TQToolTip
void maybeTip( const TQPoint &pos );
private:
- /** the tqparent control this tooltip is designed for. */
+ /** the parent control this tooltip is designed for. */
KODayMatrix *mMatrix;
};
@@ -109,11 +109,11 @@ class KODayMatrix: public TQFrame, public KCal::Calendar::Observer
public:
/** constructor to create a day matrix widget.
*
- * @param tqparent widget that is the tqparent of the day matrix.
+ * @param parent widget that is the parent of the day matrix.
* Normally this should be a KDateNavigator
* @param name name of the widget
*/
- KODayMatrix( TQWidget *tqparent, const char *name );
+ KODayMatrix( TQWidget *parent, const char *name );
/** destructor that deallocates all dynamically allocated private members.
*/
diff --git a/korganizer/kodialogmanager.cpp b/korganizer/kodialogmanager.cpp
index 296bde57..9ceb1979 100644
--- a/korganizer/kodialogmanager.cpp
+++ b/korganizer/kodialogmanager.cpp
@@ -90,7 +90,7 @@ KODialogManager::KODialogManager( CalendarView *mainView ) :
mFilterEditDialog = 0;
mCategoryEditDialog = new KPIM::CategoryEditDialog( KOPrefs::instance(), mMainView );
- // don't set any specific tqparent for the dialog, as its kept around and reused
+ // don't set any specific parent for the dialog, as its kept around and reused
// in different cases where it should have different parents
KWin::setMainWindow( mCategoryEditDialog, 0 );
connect( mainView, TQT_SIGNAL( categoriesChanged() ),
@@ -108,9 +108,9 @@ KODialogManager::~KODialogManager()
delete mFilterEditDialog;
}
-void KODialogManager::errorSaveIncidence( TQWidget *tqparent, Incidence *incidence )
+void KODialogManager::errorSaveIncidence( TQWidget *parent, Incidence *incidence )
{
- KMessageBox::sorry( tqparent, i18n("Unable to save %1 \"%2\".")
+ KMessageBox::sorry( parent, i18n("Unable to save %1 \"%2\".")
.tqarg( i18n( incidence->type() ) )
.tqarg( incidence->summary() ) );
}
diff --git a/korganizer/kodialogmanager.h b/korganizer/kodialogmanager.h
index b078e01d..1434e8da 100644
--- a/korganizer/kodialogmanager.h
+++ b/korganizer/kodialogmanager.h
@@ -70,7 +70,7 @@ class KODialogManager : public TQObject
void connectTypeAhead( KOEventEditor *editor, KOrg::AgendaView *agenda );
- static void errorSaveIncidence( TQWidget *tqparent, Incidence *incidence );
+ static void errorSaveIncidence( TQWidget *parent, Incidence *incidence );
public slots:
void showOptionsDialog();
diff --git a/korganizer/koeditoralarms.cpp b/korganizer/koeditoralarms.cpp
index 8c416851..4211e93a 100644
--- a/korganizer/koeditoralarms.cpp
+++ b/korganizer/koeditoralarms.cpp
@@ -54,7 +54,7 @@
class AlarmListViewItem : public TQListViewItem
{
public:
- AlarmListViewItem( TQListView *tqparent, KCal::Alarm *alarm, const TQCString &inctype );
+ AlarmListViewItem( TQListView *parent, KCal::Alarm *alarm, const TQCString &inctype );
virtual ~AlarmListViewItem();
KCal::Alarm *alarm() const { return mAlarm; }
void construct();
@@ -67,9 +67,9 @@ class AlarmListViewItem : public TQListViewItem
TQCString mIncType;
};
-AlarmListViewItem::AlarmListViewItem( TQListView *tqparent, KCal::Alarm *alarm,
+AlarmListViewItem::AlarmListViewItem( TQListView *parent, KCal::Alarm *alarm,
const TQCString &inctype )
- : TQListViewItem( tqparent ), mIncType( inctype )
+ : TQListViewItem( parent ), mIncType( inctype )
{
if ( alarm ) {
mAlarm = new KCal::Alarm( *alarm );
@@ -188,9 +188,9 @@ void AlarmListViewItem::construct()
KOEditorAlarms::KOEditorAlarms( const TQCString &type,
- KCal::Alarm::List *alarms, TQWidget *tqparent,
+ KCal::Alarm::List *alarms, TQWidget *parent,
const char *name )
- : KDialogBase( tqparent, name, true, i18n("Advanced Reminders"), Ok | Cancel ),
+ : KDialogBase( parent, name, true, i18n("Advanced Reminders"), Ok | Cancel ),
mType( type ), mAlarms( alarms ),mCurrentItem( 0 )
{
if ( mType != "Todo" ) {
diff --git a/korganizer/koeditoralarms.h b/korganizer/koeditoralarms.h
index 399a4693..4454a587 100644
--- a/korganizer/koeditoralarms.h
+++ b/korganizer/koeditoralarms.h
@@ -37,7 +37,7 @@ class KOEditorAlarms : public KDialogBase
TQ_OBJECT
public:
KOEditorAlarms( const TQCString &type,
- KCal::Alarm::List *alarms, TQWidget *tqparent = 0,
+ KCal::Alarm::List *alarms, TQWidget *parent = 0,
const char *name = 0 );
~KOEditorAlarms();
diff --git a/korganizer/koeditorattachments.cpp b/korganizer/koeditorattachments.cpp
index d6534db3..a127885e 100644
--- a/korganizer/koeditorattachments.cpp
+++ b/korganizer/koeditorattachments.cpp
@@ -73,8 +73,8 @@
class AttachmentListItem : public KIconViewItem
{
public:
- AttachmentListItem( KCal::Attachment*att, TQIconView *tqparent ) :
- KIconViewItem( tqparent )
+ AttachmentListItem( KCal::Attachment*att, TQIconView *parent ) :
+ KIconViewItem( parent )
{
if ( att ) {
mAttachment = new KCal::Attachment( *att );
@@ -164,8 +164,8 @@ class AttachmentListItem : public KIconViewItem
};
AttachmentEditDialog::AttachmentEditDialog( AttachmentListItem *item,
- TQWidget *tqparent )
- : KDialogBase ( Plain, i18n( "Add Attachment" ), Ok|Cancel, Ok, tqparent, 0, false, false ),
+ TQWidget *parent )
+ : KDialogBase ( Plain, i18n( "Add Attachment" ), Ok|Cancel, Ok, parent, 0, false, false ),
mItem( item ), mURLRequester( 0 )
{
TQFrame *topFrame = plainPage();
@@ -313,9 +313,9 @@ void AttachmentEditDialog::urlSelected( const TQString &url )
mIcon->setPixmap( AttachmentListItem::icon( mMimeType, kurl.path() ) );
}
-AttachmentIconView::AttachmentIconView( KOEditorAttachments* tqparent )
- : KIconView( tqparent ),
- mParent( tqparent )
+AttachmentIconView::AttachmentIconView( KOEditorAttachments* parent )
+ : KIconView( parent ),
+ mParent( parent )
{
setSelectionMode( TQIconView::Extended );
setMode( KIconView::Select );
@@ -447,9 +447,9 @@ void AttachmentIconView::dragEnterEvent( TQDragEnterEvent *event )
mParent->dragEnterEvent( event );
}
-KOEditorAttachments::KOEditorAttachments( int spacing, TQWidget *tqparent,
+KOEditorAttachments::KOEditorAttachments( int spacing, TQWidget *parent,
const char *name )
- : TQWidget( tqparent, name )
+ : TQWidget( parent, name )
{
TQBoxLayout *topLayout = new TQHBoxLayout( this );
topLayout->setSpacing( spacing );
diff --git a/korganizer/koeditorattachments.h b/korganizer/koeditorattachments.h
index b5df45c6..a95c4999 100644
--- a/korganizer/koeditorattachments.h
+++ b/korganizer/koeditorattachments.h
@@ -59,7 +59,7 @@ class AttachmentEditDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- AttachmentEditDialog( AttachmentListItem *item, TQWidget *tqparent=0 );
+ AttachmentEditDialog( AttachmentListItem *item, TQWidget *parent=0 );
void accept();
@@ -83,7 +83,7 @@ class KOEditorAttachments : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- KOEditorAttachments( int spacing = 8, TQWidget *tqparent = 0,
+ KOEditorAttachments( int spacing = 8, TQWidget *parent = 0,
const char *name = 0 );
~KOEditorAttachments();
@@ -156,7 +156,7 @@ class AttachmentIconView : public KIconView
friend class KOEditorAttachments;
public:
- AttachmentIconView( KOEditorAttachments* tqparent=0 );
+ AttachmentIconView( KOEditorAttachments* parent=0 );
KURL tempFileForAttachment( KCal::Attachment *attachment );
TQDragObject *mimeData();
~AttachmentIconView();
diff --git a/korganizer/koeditordetails.cpp b/korganizer/koeditordetails.cpp
index 40b0168d..d5f397f3 100644
--- a/korganizer/koeditordetails.cpp
+++ b/korganizer/koeditordetails.cpp
@@ -91,8 +91,8 @@ void CustomListViewItem<KCal::Attendee *>::updateItem()
setText(6, mData->delegator());
}
-KOAttendeeListView::KOAttendeeListView ( TQWidget *tqparent, const char *name )
- : KListView(tqparent, name)
+KOAttendeeListView::KOAttendeeListView ( TQWidget *parent, const char *name )
+ : KListView(parent, name)
{
setAcceptDrops( true );
setAllColumnsShowFocus( true );
@@ -178,9 +178,9 @@ void KOAttendeeListView::dropEvent( TQDropEvent *e )
}
-KOEditorDetails::KOEditorDetails( int spacing, TQWidget *tqparent,
+KOEditorDetails::KOEditorDetails( int spacing, TQWidget *parent,
const char *name )
- : KOAttendeeEditor( tqparent, name), mDisableItemUpdate( false )
+ : KOAttendeeEditor( parent, name), mDisableItemUpdate( false )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
topLayout->setSpacing( spacing );
diff --git a/korganizer/koeditordetails.h b/korganizer/koeditordetails.h
index 697c4640..b03d0a1b 100644
--- a/korganizer/koeditordetails.h
+++ b/korganizer/koeditordetails.h
@@ -62,7 +62,7 @@ class KOAttendeeListView : public KListView
Q_OBJECT
TQ_OBJECT
public:
- KOAttendeeListView (TQWidget *tqparent=0, const char *name=0);
+ KOAttendeeListView (TQWidget *parent=0, const char *name=0);
virtual ~KOAttendeeListView();
virtual void addAttendee( const TQString& newAttendee );
public slots:
@@ -81,7 +81,7 @@ class KOEditorDetails : public KOAttendeeEditor
Q_OBJECT
TQ_OBJECT
public:
- KOEditorDetails (int spacing = 8,TQWidget* tqparent = 0, const char* name = 0);
+ KOEditorDetails (int spacing = 8,TQWidget* parent = 0, const char* name = 0);
virtual ~KOEditorDetails();
/** Set widgets to default values */
diff --git a/korganizer/koeditorfreebusy.cpp b/korganizer/koeditorfreebusy.cpp
index 36250993..70234dcc 100644
--- a/korganizer/koeditorfreebusy.cpp
+++ b/korganizer/koeditorfreebusy.cpp
@@ -69,8 +69,8 @@
class FreeBusyItem : public KDGanttViewTaskItem
{
public:
- FreeBusyItem( Attendee *attendee, KDGanttView *tqparent ) :
- KDGanttViewTaskItem( tqparent, tqparent->lastItem() ), mAttendee( attendee ), mTimerID( 0 ),
+ FreeBusyItem( Attendee *attendee, KDGanttView *parent ) :
+ KDGanttViewTaskItem( parent, parent->lastItem() ), mAttendee( attendee ), mTimerID( 0 ),
mIsDownloading( false )
{
Q_ASSERT( attendee );
@@ -222,9 +222,9 @@ void FreeBusyItem::setFreeBusyPeriods( FreeBusy* fb )
////
-KOEditorFreeBusy::KOEditorFreeBusy( int spacing, TQWidget *tqparent,
+KOEditorFreeBusy::KOEditorFreeBusy( int spacing, TQWidget *parent,
const char *name )
- : KOAttendeeEditor( tqparent, name )
+ : KOAttendeeEditor( parent, name )
{
TQVBoxLayout *topLayout = new TQVBoxLayout( this );
topLayout->setSpacing( spacing );
diff --git a/korganizer/koeditorfreebusy.h b/korganizer/koeditorfreebusy.h
index ec870d22..98e789c6 100644
--- a/korganizer/koeditorfreebusy.h
+++ b/korganizer/koeditorfreebusy.h
@@ -47,7 +47,7 @@ class KOEditorFreeBusy : public KOAttendeeEditor
Q_OBJECT
TQ_OBJECT
public:
- KOEditorFreeBusy( int spacing = 8, TQWidget *tqparent = 0,
+ KOEditorFreeBusy( int spacing = 8, TQWidget *parent = 0,
const char *name = 0 );
virtual ~KOEditorFreeBusy();
diff --git a/korganizer/koeditorgeneral.cpp b/korganizer/koeditorgeneral.cpp
index afbda615..c19775e5 100644
--- a/korganizer/koeditorgeneral.cpp
+++ b/korganizer/koeditorgeneral.cpp
@@ -68,8 +68,8 @@
#include "koeditorgeneral.moc"
#include "kohelper.h"
-KOEditorGeneral::KOEditorGeneral( TQObject *tqparent, const char* name) :
- TQObject( tqparent, name ), mAttachments(0)
+KOEditorGeneral::KOEditorGeneral( TQObject *parent, const char* name) :
+ TQObject( parent, name ), mAttachments(0)
{
mType = "Event";
ResourceCached::setEditorWindowOpen(true);
@@ -82,8 +82,8 @@ KOEditorGeneral::~KOEditorGeneral()
}
-FocusLineEdit::FocusLineEdit( TQWidget *tqparent )
- : TQLineEdit( tqparent ), mSkipFirst( true )
+FocusLineEdit::FocusLineEdit( TQWidget *parent )
+ : TQLineEdit( parent ), mSkipFirst( true )
{
}
@@ -98,37 +98,37 @@ void FocusLineEdit::focusInEvent ( TQFocusEvent *e )
}
-void KOEditorGeneral::initHeader( TQWidget *tqparent,TQBoxLayout *topLayout)
+void KOEditorGeneral::initHeader( TQWidget *parent,TQBoxLayout *topLayout)
{
TQGridLayout *headerLayout = new TQGridLayout();
headerLayout->setSpacing( topLayout->spacing() );
topLayout->addLayout( headerLayout );
TQString whatsThis = i18n("Sets the Title of this event or to-do.");
- TQLabel *summaryLabel = new TQLabel( i18n("T&itle:"), tqparent );
+ TQLabel *summaryLabel = new TQLabel( i18n("T&itle:"), parent );
TQWhatsThis::add( summaryLabel, whatsThis );
TQFont f = summaryLabel->font();
f.setBold( true );
summaryLabel->setFont(f);
headerLayout->addWidget(summaryLabel,1,0);
- mSummaryEdit = new FocusLineEdit( tqparent );
+ mSummaryEdit = new FocusLineEdit( parent );
TQWhatsThis::add( mSummaryEdit, whatsThis );
connect( mSummaryEdit, TQT_SIGNAL( focusReceivedSignal() ),
TQT_SIGNAL( focusReceivedSignal() ) );
headerLayout->addWidget(mSummaryEdit,1,1);
summaryLabel->setBuddy( mSummaryEdit );
- mAttendeeSummaryLabel = new TQLabel( tqparent );
+ mAttendeeSummaryLabel = new TQLabel( parent );
updateAttendeeSummary( 0 );
headerLayout->addWidget( mAttendeeSummaryLabel, 1, 2 );
whatsThis = i18n("Sets where the event or to-do will take place.");
- TQLabel *locationLabel = new TQLabel( i18n("&Location:"), tqparent );
+ TQLabel *locationLabel = new TQLabel( i18n("&Location:"), parent );
TQWhatsThis::add( locationLabel, whatsThis );
headerLayout->addWidget(locationLabel,2,0);
- mLocationEdit = new TQLineEdit( tqparent );
+ mLocationEdit = new TQLineEdit( parent );
TQWhatsThis::add( mLocationEdit, whatsThis );
headerLayout->addMultiCellWidget( mLocationEdit, 2, 2, 1, 2 );
locationLabel->setBuddy( mLocationEdit );
@@ -136,31 +136,31 @@ void KOEditorGeneral::initHeader( TQWidget *tqparent,TQBoxLayout *topLayout)
TQBoxLayout *thirdLineLayout = new TQHBoxLayout();
headerLayout->addMultiCellLayout( thirdLineLayout, 3, 3, 0, 2 );
- mResourceLabel = new TQLabel( tqparent );
+ mResourceLabel = new TQLabel( parent );
mResourceLabel->hide();
thirdLineLayout->addWidget( mResourceLabel );
whatsThis = i18n("Allows you to select the categories that this event or to-do belongs to.");
- TQLabel *categoriesLabel = new TQLabel( i18n("Categories:"), tqparent );
+ TQLabel *categoriesLabel = new TQLabel( i18n("Categories:"), parent );
TQWhatsThis::add( categoriesLabel, whatsThis );
thirdLineLayout->addWidget( categoriesLabel );
- mCategoriesLabel = new KSqueezedTextLabel( tqparent );
+ mCategoriesLabel = new KSqueezedTextLabel( parent );
TQWhatsThis::add( mCategoriesLabel, whatsThis );
mCategoriesLabel->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
thirdLineLayout->addWidget( mCategoriesLabel );
- mCategoriesButton = new TQPushButton( tqparent );
+ mCategoriesButton = new TQPushButton( parent );
mCategoriesButton->setText(i18n("Select..."));
TQWhatsThis::add( mCategoriesButton, whatsThis );
connect(mCategoriesButton,TQT_SIGNAL(clicked()),TQT_SLOT(selectCategories()));
thirdLineLayout->addWidget( mCategoriesButton );
}
-void KOEditorGeneral::initSecrecy(TQWidget *tqparent, TQBoxLayout *topLayout)
+void KOEditorGeneral::initSecrecy(TQWidget *parent, TQBoxLayout *topLayout)
{
TQBoxLayout *secrecyLayout = new TQHBoxLayout( topLayout );
- TQLabel *secrecyLabel = new TQLabel(i18n("Acc&ess:"),tqparent);
+ TQLabel *secrecyLabel = new TQLabel(i18n("Acc&ess:"),parent);
TQString whatsThis = i18n("Sets whether the access to this event or to-do "
"is restricted. Please note that KOrganizer "
"currently does not use this setting, so the "
@@ -171,16 +171,16 @@ void KOEditorGeneral::initSecrecy(TQWidget *tqparent, TQBoxLayout *topLayout)
TQWhatsThis::add( secrecyLabel, whatsThis );
secrecyLayout->addWidget(secrecyLabel);
- mSecrecyCombo = new TQComboBox(tqparent);
+ mSecrecyCombo = new TQComboBox(parent);
TQWhatsThis::add( mSecrecyCombo, whatsThis );
mSecrecyCombo->insertStringList(Incidence::secrecyList());
secrecyLayout->addWidget(mSecrecyCombo);
secrecyLabel->setBuddy( mSecrecyCombo );
}
-void KOEditorGeneral::initDescription(TQWidget *tqparent,TQBoxLayout *topLayout)
+void KOEditorGeneral::initDescription(TQWidget *parent,TQBoxLayout *topLayout)
{
- mDescriptionEdit = new KTextEdit(tqparent);
+ mDescriptionEdit = new KTextEdit(parent);
TQWhatsThis::add( mDescriptionEdit,
i18n("Sets the description for this event or to-do. This "
"will be displayed in a reminder if one is set, "
@@ -194,16 +194,16 @@ void KOEditorGeneral::initDescription(TQWidget *tqparent,TQBoxLayout *topLayout)
topLayout->addWidget(mDescriptionEdit, 4);
}
-void KOEditorGeneral::initAlarm( TQWidget *tqparent, TQBoxLayout *topLayout )
+void KOEditorGeneral::initAlarm( TQWidget *parent, TQBoxLayout *topLayout )
{
TQBoxLayout *alarmLayout = new TQHBoxLayout( topLayout );
- mAlarmButton = new TQCheckBox( tqparent );
+ mAlarmButton = new TQCheckBox( parent );
TQWhatsThis::add( mAlarmButton, i18n( "Enable reminders for this event or to-do." ) );
TQToolTip::add( mAlarmButton, i18n( "Enable reminders" ) );
alarmLayout->addWidget( mAlarmButton );
- mAlarmAdvancedButton = new TQPushButton( tqparent );
+ mAlarmAdvancedButton = new TQPushButton( parent );
mAlarmAdvancedButton->setIconSet( KOGlobals::self()->smallIconSet( "bell", 16 ) );
TQWhatsThis::add( mAlarmAdvancedButton,
i18n( "Push this button to create an advanced set of reminders "
@@ -212,7 +212,7 @@ void KOEditorGeneral::initAlarm( TQWidget *tqparent, TQBoxLayout *topLayout )
connect( mAlarmAdvancedButton, TQT_SIGNAL(clicked()), TQT_SLOT(editAlarms()) );
alarmLayout->addWidget( mAlarmAdvancedButton );
- mSimpleAlarmBox = new TQHBox( tqparent );
+ mSimpleAlarmBox = new TQHBox( parent );
alarmLayout->addWidget( mSimpleAlarmBox );
TQString whatsThis, toolTip;
@@ -235,7 +235,7 @@ void KOEditorGeneral::initAlarm( TQWidget *tqparent, TQBoxLayout *topLayout )
TQWhatsThis::add( mAlarmIncrCombo, whatsThis );
TQToolTip::add( mAlarmIncrCombo, toolTip );
- mAlarmInfoLabel = new TQLabel( tqparent );
+ mAlarmInfoLabel = new TQLabel( parent );
if ( mType == "Event" ) {
mAlarmInfoLabel->setText( i18n( "before the start" ) );
} else {
@@ -253,9 +253,9 @@ void KOEditorGeneral::initAlarm( TQWidget *tqparent, TQBoxLayout *topLayout )
connect( mAlarmButton, TQT_SIGNAL(toggled(bool)), mAlarmInfoLabel, TQT_SLOT(setEnabled(bool)) );
}
-void KOEditorGeneral::initAttachments(TQWidget *tqparent,TQBoxLayout *topLayout)
+void KOEditorGeneral::initAttachments(TQWidget *parent,TQBoxLayout *topLayout)
{
- mAttachments = new KOEditorAttachments( KDialog::spacingHint(), tqparent );
+ mAttachments = new KOEditorAttachments( KDialog::spacingHint(), parent );
connect( mAttachments, TQT_SIGNAL( openURL( const KURL & ) ) ,
this, TQT_SIGNAL( openURL( const KURL & ) ) );
topLayout->addWidget( mAttachments, 1 );
diff --git a/korganizer/koeditorgeneral.h b/korganizer/koeditorgeneral.h
index d67305cf..69d986e1 100644
--- a/korganizer/koeditorgeneral.h
+++ b/korganizer/koeditorgeneral.h
@@ -51,7 +51,7 @@ class FocusLineEdit : public TQLineEdit
Q_OBJECT
TQ_OBJECT
public:
- FocusLineEdit( TQWidget *tqparent );
+ FocusLineEdit( TQWidget *parent );
signals:
void focusReceivedSignal();
@@ -68,10 +68,10 @@ class KOEditorGeneral : public TQObject
Q_OBJECT
TQ_OBJECT
public:
- KOEditorGeneral (TQObject* tqparent=0,const char* name=0);
+ KOEditorGeneral (TQObject* parent=0,const char* name=0);
virtual ~KOEditorGeneral();
- void initHeader( TQWidget *tqparent,TQBoxLayout *topLayout );
+ void initHeader( TQWidget *parent,TQBoxLayout *topLayout );
void initDescription(TQWidget *,TQBoxLayout *);
void initSecrecy(TQWidget *,TQBoxLayout *);
void initAlarm(TQWidget *,TQBoxLayout *);
diff --git a/korganizer/koeditorgeneralevent.cpp b/korganizer/koeditorgeneralevent.cpp
index 0849682e..a3154781 100644
--- a/korganizer/koeditorgeneralevent.cpp
+++ b/korganizer/koeditorgeneralevent.cpp
@@ -56,9 +56,9 @@
#include "koeditorgeneralevent.h"
#include "koeditorgeneralevent.moc"
-KOEditorGeneralEvent::KOEditorGeneralEvent(TQObject* tqparent,
+KOEditorGeneralEvent::KOEditorGeneralEvent(TQObject* parent,
const char* name) :
- KOEditorGeneral( tqparent, name)
+ KOEditorGeneral( parent, name)
{
connect( this, TQT_SIGNAL( dateTimesChanged( const TQDateTime &, const TQDateTime & )),
TQT_SLOT( setDuration() ) );
@@ -91,12 +91,12 @@ void KOEditorGeneralEvent::finishSetup()
mSummaryEdit->setFocus();
}
-void KOEditorGeneralEvent::initTime(TQWidget *tqparent,TQBoxLayout *topLayout)
+void KOEditorGeneralEvent::initTime(TQWidget *parent,TQBoxLayout *topLayout)
{
TQBoxLayout *timeLayout = new TQVBoxLayout(topLayout);
TQGroupBox *timeGroupBox = new TQGroupBox(1,Qt::Horizontal,
- i18n("Date && Time"),tqparent);
+ i18n("Date && Time"),parent);
TQWhatsThis::add( timeGroupBox,
i18n("Sets options related to the date and time of the "
"event or to-do.") );
@@ -175,17 +175,17 @@ void KOEditorGeneralEvent::initTime(TQWidget *tqparent,TQBoxLayout *topLayout)
initClass( timeBoxFrame, classLayout );
}
-void KOEditorGeneralEvent::initClass(TQWidget *tqparent,TQBoxLayout *topLayout)
+void KOEditorGeneralEvent::initClass(TQWidget *parent,TQBoxLayout *topLayout)
{
TQBoxLayout *classLayout = new TQHBoxLayout(topLayout);
- TQLabel *freeTimeLabel = new TQLabel(i18n("S&how time as:"),tqparent);
+ TQLabel *freeTimeLabel = new TQLabel(i18n("S&how time as:"),parent);
TQString whatsThis = i18n("Sets how this time will appear on your Free/Busy "
"information.");
TQWhatsThis::add( freeTimeLabel, whatsThis );
classLayout->addWidget(freeTimeLabel);
- mFreeTimeCombo = new TQComboBox(false, tqparent);
+ mFreeTimeCombo = new TQComboBox(false, parent);
TQWhatsThis::add( mFreeTimeCombo, whatsThis );
mFreeTimeCombo->insertItem(i18n("Busy"));
mFreeTimeCombo->insertItem(i18n("Free"));
@@ -193,10 +193,10 @@ void KOEditorGeneralEvent::initClass(TQWidget *tqparent,TQBoxLayout *topLayout)
freeTimeLabel->setBuddy( mFreeTimeCombo );
}
-void KOEditorGeneralEvent::initInvitationBar(TQWidget * tqparent, TQBoxLayout * tqlayout)
+void KOEditorGeneralEvent::initInvitationBar(TQWidget * parent, TQBoxLayout * tqlayout)
{
TQBoxLayout *topLayout = new TQHBoxLayout( tqlayout );
- mInvitationBar = new TQFrame( tqparent );
+ mInvitationBar = new TQFrame( parent );
mInvitationBar->setPaletteBackgroundColor( KGlobalSettings::alternateBackgroundColor() );
topLayout->addWidget( mInvitationBar );
diff --git a/korganizer/koeditorgeneralevent.h b/korganizer/koeditorgeneralevent.h
index 83b09ecc..734826eb 100644
--- a/korganizer/koeditorgeneralevent.h
+++ b/korganizer/koeditorgeneralevent.h
@@ -44,12 +44,12 @@ class KOEditorGeneralEvent : public KOEditorGeneral
Q_OBJECT
TQ_OBJECT
public:
- KOEditorGeneralEvent (TQObject* tqparent=0,const char* name=0);
+ KOEditorGeneralEvent (TQObject* parent=0,const char* name=0);
virtual ~KOEditorGeneralEvent();
void initTime(TQWidget *,TQBoxLayout *);
void initClass(TQWidget *,TQBoxLayout *);
- void initInvitationBar( TQWidget* tqparent, TQBoxLayout *tqlayout );
+ void initInvitationBar( TQWidget* parent, TQBoxLayout *tqlayout );
void finishSetup();
diff --git a/korganizer/koeditorgeneraljournal.cpp b/korganizer/koeditorgeneraljournal.cpp
index 2211c97d..25372ba4 100644
--- a/korganizer/koeditorgeneraljournal.cpp
+++ b/korganizer/koeditorgeneraljournal.cpp
@@ -45,9 +45,9 @@
#include <tqwhatsthis.h>
-KOEditorGeneralJournal::KOEditorGeneralJournal( TQWidget *tqparent,
+KOEditorGeneralJournal::KOEditorGeneralJournal( TQWidget *parent,
const char *name )
- : KOEditorGeneral( TQT_TQOBJECT(tqparent), name )
+ : KOEditorGeneral( TQT_TQOBJECT(parent), name )
{
setType( "Journal" );
}
@@ -56,43 +56,43 @@ KOEditorGeneralJournal::~KOEditorGeneralJournal()
{
}
-void KOEditorGeneralJournal::initTitle( TQWidget *tqparent, TQBoxLayout *topLayout )
+void KOEditorGeneralJournal::initTitle( TQWidget *parent, TQBoxLayout *topLayout )
{
TQHBoxLayout *hbox = new TQHBoxLayout( topLayout );
TQString whatsThis = i18n("Sets the title of this journal.");
- TQLabel *summaryLabel = new TQLabel( i18n("T&itle:"), tqparent );
+ TQLabel *summaryLabel = new TQLabel( i18n("T&itle:"), parent );
TQWhatsThis::add( summaryLabel, whatsThis );
TQFont f = summaryLabel->font();
f.setBold( true );
summaryLabel->setFont( f );
hbox->addWidget( summaryLabel );
- mSummaryEdit = new FocusLineEdit( tqparent );
+ mSummaryEdit = new FocusLineEdit( parent );
TQWhatsThis::add( mSummaryEdit, whatsThis );
summaryLabel->setBuddy( mSummaryEdit );
hbox->addWidget( mSummaryEdit );
}
-void KOEditorGeneralJournal::initDate( TQWidget *tqparent, TQBoxLayout *topLayout )
+void KOEditorGeneralJournal::initDate( TQWidget *parent, TQBoxLayout *topLayout )
{
// TQBoxLayout *dateLayout = new TQVBoxLayout(topLayout);
TQBoxLayout *dateLayout = new TQHBoxLayout( topLayout );
- mDateLabel = new TQLabel( i18n("&Date:"), tqparent);
+ mDateLabel = new TQLabel( i18n("&Date:"), parent);
dateLayout->addWidget( mDateLabel );
- mDateEdit = new KDateEdit( tqparent );
+ mDateEdit = new KDateEdit( parent );
dateLayout->addWidget( mDateEdit );
mDateLabel->setBuddy( mDateEdit );
dateLayout->addStretch();
- mTimeCheckBox = new TQCheckBox( i18n("&Time: "), tqparent );
+ mTimeCheckBox = new TQCheckBox( i18n("&Time: "), parent );
dateLayout->addWidget( mTimeCheckBox );
- mTimeEdit = new KTimeEdit( tqparent );
+ mTimeEdit = new KTimeEdit( parent );
dateLayout->addWidget( mTimeEdit );
connect( mTimeCheckBox, TQT_SIGNAL(toggled(bool)),
mTimeEdit, TQT_SLOT(setEnabled(bool)) );
@@ -120,9 +120,9 @@ kdDebug()<<"KOEditorGeneralJournal::setTime, time is valid"<<endl;
}
}
-void KOEditorGeneralJournal::initDescription( TQWidget *tqparent, TQBoxLayout *topLayout )
+void KOEditorGeneralJournal::initDescription( TQWidget *parent, TQBoxLayout *topLayout )
{
- mDescriptionEdit = new KTextEdit( tqparent );
+ mDescriptionEdit = new KTextEdit( parent );
mDescriptionEdit->append("");
mDescriptionEdit->setReadOnly( false );
mDescriptionEdit->setOverwriteMode( false );
diff --git a/korganizer/koeditorgeneraljournal.h b/korganizer/koeditorgeneraljournal.h
index f8155ea2..88288c30 100644
--- a/korganizer/koeditorgeneraljournal.h
+++ b/korganizer/koeditorgeneraljournal.h
@@ -50,12 +50,12 @@ class KOEditorGeneralJournal : public KOEditorGeneral
Q_OBJECT
TQ_OBJECT
public:
- KOEditorGeneralJournal ( TQWidget *tqparent=0, const char* name=0 );
+ KOEditorGeneralJournal ( TQWidget *parent=0, const char* name=0 );
virtual ~KOEditorGeneralJournal();
void initDate( TQWidget *, TQBoxLayout * );
void initDescription( TQWidget *, TQBoxLayout * );
- void initTitle( TQWidget *tqparent, TQBoxLayout *topLayout );
+ void initTitle( TQWidget *parent, TQBoxLayout *topLayout );
/** Set widgets to default values */
void setDefaults( const TQDate &date );
diff --git a/korganizer/koeditorgeneraltodo.cpp b/korganizer/koeditorgeneraltodo.cpp
index af001503..8fbca6e1 100644
--- a/korganizer/koeditorgeneraltodo.cpp
+++ b/korganizer/koeditorgeneraltodo.cpp
@@ -56,8 +56,8 @@
#include "koeditorgeneraltodo.h"
#include "koeditorgeneraltodo.moc"
-KOEditorGeneralTodo::KOEditorGeneralTodo( TQObject *tqparent, const char *name )
- : KOEditorGeneral( tqparent, name )
+KOEditorGeneralTodo::KOEditorGeneralTodo( TQObject *parent, const char *name )
+ : KOEditorGeneral( parent, name )
{
setType( "Todo" );
}
@@ -91,13 +91,13 @@ void KOEditorGeneralTodo::finishSetup()
mSummaryEdit->setFocus();
}
-void KOEditorGeneralTodo::initTime(TQWidget *tqparent,TQBoxLayout *topLayout)
+void KOEditorGeneralTodo::initTime(TQWidget *parent,TQBoxLayout *topLayout)
{
kdDebug(5850) << k_funcinfo << endl;
TQBoxLayout *timeLayout = new TQVBoxLayout(topLayout);
TQGroupBox *timeGroupBox = new TQGroupBox(1,Qt::Horizontal,
- i18n("Date && Time"),tqparent);
+ i18n("Date && Time"),parent);
timeLayout->addWidget(timeGroupBox);
TQFrame *timeBoxFrame = new TQFrame(timeGroupBox);
@@ -182,14 +182,14 @@ void KOEditorGeneralTodo::initTime(TQWidget *tqparent,TQBoxLayout *topLayout)
}
-void KOEditorGeneralTodo::initCompletion( TQWidget *tqparent, TQBoxLayout *topLayout )
+void KOEditorGeneralTodo::initCompletion( TQWidget *parent, TQBoxLayout *topLayout )
{
TQHBoxLayout *completionLayout = new TQHBoxLayout( topLayout );
- TQLabel *label = new TQLabel( i18n( "&Completed:" ), tqparent );
+ TQLabel *label = new TQLabel( i18n( "&Completed:" ), parent );
completionLayout->addWidget( label );
- mCompletedToggle = new TQCheckBox( tqparent );
+ mCompletedToggle = new TQCheckBox( parent );
TQToolTip::add( mCompletedToggle,
i18n( "Toggle between 0% and 100% complete" ) );
TQWhatsThis::add( mCompletedToggle,
@@ -199,7 +199,7 @@ void KOEditorGeneralTodo::initCompletion( TQWidget *tqparent, TQBoxLayout *topLa
completionLayout->addWidget( mCompletedToggle );
label->setBuddy( mCompletedToggle );
- mCompletedCombo = new TQComboBox( tqparent );
+ mCompletedCombo = new TQComboBox( parent );
TQToolTip::add( mCompletedCombo,
i18n( "Select the completed percentage" ) );
TQWhatsThis::add( mCompletedCombo,
@@ -212,25 +212,25 @@ void KOEditorGeneralTodo::initCompletion( TQWidget *tqparent, TQBoxLayout *topLa
connect( mCompletedCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(completedChanged(int)) );
completionLayout->addWidget( mCompletedCombo );
- mCompletedLabel = new TQLabel( i18n( "completed on", "on" ), tqparent );
+ mCompletedLabel = new TQLabel( i18n( "completed on", "on" ), parent );
mCompletedLabel->hide();
completionLayout->addWidget( mCompletedLabel );
- mCompletionDateEdit = new KDateEdit( tqparent );
+ mCompletionDateEdit = new KDateEdit( parent );
mCompletionDateEdit->hide();
completionLayout->addWidget( mCompletionDateEdit );
- mCompletionTimeEdit = new KTimeEdit( tqparent, TQTime() );
+ mCompletionTimeEdit = new KTimeEdit( parent, TQTime() );
mCompletionTimeEdit->hide();
completionLayout->addWidget( mCompletionTimeEdit );
}
-void KOEditorGeneralTodo::initPriority(TQWidget *tqparent, TQBoxLayout *topLayout)
+void KOEditorGeneralTodo::initPriority(TQWidget *parent, TQBoxLayout *topLayout)
{
- TQLabel *priorityLabel = new TQLabel( i18n( "&Priority:" ), tqparent );
+ TQLabel *priorityLabel = new TQLabel( i18n( "&Priority:" ), parent );
topLayout->addWidget( priorityLabel );
- mPriorityCombo = new TQComboBox( tqparent );
+ mPriorityCombo = new TQComboBox( parent );
TQToolTip::add( mPriorityCombo,
i18n( "Set the priority of the to-do" ) );
TQWhatsThis::add( mPriorityCombo,
@@ -252,15 +252,15 @@ void KOEditorGeneralTodo::initPriority(TQWidget *tqparent, TQBoxLayout *topLayou
priorityLabel->setBuddy( mPriorityCombo );
}
-void KOEditorGeneralTodo::initqStatus(TQWidget *tqparent,TQBoxLayout *topLayout)
+void KOEditorGeneralTodo::initqStatus(TQWidget *parent,TQBoxLayout *topLayout)
{
TQBoxLayout *statusLayout = new TQHBoxLayout(topLayout);
- initCompletion( tqparent, statusLayout );
+ initCompletion( parent, statusLayout );
statusLayout->addStretch( 1 );
- initPriority( tqparent, statusLayout );
+ initPriority( parent, statusLayout );
}
void KOEditorGeneralTodo::setDefaults( const TQDateTime &due, bool allDay )
diff --git a/korganizer/koeditorgeneraltodo.h b/korganizer/koeditorgeneraltodo.h
index cd50285e..27ffdc27 100644
--- a/korganizer/koeditorgeneraltodo.h
+++ b/korganizer/koeditorgeneraltodo.h
@@ -44,7 +44,7 @@ class KOEditorGeneralTodo : public KOEditorGeneral
Q_OBJECT
TQ_OBJECT
public:
- KOEditorGeneralTodo (TQObject* tqparent=0,const char* name=0);
+ KOEditorGeneralTodo (TQObject* parent=0,const char* name=0);
virtual ~KOEditorGeneralTodo();
void initTime(TQWidget *, TQBoxLayout *);
diff --git a/korganizer/koeditorrecurrence.cpp b/korganizer/koeditorrecurrence.cpp
index d55dfa3a..976a0326 100644
--- a/korganizer/koeditorrecurrence.cpp
+++ b/korganizer/koeditorrecurrence.cpp
@@ -60,8 +60,8 @@
/////////////////////////// RecurBase ///////////////////////////////
-RecurBase::RecurBase( TQWidget *tqparent, const char *name ) :
- TQWidget( tqparent, name )
+RecurBase::RecurBase( TQWidget *parent, const char *name ) :
+ TQWidget( parent, name )
{
mFrequencyEdit = new TQSpinBox( 1, 9999, 1, this );
mFrequencyEdit->setValue( 1 );
@@ -84,9 +84,9 @@ int RecurBase::frequency()
return mFrequencyEdit->value();
}
-TQComboBox *RecurBase::createWeekCountCombo( TQWidget *tqparent, const char *name )
+TQComboBox *RecurBase::createWeekCountCombo( TQWidget *parent, const char *name )
{
- TQComboBox *combo = new TQComboBox( tqparent, name );
+ TQComboBox *combo = new TQComboBox( parent, name );
TQWhatsThis::add( combo,
i18n("The number of the week from the beginning "
"of the month on which this event or to-do "
@@ -105,9 +105,9 @@ TQComboBox *RecurBase::createWeekCountCombo( TQWidget *tqparent, const char *nam
return combo;
}
-TQComboBox *RecurBase::createWeekdayCombo( TQWidget *tqparent, const char *name )
+TQComboBox *RecurBase::createWeekdayCombo( TQWidget *parent, const char *name )
{
- TQComboBox *combo = new TQComboBox( tqparent, name );
+ TQComboBox *combo = new TQComboBox( parent, name );
TQWhatsThis::add( combo,
i18n("The weekday on which this event or to-do "
"should recur.") );
@@ -119,9 +119,9 @@ TQComboBox *RecurBase::createWeekdayCombo( TQWidget *tqparent, const char *name
return combo;
}
-TQComboBox *RecurBase::createMonthNameCombo( TQWidget *tqparent, const char *name )
+TQComboBox *RecurBase::createMonthNameCombo( TQWidget *parent, const char *name )
{
- TQComboBox *combo = new TQComboBox( tqparent, name );
+ TQComboBox *combo = new TQComboBox( parent, name );
TQWhatsThis::add( combo,
i18n("The month during which this event or to-do "
"should recur.") );
@@ -135,13 +135,13 @@ TQComboBox *RecurBase::createMonthNameCombo( TQWidget *tqparent, const char *nam
return combo;
}
-TQBoxLayout *RecurBase::createFrequencySpinBar( TQWidget *tqparent, TQLayout *tqlayout,
+TQBoxLayout *RecurBase::createFrequencySpinBar( TQWidget *parent, TQLayout *tqlayout,
TQString everyText, TQString unitText )
{
TQBoxLayout *freqLayout = new TQHBoxLayout( tqlayout );
TQString whatsThis = i18n("Sets how often this event or to-do should recur.");
- TQLabel *preLabel = new TQLabel( everyText, tqparent );
+ TQLabel *preLabel = new TQLabel( everyText, parent );
TQWhatsThis::add( preLabel, whatsThis );
freqLayout->addWidget( preLabel );
@@ -149,7 +149,7 @@ TQBoxLayout *RecurBase::createFrequencySpinBar( TQWidget *tqparent, TQLayout *tq
preLabel->setBuddy( frequencyEdit() );
TQWhatsThis::add( preLabel->buddy(), whatsThis );
- TQLabel *postLabel = new TQLabel( unitText, tqparent );
+ TQLabel *postLabel = new TQLabel( unitText, parent );
TQWhatsThis::add( postLabel, whatsThis );
freqLayout->addWidget( postLabel );
freqLayout->addStretch();
@@ -158,8 +158,8 @@ TQBoxLayout *RecurBase::createFrequencySpinBar( TQWidget *tqparent, TQLayout *tq
/////////////////////////// RecurDaily ///////////////////////////////
-RecurDaily::RecurDaily( TQWidget *tqparent, const char *name ) :
- RecurBase( tqparent, name )
+RecurDaily::RecurDaily( TQWidget *parent, const char *name ) :
+ RecurBase( parent, name )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
topLayout->setSpacing( KDialog::spacingHint() );
@@ -170,8 +170,8 @@ RecurDaily::RecurDaily( TQWidget *tqparent, const char *name ) :
/////////////////////////// RecurWeekly ///////////////////////////////
-RecurWeekly::RecurWeekly( TQWidget *tqparent, const char *name ) :
- RecurBase( tqparent, name )
+RecurWeekly::RecurWeekly( TQWidget *parent, const char *name ) :
+ RecurBase( parent, name )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
topLayout->setSpacing( KDialog::spacingHint() );
@@ -223,8 +223,8 @@ TQBitArray RecurWeekly::days()
/////////////////////////// RecurMonthly ///////////////////////////////
-RecurMonthly::RecurMonthly( TQWidget *tqparent, const char *name ) :
- RecurBase( tqparent, name )
+RecurMonthly::RecurMonthly( TQWidget *parent, const char *name ) :
+ RecurBase( parent, name )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
topLayout->setSpacing( KDialog::spacingHint() );
@@ -396,8 +396,8 @@ int RecurMonthly::weekday()
/////////////////////////// RecurYearly ///////////////////////////////
-RecurYearly::RecurYearly( TQWidget *tqparent, const char *name ) :
- RecurBase( tqparent, name )
+RecurYearly::RecurYearly( TQWidget *parent, const char *name ) :
+ RecurBase( parent, name )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
topLayout->setSpacing( KDialog::spacingHint() );
@@ -573,8 +573,8 @@ int RecurYearly::day()
//////////////////////////// ExceptionsWidget //////////////////////////
-ExceptionsWidget::ExceptionsWidget( TQWidget *tqparent, const char *name ) :
- TQWidget( tqparent, name )
+ExceptionsWidget::ExceptionsWidget( TQWidget *parent, const char *name ) :
+ TQWidget( parent, name )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
@@ -675,8 +675,8 @@ DateList ExceptionsWidget::dates()
///////////////////////// ExceptionsDialog ///////////////////////////
-ExceptionsDialog::ExceptionsDialog( TQWidget *tqparent, const char *name ) :
- KDialogBase( tqparent, name, true, i18n("Edit Exceptions"), Ok|Cancel )
+ExceptionsDialog::ExceptionsDialog( TQWidget *parent, const char *name ) :
+ KDialogBase( parent, name, true, i18n("Edit Exceptions"), Ok|Cancel )
{
mExceptions = new ExceptionsWidget( this );
setMainWidget( mExceptions );
@@ -694,9 +694,9 @@ DateList ExceptionsDialog::dates()
///////////////////////// RecurrenceRangeWidget ///////////////////////////
-RecurrenceRangeWidget::RecurrenceRangeWidget( TQWidget *tqparent,
+RecurrenceRangeWidget::RecurrenceRangeWidget( TQWidget *parent,
const char *name )
- : TQWidget( tqparent, name )
+ : TQWidget( parent, name )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
@@ -829,9 +829,9 @@ void RecurrenceRangeWidget::setDateTimes( const TQDateTime &start,
///////////////////////// RecurrenceRangeDialog ///////////////////////////
-RecurrenceRangeDialog::RecurrenceRangeDialog( TQWidget *tqparent,
+RecurrenceRangeDialog::RecurrenceRangeDialog( TQWidget *parent,
const char *name ) :
- KDialogBase( tqparent, name, true, i18n("Edit Recurrence Range"), Ok|Cancel )
+ KDialogBase( parent, name, true, i18n("Edit Recurrence Range"), Ok|Cancel )
{
mRecurrenceRangeWidget = new RecurrenceRangeWidget( this );
setMainWidget( mRecurrenceRangeWidget );
@@ -870,8 +870,8 @@ void RecurrenceRangeDialog::setDateTimes( const TQDateTime &start,
//////////////////////////// RecurrenceChooser ////////////////////////
-RecurrenceChooser::RecurrenceChooser( TQWidget *tqparent, const char *name ) :
- TQWidget( tqparent, name )
+RecurrenceChooser::RecurrenceChooser( TQWidget *parent, const char *name ) :
+ TQWidget( parent, name )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
@@ -965,8 +965,8 @@ void RecurrenceChooser::emitChoice()
/////////////////////////////// Main Widget /////////////////////////////
-KOEditorRecurrence::KOEditorRecurrence( TQWidget* tqparent, const char *name ) :
- TQWidget( tqparent, name )
+KOEditorRecurrence::KOEditorRecurrence( TQWidget* parent, const char *name ) :
+ TQWidget( parent, name )
{
TQGridLayout *topLayout = new TQGridLayout( this );
topLayout->setSpacing( KDialog::spacingHint() );
@@ -1633,8 +1633,8 @@ void KOEditorRecurrence::restoreValues()
mExceptions->setDates( mSaveRec.exDates() );
}
-KOEditorRecurrenceDialog::KOEditorRecurrenceDialog(TQWidget * tqparent)
- : KDialogBase( tqparent, 0, false, i18n("Recurrence"), Ok|Cancel ), mRecurEnabled( false )
+KOEditorRecurrenceDialog::KOEditorRecurrenceDialog(TQWidget * parent)
+ : KDialogBase( parent, 0, false, i18n("Recurrence"), Ok|Cancel ), mRecurEnabled( false )
{
mRecurrence = new KOEditorRecurrence( this );
setMainWidget( mRecurrence );
diff --git a/korganizer/koeditorrecurrence.h b/korganizer/koeditorrecurrence.h
index 3060d660..1592f427 100644
--- a/korganizer/koeditorrecurrence.h
+++ b/korganizer/koeditorrecurrence.h
@@ -47,7 +47,7 @@ using namespace KCal;
class RecurBase : public TQWidget
{
public:
- RecurBase( TQWidget *tqparent = 0, const char *name = 0 );
+ RecurBase( TQWidget *parent = 0, const char *name = 0 );
void setFrequency( int );
int frequency();
@@ -58,10 +58,10 @@ class RecurBase : public TQWidget
TQWidget *frequencyEdit();
protected:
- static TQComboBox *createWeekCountCombo( TQWidget *tqparent=0, const char *name=0 );
- static TQComboBox *createWeekdayCombo( TQWidget *tqparent=0, const char *name=0 );
- static TQComboBox *createMonthNameCombo( TQWidget *tqparent=0, const char *name=0 );
- TQBoxLayout *createFrequencySpinBar( TQWidget *tqparent, TQLayout *tqlayout,
+ static TQComboBox *createWeekCountCombo( TQWidget *parent=0, const char *name=0 );
+ static TQComboBox *createWeekdayCombo( TQWidget *parent=0, const char *name=0 );
+ static TQComboBox *createMonthNameCombo( TQWidget *parent=0, const char *name=0 );
+ TQBoxLayout *createFrequencySpinBar( TQWidget *parent, TQLayout *tqlayout,
TQString everyText, TQString unitText );
private:
@@ -71,13 +71,13 @@ class RecurBase : public TQWidget
class RecurDaily : public RecurBase
{
public:
- RecurDaily( TQWidget *tqparent = 0, const char *name = 0 );
+ RecurDaily( TQWidget *parent = 0, const char *name = 0 );
};
class RecurWeekly : public RecurBase
{
public:
- RecurWeekly( TQWidget *tqparent = 0, const char *name = 0 );
+ RecurWeekly( TQWidget *parent = 0, const char *name = 0 );
void setDays( const TQBitArray & );
TQBitArray days();
@@ -89,7 +89,7 @@ class RecurWeekly : public RecurBase
class RecurMonthly : public RecurBase
{
public:
- RecurMonthly( TQWidget *tqparent = 0, const char *name = 0 );
+ RecurMonthly( TQWidget *parent = 0, const char *name = 0 );
void setByDay( int day );
void setByPos( int count, int weekday );
@@ -116,7 +116,7 @@ class RecurYearly : public RecurBase
public:
enum YearlyType { byDay, byPos, byMonth };
- RecurYearly( TQWidget *tqparent = 0, const char *name = 0 );
+ RecurYearly( TQWidget *parent = 0, const char *name = 0 );
void setByDay( int day );
void setByPos( int count, int weekday, int month );
@@ -151,7 +151,7 @@ class RecurrenceChooser : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- RecurrenceChooser( TQWidget *tqparent = 0, const char *name = 0 );
+ RecurrenceChooser( TQWidget *parent = 0, const char *name = 0 );
enum { Daily, Weekly, Monthly, Yearly };
@@ -185,7 +185,7 @@ class ExceptionsWidget : public TQWidget, public ExceptionsBase
Q_OBJECT
TQ_OBJECT
public:
- ExceptionsWidget( TQWidget *tqparent = 0, const char *name = 0 );
+ ExceptionsWidget( TQWidget *parent = 0, const char *name = 0 );
void setDates( const DateList & );
DateList dates();
@@ -204,7 +204,7 @@ class ExceptionsWidget : public TQWidget, public ExceptionsBase
class ExceptionsDialog : public KDialogBase, public ExceptionsBase
{
public:
- ExceptionsDialog( TQWidget *tqparent, const char *name = 0 );
+ ExceptionsDialog( TQWidget *parent, const char *name = 0 );
void setDates( const DateList & );
DateList dates();
@@ -233,7 +233,7 @@ class RecurrenceRangeWidget : public TQWidget, public RecurrenceRangeBase
Q_OBJECT
TQ_OBJECT
public:
- RecurrenceRangeWidget( TQWidget *tqparent = 0, const char *name = 0 );
+ RecurrenceRangeWidget( TQWidget *parent = 0, const char *name = 0 );
void setDefaults( const TQDateTime &from );
@@ -262,7 +262,7 @@ class RecurrenceRangeWidget : public TQWidget, public RecurrenceRangeBase
class RecurrenceRangeDialog : public KDialogBase, public RecurrenceRangeBase
{
public:
- RecurrenceRangeDialog( TQWidget *tqparent = 0, const char *name = 0 );
+ RecurrenceRangeDialog( TQWidget *parent = 0, const char *name = 0 );
void setDefaults( const TQDateTime &from );
@@ -284,7 +284,7 @@ class KOEditorRecurrence : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- KOEditorRecurrence ( TQWidget *tqparent = 0, const char *name = 0 );
+ KOEditorRecurrence ( TQWidget *parent = 0, const char *name = 0 );
virtual ~KOEditorRecurrence();
enum { Daily, Weekly, Monthly, Yearly };
@@ -351,7 +351,7 @@ class KOEditorRecurrenceDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- KOEditorRecurrenceDialog( TQWidget *tqparent );
+ KOEditorRecurrenceDialog( TQWidget *parent );
KOEditorRecurrence* editor() const { return mRecurrence; }
protected slots:
diff --git a/korganizer/koeventeditor.cpp b/korganizer/koeventeditor.cpp
index d7c1b1aa..c73a67ac 100644
--- a/korganizer/koeventeditor.cpp
+++ b/korganizer/koeventeditor.cpp
@@ -50,8 +50,8 @@
#include "koeventeditor.h"
-KOEventEditor::KOEventEditor( Calendar *calendar, TQWidget *tqparent )
- : KOIncidenceEditor( TQString(), calendar, tqparent ),
+KOEventEditor::KOEventEditor( Calendar *calendar, TQWidget *parent )
+ : KOIncidenceEditor( TQString(), calendar, parent ),
mEvent( 0 ), mCalendar( 0 ), mGeneral( 0 ), mRecurrence( 0 ), mFreeBusy( 0 )
{
}
@@ -307,7 +307,7 @@ bool KOEventEditor::processInput()
mEvent->setOrganizer( Person( KOPrefs::instance()->fullName(),
KOPrefs::instance()->email() ) );
writeEvent( mEvent );
- // NOTE: triggered by addIncidence, the kolab resource might open a non-modal dialog (tqparent is not available in the resource) to select a resource folder. Thus the user can close this dialog before addIncidence() returns.
+ // NOTE: triggered by addIncidence, the kolab resource might open a non-modal dialog (parent is not available in the resource) to select a resource folder. Thus the user can close this dialog before addIncidence() returns.
if ( !mChanger->addIncidence( mEvent, mResource, mSubResource, this ) ) {
delete mEvent;
mEvent = 0;
diff --git a/korganizer/koeventeditor.h b/korganizer/koeventeditor.h
index c9559a1e..87032930 100644
--- a/korganizer/koeventeditor.h
+++ b/korganizer/koeventeditor.h
@@ -53,7 +53,7 @@ class KOEventEditor : public KOIncidenceEditor
/**
Construct new event editor.
*/
- KOEventEditor( Calendar *calendar, TQWidget *tqparent );
+ KOEventEditor( Calendar *calendar, TQWidget *parent );
virtual ~KOEventEditor(void);
void init();
diff --git a/korganizer/koeventview.cpp b/korganizer/koeventview.cpp
index 8938d8d4..587a60d0 100644
--- a/korganizer/koeventview.cpp
+++ b/korganizer/koeventview.cpp
@@ -44,8 +44,8 @@ using namespace KOrg;
//---------------------------------------------------------------------------
-KOEventView::KOEventView(Calendar *cal,TQWidget *tqparent,const char *name)
- : KOrg::BaseView(cal,tqparent,name)
+KOEventView::KOEventView(Calendar *cal,TQWidget *parent,const char *name)
+ : KOrg::BaseView(cal,parent,name)
{
}
diff --git a/korganizer/koeventview.h b/korganizer/koeventview.h
index 0a29e0c9..303486c4 100644
--- a/korganizer/koeventview.h
+++ b/korganizer/koeventview.h
@@ -62,10 +62,10 @@ class KOEventView : public KOrg::BaseView
* Constructs a view.
* @param cal is a pointer to the calendar object from which events
* will be retrieved for display.
- * @param tqparent is the tqparent TQWidget.
+ * @param parent is the parent TQWidget.
* @param name is the view name.
*/
- KOEventView(Calendar *cal,TQWidget *tqparent=0,const char *name=0);
+ KOEventView(Calendar *cal,TQWidget *parent=0,const char *name=0);
/**
* Destructor. Views will do view-specific cleanups here.
diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp
index 2a49934a..a9746dbe 100644
--- a/korganizer/koeventviewer.cpp
+++ b/korganizer/koeventviewer.cpp
@@ -39,8 +39,8 @@
#include <tqregexp.h>
#include <tqtooltip.h>
-KOEventViewer::KOEventViewer( Calendar *calendar, TQWidget *tqparent, const char *name )
- : TQTextBrowser( tqparent, name ), mCalendar( calendar ), mDefaultText("")
+KOEventViewer::KOEventViewer( Calendar *calendar, TQWidget *parent, const char *name )
+ : TQTextBrowser( parent, name ), mCalendar( calendar ), mDefaultText("")
{
mIncidence = 0;
connect( this, TQT_SIGNAL(highlighted(const TQString &)), TQT_SLOT(message(const TQString &)) );
diff --git a/korganizer/koeventviewer.h b/korganizer/koeventviewer.h
index 19ef3774..e8cceb1f 100644
--- a/korganizer/koeventviewer.h
+++ b/korganizer/koeventviewer.h
@@ -42,7 +42,7 @@ class KDE_EXPORT KOEventViewer : public TQTextBrowser
Q_OBJECT
TQ_OBJECT
public:
- explicit KOEventViewer( Calendar *calendar, TQWidget *tqparent = 0, const char *name = 0 );
+ explicit KOEventViewer( Calendar *calendar, TQWidget *parent = 0, const char *name = 0 );
virtual ~KOEventViewer();
/**
diff --git a/korganizer/koeventviewerdialog.cpp b/korganizer/koeventviewerdialog.cpp
index eccf2ac9..afbe8419 100644
--- a/korganizer/koeventviewerdialog.cpp
+++ b/korganizer/koeventviewerdialog.cpp
@@ -28,9 +28,9 @@
#include <klocale.h>
-KOEventViewerDialog::KOEventViewerDialog( Calendar *calendar, TQWidget *tqparent,
+KOEventViewerDialog::KOEventViewerDialog( Calendar *calendar, TQWidget *parent,
const char *name, bool compact )
- : KDialogBase( tqparent, name, false, i18n("Event Viewer"), Ok, Ok, false,
+ : KDialogBase( parent, name, false, i18n("Event Viewer"), Ok, Ok, false,
i18n("Edit") )
{
mEventViewer = new KOEventViewer( calendar, this );
diff --git a/korganizer/koeventviewerdialog.h b/korganizer/koeventviewerdialog.h
index 147df906..cf1bd5ca 100644
--- a/korganizer/koeventviewerdialog.h
+++ b/korganizer/koeventviewerdialog.h
@@ -43,7 +43,7 @@ class KDE_EXPORT KOEventViewerDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- explicit KOEventViewerDialog( Calendar *calendar, TQWidget *tqparent = 0,
+ explicit KOEventViewerDialog( Calendar *calendar, TQWidget *parent = 0,
const char *name = 0, bool compact = false );
virtual ~KOEventViewerDialog();
diff --git a/korganizer/koglobals.cpp b/korganizer/koglobals.cpp
index 8f41e82c..dd22ade4 100644
--- a/korganizer/koglobals.cpp
+++ b/korganizer/koglobals.cpp
@@ -154,9 +154,9 @@ TQStringList KOGlobals::holiday( const TQDate &date )
bool KOGlobals::isWorkDay( const TQDate &date )
{
- int tqmask( ~( KOPrefs::instance()->mWorkWeekMask ) );
+ int mask( ~( KOPrefs::instance()->mWorkWeekMask ) );
- bool nonWorkDay = ( tqmask & ( 1 << ( date.dayOfWeek() - 1 ) ) );
+ bool nonWorkDay = ( mask & ( 1 << ( date.dayOfWeek() - 1 ) ) );
if ( KOPrefs::instance()->mExcludeHolidays && mHolidays ) {
TQValueList<KHoliday> list = mHolidays->getHolidays( date );
TQValueList<KHoliday>::ConstIterator it = list.begin();
diff --git a/korganizer/kogroupware.cpp b/korganizer/kogroupware.cpp
index e5e174e4..5104383c 100644
--- a/korganizer/kogroupware.cpp
+++ b/korganizer/kogroupware.cpp
@@ -238,7 +238,7 @@ class KOInvitationFormatterHelper : public InvitationFormatterHelper
* Return true means accept the changes
* Return false means revert the changes
*/
-bool KOGroupware::sendICalMessage( TQWidget* tqparent,
+bool KOGroupware::sendICalMessage( TQWidget* parent,
KCal::Scheduler::Method method,
Incidence* incidence,
KOGlobals::HowChanged action,
@@ -318,7 +318,7 @@ bool KOGroupware::sendICalMessage( TQWidget* tqparent,
}
rc = KMessageBox::questionYesNo(
- tqparent, txt, i18n( "Group Scheduling Email" ),
+ parent, txt, i18n( "Group Scheduling Email" ),
KGuiItem( i18n( "Send Email" ) ), KGuiItem( i18n( "Do Not Send" ) ) );
} else {
return true;
@@ -331,14 +331,14 @@ bool KOGroupware::sendICalMessage( TQWidget* tqparent,
// Ask if the user wants to tell the organizer about the current status
TQString txt = i18n( "Do you want to send a status update to the "
"organizer of this task?");
- rc = KMessageBox::questionYesNo( tqparent, txt, TQString(), i18n("Send Update"), i18n("Do Not Send") );
+ rc = KMessageBox::questionYesNo( parent, txt, TQString(), i18n("Send Update"), i18n("Do Not Send") );
} else if( incidence->type() == "Event" ) {
TQString txt;
if ( attendeeStatusChanged && method == Scheduler::Request ) {
txt = i18n( "Your status as an attendee of this event changed. "
"Do you want to send a status update to the event organizer?" );
method = Scheduler::Reply;
- rc = KMessageBox::questionYesNo( tqparent, txt, TQString(), i18n("Send Update"), i18n("Do Not Send") );
+ rc = KMessageBox::questionYesNo( parent, txt, TQString(), i18n("Send Update"), i18n("Do Not Send") );
} else {
if( action == KOGlobals::INCIDENCEDELETED ) {
const TQStringList myEmails = KOPrefs::instance()->allEmails();
@@ -360,14 +360,14 @@ bool KOGroupware::sendICalMessage( TQWidget* tqparent,
"Do you want to send an updated response to the organizer "
"declining the invitation?" );
rc = KMessageBox::questionYesNo(
- tqparent, txt, i18n( "Group Scheduling Email" ),
+ parent, txt, i18n( "Group Scheduling Email" ),
KGuiItem( i18n( "Send Update" ) ), KGuiItem( i18n( "Do Not Send" ) ) );
setDoNotNotify( rc == KMessageBox::No );
} else {
txt = i18n( "You are not the organizer of this event. Editing it will "
"bring your calendar out of sync with the organizer's calendar. "
"Do you really want to edit it?" );
- rc = KMessageBox::warningYesNo( tqparent, txt );
+ rc = KMessageBox::warningYesNo( parent, txt );
return ( rc == KMessageBox::Yes );
}
}
diff --git a/korganizer/kogroupware.h b/korganizer/kogroupware.h
index 4e74ed43..5fd80187 100644
--- a/korganizer/kogroupware.h
+++ b/korganizer/kogroupware.h
@@ -76,7 +76,7 @@ class KOGroupware : public TQObject
Returns false if the user cancels the dialog, and true if the
user presses Yes og or No.
*/
- bool sendICalMessage( TQWidget *tqparent, KCal::Scheduler::Method method,
+ bool sendICalMessage( TQWidget *parent, KCal::Scheduler::Method method,
Incidence* incidence,
KOGlobals::HowChanged action,
bool attendeeStatusChanged,
diff --git a/korganizer/koidentitymanager.h b/korganizer/koidentitymanager.h
index 8fcf8811..3b0b9811 100644
--- a/korganizer/koidentitymanager.h
+++ b/korganizer/koidentitymanager.h
@@ -32,8 +32,8 @@ namespace KOrg {
class IdentityManager : public KPIM::IdentityManager
{
public:
- IdentityManager( TQObject * tqparent=0, const char * name=0 )
- : KPIM::IdentityManager( true /*readonly*/, tqparent, name ) {}
+ IdentityManager( TQObject * parent=0, const char * name=0 )
+ : KPIM::IdentityManager( true /*readonly*/, parent, name ) {}
protected:
virtual void createDefaultIdentity( TQString& fullName, TQString& emailAddress );
diff --git a/korganizer/koincidenceeditor.cpp b/korganizer/koincidenceeditor.cpp
index ec391c9e..779064f9 100644
--- a/korganizer/koincidenceeditor.cpp
+++ b/korganizer/koincidenceeditor.cpp
@@ -56,9 +56,9 @@
#include "templatemanagementdialog.h"
KOIncidenceEditor::KOIncidenceEditor( const TQString &caption,
- Calendar *calendar, TQWidget *tqparent )
+ Calendar *calendar, TQWidget *parent )
: KDialogBase( Tabbed, caption, Ok | Apply | Cancel | Default, Ok,
- tqparent, 0, false, false ),
+ parent, 0, false, false ),
mAttendeeEditor( 0 ), mResource( 0 ), mIsCounter( false ), mIsCreateTask( false ),
mRecurIncidence( 0 ), mRecurIncidenceAfterDissoc( 0 )
{
diff --git a/korganizer/koincidenceeditor.h b/korganizer/koincidenceeditor.h
index 4ff8915b..7bd18584 100644
--- a/korganizer/koincidenceeditor.h
+++ b/korganizer/koincidenceeditor.h
@@ -63,7 +63,7 @@ class KOIncidenceEditor : public KDialogBase
Construct new IncidenceEditor.
*/
KOIncidenceEditor( const TQString &caption, Calendar *calendar,
- TQWidget *tqparent );
+ TQWidget *parent );
virtual ~KOIncidenceEditor();
/** This incidence has been modified externally */
diff --git a/korganizer/kojournaleditor.cpp b/korganizer/kojournaleditor.cpp
index 23bdbe8f..30e6c7d7 100644
--- a/korganizer/kojournaleditor.cpp
+++ b/korganizer/kojournaleditor.cpp
@@ -43,8 +43,8 @@
using namespace KCal;
-KOJournalEditor::KOJournalEditor( Calendar *calendar, TQWidget *tqparent ) :
- KOIncidenceEditor( i18n("Edit Journal Entry"), calendar, tqparent )
+KOJournalEditor::KOJournalEditor( Calendar *calendar, TQWidget *parent ) :
+ KOIncidenceEditor( i18n("Edit Journal Entry"), calendar, parent )
{
mJournal = 0;
}
diff --git a/korganizer/kojournaleditor.h b/korganizer/kojournaleditor.h
index 7f757389..f537cae3 100644
--- a/korganizer/kojournaleditor.h
+++ b/korganizer/kojournaleditor.h
@@ -51,7 +51,7 @@ class KOJournalEditor : public KOIncidenceEditor
/**
Constructs a new Journal editor.
*/
- KOJournalEditor( Calendar *calendar, TQWidget *tqparent );
+ KOJournalEditor( Calendar *calendar, TQWidget *parent );
virtual ~KOJournalEditor();
void init();
diff --git a/korganizer/kojournalview.cpp b/korganizer/kojournalview.cpp
index b5742e47..1219fd57 100644
--- a/korganizer/kojournalview.cpp
+++ b/korganizer/kojournalview.cpp
@@ -42,9 +42,9 @@
#include "koglobals.h"
using namespace KOrg;
-KOJournalView::KOJournalView(Calendar *calendar, TQWidget *tqparent,
+KOJournalView::KOJournalView(Calendar *calendar, TQWidget *parent,
const char *name)
- : KOrg::BaseView(calendar, tqparent, name)
+ : KOrg::BaseView(calendar, parent, name)
{
TQVBoxLayout*topLayout = new TQVBoxLayout( this );
topLayout->setAutoAdd(true);
diff --git a/korganizer/kojournalview.h b/korganizer/kojournalview.h
index 404c6b93..056b456e 100644
--- a/korganizer/kojournalview.h
+++ b/korganizer/kojournalview.h
@@ -43,7 +43,7 @@ class KOJournalView : public KOrg::BaseView
Q_OBJECT
TQ_OBJECT
public:
- KOJournalView( Calendar *calendar, TQWidget *tqparent = 0,
+ KOJournalView( Calendar *calendar, TQWidget *parent = 0,
const char *name = 0);
~KOJournalView();
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp
index 2bad209b..32ddc327 100644
--- a/korganizer/kolistview.cpp
+++ b/korganizer/kolistview.cpp
@@ -56,10 +56,10 @@ enum {
};
-KOListViewToolTip::KOListViewToolTip( TQWidget* tqparent,
+KOListViewToolTip::KOListViewToolTip( TQWidget* parent,
Calendar *calendar,
KListView *lv )
- :TQToolTip( tqparent ), mCalendar( calendar )
+ :TQToolTip( parent ), mCalendar( calendar )
{
eventlist = lv;
}
@@ -196,10 +196,10 @@ bool KOListView::ListItemVisitor::visit( Journal *j )
}
KOListView::KOListView( Calendar *calendar,
- TQWidget *tqparent,
+ TQWidget *parent,
const char *name,
bool nonInteractive )
- : KOEventView( calendar, tqparent, name )
+ : KOEventView( calendar, parent, name )
{
mActiveItem = 0;
mIsNonInteractive = nonInteractive;
diff --git a/korganizer/kolistview.h b/korganizer/kolistview.h
index 50d0ab5c..2480d6be 100644
--- a/korganizer/kolistview.h
+++ b/korganizer/kolistview.h
@@ -44,7 +44,7 @@ class KOListView;
class KOListViewToolTip : public TQToolTip
{
public:
- KOListViewToolTip ( TQWidget* tqparent, Calendar *calendar, KListView* lv );
+ KOListViewToolTip ( TQWidget* parent, Calendar *calendar, KListView* lv );
protected:
void maybeTip( const TQPoint &pos );
@@ -71,7 +71,7 @@ class KOListView : public KOEventView
TQ_OBJECT
public:
explicit KOListView( Calendar *calendar,
- TQWidget *tqparent = 0,
+ TQWidget *parent = 0,
const char *name = 0,
bool nonInteractive = false );
~KOListView();
diff --git a/korganizer/komessagebox.cpp b/korganizer/komessagebox.cpp
index dbc1e8af..6a0100aa 100644
--- a/korganizer/komessagebox.cpp
+++ b/korganizer/komessagebox.cpp
@@ -28,12 +28,12 @@
#include "komessagebox.h"
-int KOMessageBox::fourBtnMsgBox( TQWidget *tqparent, TQMessageBox::Icon type,
+int KOMessageBox::fourBtnMsgBox( TQWidget *parent, TQMessageBox::Icon type,
const TQString &text, const TQString &caption,
const KGuiItem &button1, const KGuiItem &button2,
const KGuiItem &button3, int options)
{
- KDialogBase *dialog= new KDialogBase( tqparent, "KOMessageBox", true,
+ KDialogBase *dialog= new KDialogBase( parent, "KOMessageBox", true,
caption.isEmpty() ? "" : caption,
KDialogBase::Yes | KDialogBase::No | KDialogBase::Ok | KDialogBase::Cancel,
KDialogBase::Yes,
diff --git a/korganizer/komessagebox.h b/korganizer/komessagebox.h
index 1ddfa88c..2335fce7 100644
--- a/korganizer/komessagebox.h
+++ b/korganizer/komessagebox.h
@@ -33,7 +33,7 @@
class KOMessageBox
{
public:
- static int fourBtnMsgBox( TQWidget *tqparent, TQMessageBox::Icon type,
+ static int fourBtnMsgBox( TQWidget *parent, TQMessageBox::Icon type,
const TQString &text, const TQString &caption = TQString(),
const KGuiItem &button1 = KStdGuiItem::yes(), const KGuiItem &button2 = KStdGuiItem::no(),
const KGuiItem &button3 = KStdGuiItem::cont(),
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp
index 5ed6664f..eead7252 100644
--- a/korganizer/komonthview.cpp
+++ b/korganizer/komonthview.cpp
@@ -61,11 +61,11 @@
//--------------------------------------------------------------------------
-KOMonthCellToolTip::KOMonthCellToolTip( TQWidget *tqparent,
+KOMonthCellToolTip::KOMonthCellToolTip( TQWidget *parent,
Calendar *calendar,
const TQDate &date,
KNoScrollListBox *lv )
- : TQToolTip( tqparent ), mCalendar( calendar ), mDate( date )
+ : TQToolTip( parent ), mCalendar( calendar ), mDate( date )
{
eventlist = lv;
}
@@ -87,8 +87,8 @@ void KOMonthCellToolTip::maybeTip( const TQPoint &pos )
}
}
-KNoScrollListBox::KNoScrollListBox( TQWidget *tqparent, const char *name )
- : TQListBox( tqparent, name ),
+KNoScrollListBox::KNoScrollListBox( TQWidget *parent, const char *name )
+ : TQListBox( parent, name ),
mSqueezing( false )
{
TQPalette pal = palette();
@@ -378,9 +378,9 @@ int MonthViewItem::width( const TQListBox *lb ) const
}
-MonthViewCell::MonthViewCell( KOMonthView *tqparent)
- : TQWidget( tqparent ),
- mMonthView( tqparent ), mPrimary( false ), mHoliday( false ),
+MonthViewCell::MonthViewCell( KOMonthView *parent)
+ : TQWidget( parent ),
+ mMonthView( parent ), mPrimary( false ), mHoliday( false ),
isSelected( false )
{
TQVBoxLayout *topLayout = new TQVBoxLayout( this );
@@ -810,8 +810,8 @@ void MonthViewCell::contextMenu( TQListBoxItem *item )
}
-KOMonthView::KOMonthView( Calendar *calendar, TQWidget *tqparent, const char *name )
- : KOEventView( calendar, tqparent, name ),
+KOMonthView::KOMonthView( Calendar *calendar, TQWidget *parent, const char *name )
+ : KOEventView( calendar, parent, name ),
mDaysPerWeek( 7 ), mNumWeeks( 6 ), mNumCells( mDaysPerWeek * mNumWeeks ),
mShortDayLabels( false ), mWidthLongDayLabel( 0 ), mSelectedCell( 0 )
{
diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h
index 7a988559..732a63a1 100644
--- a/korganizer/komonthview.h
+++ b/korganizer/komonthview.h
@@ -36,7 +36,7 @@ class KNoScrollListBox;
class KOMonthCellToolTip : public TQToolTip
{
public:
- KOMonthCellToolTip (TQWidget* tqparent, Calendar *calendar, const TQDate &date, KNoScrollListBox* lv );
+ KOMonthCellToolTip (TQWidget* parent, Calendar *calendar, const TQDate &date, KNoScrollListBox* lv );
protected:
void maybeTip( const TQPoint & pos);
@@ -53,7 +53,7 @@ class KNoScrollListBox: public TQListBox
Q_OBJECT
TQ_OBJECT
public:
- KNoScrollListBox(TQWidget *tqparent=0, const char *name=0);
+ KNoScrollListBox(TQWidget *parent=0, const char *name=0);
~KNoScrollListBox() {}
void setBackground( bool primary, bool workday );
@@ -145,7 +145,7 @@ class MonthViewCell : public TQWidget
/** @return Date of cell */
TQDate date() const;
- /** @return MonthView tqparent */
+ /** @return MonthView parent */
KOMonthView *monthView() { return mMonthView; }
/**
@@ -247,7 +247,7 @@ class KOMonthView: public KOEventView
Q_OBJECT
TQ_OBJECT
public:
- KOMonthView(Calendar *cal, TQWidget *tqparent = 0, const char *name = 0 );
+ KOMonthView(Calendar *cal, TQWidget *parent = 0, const char *name = 0 );
~KOMonthView();
/** Returns maximum number of days supported by the komonthview */
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 )
{
}
diff --git a/korganizer/koprefsdialog.h b/korganizer/koprefsdialog.h
index c50b5f37..b3da40c7 100644
--- a/korganizer/koprefsdialog.h
+++ b/korganizer/koprefsdialog.h
@@ -43,7 +43,7 @@ class KDE_EXPORT KOPrefsDialogMain : public KPrefsModule
Q_OBJECT
TQ_OBJECT
public:
- KOPrefsDialogMain( TQWidget *tqparent, const char *name );
+ KOPrefsDialogMain( TQWidget *parent, const char *name );
protected slots:
void toggleEmailSettings( bool on );
@@ -56,7 +56,7 @@ class KDE_EXPORT KOPrefsDialogColors : public KPrefsModule
Q_OBJECT
TQ_OBJECT
public:
- KOPrefsDialogColors( TQWidget *tqparent, const char *name );
+ KOPrefsDialogColors( TQWidget *parent, const char *name );
protected:
void usrWriteConfig();
@@ -87,7 +87,7 @@ class KDE_EXPORT KOPrefsDialogGroupScheduling : public KPrefsModule
Q_OBJECT
TQ_OBJECT
public:
- KOPrefsDialogGroupScheduling( TQWidget *tqparent, const char *name );
+ KOPrefsDialogGroupScheduling( TQWidget *parent, const char *name );
protected:
void usrReadConfig();
@@ -111,7 +111,7 @@ class KDE_EXPORT KOPrefsDialogGroupwareScheduling : public KPrefsModule
Q_OBJECT
TQ_OBJECT
public:
- KOPrefsDialogGroupwareScheduling( TQWidget *tqparent, const char *name );
+ KOPrefsDialogGroupwareScheduling( TQWidget *parent, const char *name );
protected:
void usrReadConfig();
@@ -126,7 +126,7 @@ class KDE_EXPORT KOPrefsDialogPlugins : public KPrefsModule
Q_OBJECT
TQ_OBJECT
public:
- KOPrefsDialogPlugins( TQWidget *tqparent, const char *name );
+ KOPrefsDialogPlugins( TQWidget *parent, const char *name );
protected slots:
void usrReadConfig();
@@ -144,7 +144,7 @@ class KDE_EXPORT KOPrefsDialogPlugins : public KPrefsModule
class KDE_EXPORT KOPrefsDesignerFields : public KPIM::KCMDesignerFields
{
public:
- KOPrefsDesignerFields( TQWidget *tqparent = 0, const char *name = 0 );
+ KOPrefsDesignerFields( TQWidget *parent = 0, const char *name = 0 );
protected:
TQString localUiDir();
diff --git a/korganizer/korgac/alarmdialog.cpp b/korganizer/korgac/alarmdialog.cpp
index f629a15a..d539d667 100644
--- a/korganizer/korgac/alarmdialog.cpp
+++ b/korganizer/korgac/alarmdialog.cpp
@@ -65,8 +65,8 @@ static int defSuspendUnit = 0; // 0=>minutes, 1=>hours, 2=>days, 3=>weeks
class AlarmListItem : public KListViewItem
{
public:
- AlarmListItem( const TQString &uid, TQListView *tqparent )
- : KListViewItem( tqparent ), mUid( uid ), mNotified( false )
+ AlarmListItem( const TQString &uid, TQListView *parent )
+ : KListViewItem( parent ), mUid( uid ), mNotified( false )
{
}
@@ -96,10 +96,10 @@ int AlarmListItem::compare( TQListViewItem *item, int iCol, bool bAscending ) co
typedef TQValueList<AlarmListItem*> ItemList;
-AlarmDialog::AlarmDialog( KCal::CalendarResources *calendar, TQWidget *tqparent, const char *name )
+AlarmDialog::AlarmDialog( KCal::CalendarResources *calendar, TQWidget *parent, const char *name )
: KDialogBase( Plain,
WType_TopLevel | WStyle_Customize | WStyle_StaysOnTop | WStyle_DialogBorder,
- tqparent, name, false, i18n("Reminder"),
+ parent, name, false, i18n("Reminder"),
Ok | User1 | User2 | User3, NoDefault,
false, i18n("Edit..."), i18n("Dismiss All"), i18n("Dismiss Reminder") ),
mCalendar( calendar ), mSuspendTimer(this)
diff --git a/korganizer/korgac/alarmdialog.h b/korganizer/korgac/alarmdialog.h
index e82832fa..b47f64d1 100644
--- a/korganizer/korgac/alarmdialog.h
+++ b/korganizer/korgac/alarmdialog.h
@@ -46,7 +46,7 @@ class AlarmDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:
- explicit AlarmDialog( CalendarResources *calendar, TQWidget *tqparent = 0, const char *name = 0 );
+ explicit AlarmDialog( CalendarResources *calendar, TQWidget *parent = 0, const char *name = 0 );
~AlarmDialog();
diff --git a/korganizer/korgac/koalarmclient.cpp b/korganizer/korgac/koalarmclient.cpp
index f0837c65..ac9b96c8 100644
--- a/korganizer/korgac/koalarmclient.cpp
+++ b/korganizer/korgac/koalarmclient.cpp
@@ -39,8 +39,8 @@
#include <tqpushbutton.h>
-KOAlarmClient::KOAlarmClient( TQObject *tqparent, const char *name )
- : DCOPObject( "ac" ), TQObject( tqparent, name ), mDialog( 0 )
+KOAlarmClient::KOAlarmClient( TQObject *parent, const char *name )
+ : DCOPObject( "ac" ), TQObject( parent, name ), mDialog( 0 )
{
kdDebug(5890) << "KOAlarmClient::KOAlarmClient()" << endl;
@@ -116,8 +116,8 @@ void KOAlarmClient::checkAlarms()
TQValueList<Alarm *>::ConstIterator it;
for( it = alarms.begin(); it != alarms.end(); ++it ) {
- kdDebug(5891) << "REMINDER: " << (*it)->tqparent()->summary() << endl;
- Incidence *incidence = mCalendar->incidence( (*it)->tqparent()->uid() );
+ kdDebug(5891) << "REMINDER: " << (*it)->parent()->summary() << endl;
+ Incidence *incidence = mCalendar->incidence( (*it)->parent()->uid() );
createReminder( mCalendar, incidence, from, (*it)->text() );
}
}
@@ -201,7 +201,7 @@ TQStringList KOAlarmClient::dumpAlarms()
TQValueList<Alarm*>::ConstIterator it;
for( it = alarms.begin(); it != alarms.end(); ++it ) {
Alarm *a = *it;
- lst << TQString(" ") + a->tqparent()->summary() + " ("
+ lst << TQString(" ") + a->parent()->summary() + " ("
+ a->time().toString() + ")";
}
diff --git a/korganizer/korgac/koalarmclient.h b/korganizer/korgac/koalarmclient.h
index b1b8c189..93e1f31c 100644
--- a/korganizer/korgac/koalarmclient.h
+++ b/korganizer/korgac/koalarmclient.h
@@ -46,7 +46,7 @@ class KOAlarmClient : public TQObject, virtual public AlarmClientIface, public K
Q_OBJECT
TQ_OBJECT
public:
- KOAlarmClient( TQObject *tqparent = 0, const char *name = 0 );
+ KOAlarmClient( TQObject *parent = 0, const char *name = 0 );
~KOAlarmClient();
bool commitData( TQSessionManager & );
diff --git a/korganizer/korganizer_part.cpp b/korganizer/korganizer_part.cpp
index 4d238291..00360480 100644
--- a/korganizer/korganizer_part.cpp
+++ b/korganizer/korganizer_part.cpp
@@ -67,9 +67,9 @@ typedef KParts::GenericFactory< KOrganizerPart > KOrganizerFactory;
K_EXPORT_COMPONENT_FACTORY( libkorganizerpart, KOrganizerFactory )
KOrganizerPart::KOrganizerPart( TQWidget *parentWidget, const char *widgetName,
- TQObject *tqparent, const char *name,
+ TQObject *parent, const char *name,
const TQStringList & ) :
- KParts::ReadOnlyPart(tqparent, name), mTopLevelWidget( parentWidget->tqtopLevelWidget() )
+ KParts::ReadOnlyPart(parent, name), mTopLevelWidget( parentWidget->tqtopLevelWidget() )
{
KGlobal::locale()->insertCatalogue( "libkcal" );
KGlobal::locale()->insertCatalogue( "libkdepim" );
diff --git a/korganizer/korganizer_part.h b/korganizer/korganizer_part.h
index a20485f2..923a153d 100644
--- a/korganizer/korganizer_part.h
+++ b/korganizer/korganizer_part.h
@@ -60,7 +60,7 @@ class KOrganizerPart: public KParts::ReadOnlyPart,
TQ_OBJECT
public:
KOrganizerPart( TQWidget *parentWidget, const char *widgetName,
- TQObject *tqparent, const char *name, const TQStringList & );
+ TQObject *parent, const char *name, const TQStringList & );
virtual ~KOrganizerPart();
static KAboutData *createAboutData();
diff --git a/korganizer/korganizerifaceimpl.cpp b/korganizer/korganizerifaceimpl.cpp
index 9ec8b26c..a7d29ad2 100644
--- a/korganizer/korganizerifaceimpl.cpp
+++ b/korganizer/korganizerifaceimpl.cpp
@@ -35,8 +35,8 @@
KOrganizerIfaceImpl::KOrganizerIfaceImpl( ActionManager* actionManager,
- TQObject* tqparent, const char* name )
- : DCOPObject( "KOrganizerIface" ), TQObject( tqparent, name ),
+ TQObject* parent, const char* name )
+ : DCOPObject( "KOrganizerIface" ), TQObject( parent, name ),
mActionManager( actionManager )
{
}
diff --git a/korganizer/korganizerifaceimpl.h b/korganizer/korganizerifaceimpl.h
index 4ecddcb0..1d81ac0d 100644
--- a/korganizer/korganizerifaceimpl.h
+++ b/korganizer/korganizerifaceimpl.h
@@ -42,7 +42,7 @@ class ActionManager;
class KDE_EXPORT KOrganizerIfaceImpl : public TQObject, virtual public KOrganizerIface {
public:
KOrganizerIfaceImpl( ActionManager* mActionManager,
- TQObject* tqparent=0, const char* name=0 );
+ TQObject* parent=0, const char* name=0 );
~KOrganizerIfaceImpl();
bool openURL( const TQString &url );
diff --git a/korganizer/kotimelineview.cpp b/korganizer/kotimelineview.cpp
index 072ea31f..84c9d746 100644
--- a/korganizer/kotimelineview.cpp
+++ b/korganizer/kotimelineview.cpp
@@ -41,9 +41,9 @@
using namespace KOrg;
using namespace KCal;
-KOTimelineView::KOTimelineView(Calendar *calendar, TQWidget *tqparent,
+KOTimelineView::KOTimelineView(Calendar *calendar, TQWidget *parent,
const char *name)
- : KOEventView(calendar, tqparent, name),
+ : KOEventView(calendar, parent, name),
mEventPopup( 0 )
{
TQVBoxLayout* vbox = new TQVBoxLayout(this);
@@ -340,8 +340,8 @@ void KOTimelineView::itemMoved(KDGanttViewItem * item)
if ( duration < 0 ) duration = 0;
}
i->setDuration( duration );
- TimelineItem *tqparent = static_cast<TimelineItem*>( tlit->tqparent() );
- tqparent->moveItems( i, tlit->originalStart().secsTo( newStart ), duration + allDayOffset );
+ TimelineItem *parent = static_cast<TimelineItem*>( tlit->parent() );
+ parent->moveItems( i, tlit->originalStart().secsTo( newStart ), duration + allDayOffset );
mChanger->endChange( i, 0, TQString() );
}
diff --git a/korganizer/kotimelineview.h b/korganizer/kotimelineview.h
index 36907e6b..9442a32d 100644
--- a/korganizer/kotimelineview.h
+++ b/korganizer/kotimelineview.h
@@ -46,7 +46,7 @@ class KOTimelineView : public KOEventView
Q_OBJECT
TQ_OBJECT
public:
- KOTimelineView(Calendar *calendar, TQWidget *tqparent = 0,
+ KOTimelineView(Calendar *calendar, TQWidget *parent = 0,
const char *name = 0);
~KOTimelineView();
diff --git a/korganizer/kotodoeditor.cpp b/korganizer/kotodoeditor.cpp
index 8da491fb..c3eee2ee 100644
--- a/korganizer/kotodoeditor.cpp
+++ b/korganizer/kotodoeditor.cpp
@@ -51,8 +51,8 @@
#include "kotodoeditor.h"
#include "kocore.h"
-KOTodoEditor::KOTodoEditor( Calendar *calendar, TQWidget *tqparent ) :
- KOIncidenceEditor( TQString(), calendar, tqparent ),
+KOTodoEditor::KOTodoEditor( Calendar *calendar, TQWidget *parent ) :
+ KOIncidenceEditor( TQString(), calendar, parent ),
mTodo( 0 ), mCalendar( 0 ), mRelatedTodo( 0 ), mGeneral( 0 ), mRecurrence( 0 )
{
}
@@ -257,7 +257,7 @@ void KOTodoEditor::setDates( const TQDateTime &due, bool allDay, Todo *relatedEv
{
mRelatedTodo = relatedEvent;
- // inherit some properties from tqparent todo
+ // inherit some properties from parent todo
if ( mRelatedTodo ) {
mGeneral->setCategories( mRelatedTodo->categories() );
}
@@ -306,7 +306,7 @@ void KOTodoEditor::writeTodo( Todo *todo )
}
writeDesignerFields( todo );
- // set related incidence, i.e. tqparent to-do in this case.
+ // set related incidence, i.e. parent to-do in this case.
if ( mRelatedTodo ) {
todo->setRelatedTo( mRelatedTodo );
}
diff --git a/korganizer/kotodoeditor.h b/korganizer/kotodoeditor.h
index 5322714f..bf31f369 100644
--- a/korganizer/kotodoeditor.h
+++ b/korganizer/kotodoeditor.h
@@ -42,7 +42,7 @@ class KOTodoEditor : public KOIncidenceEditor
/**
Constructs a new todo editor.
*/
- KOTodoEditor( Calendar *calendar, TQWidget *tqparent );
+ KOTodoEditor( Calendar *calendar, TQWidget *parent );
virtual ~KOTodoEditor();
void init();
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp
index ecd68054..73a9d126 100644
--- a/korganizer/kotodoview.cpp
+++ b/korganizer/kotodoview.cpp
@@ -64,10 +64,10 @@ using namespace KOrg;
#include "calprinter.h"
#endif
-KOTodoListViewToolTip::KOTodoListViewToolTip (TQWidget *tqparent,
+KOTodoListViewToolTip::KOTodoListViewToolTip (TQWidget *parent,
Calendar *calendar,
KOTodoListView *lv )
- :TQToolTip(tqparent), mCalendar( calendar )
+ :TQToolTip(parent), mCalendar( calendar )
{
todolist=lv;
}
@@ -100,8 +100,8 @@ void KOTodoListViewToolTip::maybeTip( const TQPoint & pos)
-KOTodoListView::KOTodoListView( TQWidget *tqparent, const char *name )
- : KListView( tqparent, name ), mCalendar( 0 ), mChanger( 0 )
+KOTodoListView::KOTodoListView( TQWidget *parent, const char *name )
+ : KListView( parent, name ), mCalendar( 0 ), mChanger( 0 )
{
mOldCurrent = 0;
mMousePressed = false;
@@ -227,7 +227,7 @@ void KOTodoListView::contentsDropEvent( TQDropEvent *e )
mChanger->changeIncidence( oldTodo, existingTodo, KOGlobals::RELATION_MODIFIED, this );
mChanger->endChange( existingTodo, 0, TQString() );
} else {
- KMessageBox::sorry( this, i18n("Unable to change to-do's tqparent, "
+ KMessageBox::sorry( this, i18n("Unable to change to-do's parent, "
"because the to-do cannot be locked.") );
}
delete oldTodo;
@@ -360,8 +360,8 @@ void KOTodoListView::contentsMouseDoubleClickEvent(TQMouseEvent *e)
/////////////////////////////////////////////////////////////////////////////
-KOTodoView::KOTodoView( Calendar *calendar, TQWidget *tqparent, const char* name)
- : KOrg::BaseView( calendar, tqparent, name )
+KOTodoView::KOTodoView( Calendar *calendar, TQWidget *parent, const char* name)
+ : KOrg::BaseView( calendar, parent, name )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
@@ -558,7 +558,7 @@ void KOTodoView::updateView()
*/
// Put for each Event a KOTodoViewItem in the list view. Don't rely on a
- // specific order of events. That means that we have to generate tqparent items
+ // specific order of events. That means that we have to generate parent items
// recursively for proper hierarchical display of Todos.
mTodoMap.clear();
Todo::List::ConstIterator it;
@@ -612,7 +612,7 @@ TQMap<Todo *,KOTodoViewItem *>::ConstIterator
// and one into the map. Sure finding is more easy but why? -zecke
KOTodoViewItem *todoItem;
- // in case we found a related tqparent, which has no KOTodoViewItem yet, this must
+ // in case we found a related parent, which has no KOTodoViewItem yet, this must
// be the case where 2 items refer to each other, therefore simply create item as root item
if ( *itemIterator == 0 ) {
todo->setRelatedTo(0); // break the recursion, else we will have troubles later
@@ -703,12 +703,12 @@ void KOTodoView::changeIncidenceDisplay(Incidence *incidence, int action)
scheduleRemoveTodoItem( todoItem );
} else {
// correctly update changes in relations
- Todo*tqparent = dynamic_cast<Todo*>( todo->relatedTo() );
+ Todo*parent = dynamic_cast<Todo*>( todo->relatedTo() );
KOTodoViewItem*parentItem = 0;
- if ( tqparent && mTodoMap.contains(tqparent) ) {
- parentItem = mTodoMap[ tqparent ];
+ if ( parent && mTodoMap.contains(parent) ) {
+ parentItem = mTodoMap[ parent ];
}
- if ( todoItem->tqparent() != parentItem ) {
+ if ( todoItem->parent() != parentItem ) {
// The relations changed
if ( parentItem ) {
parentItem->insertItem( todoItem );
diff --git a/korganizer/kotodoview.h b/korganizer/kotodoview.h
index 03a41b9f..6175a053 100644
--- a/korganizer/kotodoview.h
+++ b/korganizer/kotodoview.h
@@ -58,7 +58,7 @@ using namespace KOrg;
class KOTodoListViewToolTip : public TQToolTip
{
public:
- KOTodoListViewToolTip( TQWidget *tqparent, Calendar *calendar, KOTodoListView *lv );
+ KOTodoListViewToolTip( TQWidget *parent, Calendar *calendar, KOTodoListView *lv );
protected:
void maybeTip( const TQPoint &pos );
@@ -74,7 +74,7 @@ class KOTodoListView : public KListView
Q_OBJECT
TQ_OBJECT
public:
- KOTodoListView( TQWidget *tqparent = 0, const char *name = 0 );
+ KOTodoListView( TQWidget *parent = 0, const char *name = 0 );
~KOTodoListView();
void setCalendar( Calendar * );
@@ -115,7 +115,7 @@ class KOTodoView : public KOrg::BaseView
Q_OBJECT
TQ_OBJECT
public:
- KOTodoView( Calendar *cal, TQWidget *tqparent = 0, const char *name = 0 );
+ KOTodoView( Calendar *cal, TQWidget *parent = 0, const char *name = 0 );
~KOTodoView();
void setCalendar( Calendar * );
diff --git a/korganizer/kotodoviewitem.cpp b/korganizer/kotodoviewitem.cpp
index 02369d91..3fe929b6 100644
--- a/korganizer/kotodoviewitem.cpp
+++ b/korganizer/kotodoviewitem.cpp
@@ -38,14 +38,14 @@
#include <tqpainter.h>
-KOTodoViewItem::KOTodoViewItem( TQListView *tqparent, Todo *todo, KOTodoView *kotodo)
- : TQCheckListItem( tqparent , "", CheckBox ), mTodo( todo ), mTodoView( kotodo )
+KOTodoViewItem::KOTodoViewItem( TQListView *parent, Todo *todo, KOTodoView *kotodo)
+ : TQCheckListItem( parent , "", CheckBox ), mTodo( todo ), mTodoView( kotodo )
{
construct();
}
-KOTodoViewItem::KOTodoViewItem( KOTodoViewItem *tqparent, Todo *todo, KOTodoView *kotodo )
- : TQCheckListItem( tqparent, "", CheckBox ), mTodo( todo ), mTodoView( kotodo )
+KOTodoViewItem::KOTodoViewItem( KOTodoViewItem *parent, Todo *todo, KOTodoView *kotodo )
+ : TQCheckListItem( parent, "", CheckBox ), mTodo( todo ), mTodoView( kotodo )
{
construct();
}
@@ -151,7 +151,7 @@ void KOTodoViewItem::construct()
setText( KOTodoView::eDueDateColumn, dtStr );
mEffectiveDueDate = mTodo->dtDue();
KOTodoViewItem *myParent;
- if ( ( myParent = dynamic_cast<KOTodoViewItem *>( tqparent() ) ) )
+ if ( ( myParent = dynamic_cast<KOTodoViewItem *>( parent() ) ) )
if ( !myParent->mEffectiveDueDate.isValid() ||
myParent->mEffectiveDueDate > mEffectiveDueDate ) {
myParent->mEffectiveDueDate = mEffectiveDueDate;
@@ -213,12 +213,12 @@ bool KOTodoViewItem::isAlternate()
{
KOTodoViewItem *item;
bool previous = true;
- if (TQListViewItem::tqparent())
+ if (TQListViewItem::parent())
{
- item = dynamic_cast<KOTodoViewItem *>(TQListViewItem::tqparent());
+ item = dynamic_cast<KOTodoViewItem *>(TQListViewItem::parent());
if (item)
previous = item->m_odd;
- item = dynamic_cast<KOTodoViewItem *>(TQListViewItem::tqparent()->firstChild());
+ item = dynamic_cast<KOTodoViewItem *>(TQListViewItem::parent()->firstChild());
}
else
{
diff --git a/korganizer/kotodoviewitem.h b/korganizer/kotodoviewitem.h
index 9f7032f8..d2e67975 100644
--- a/korganizer/kotodoviewitem.h
+++ b/korganizer/kotodoviewitem.h
@@ -51,12 +51,12 @@ class KOTodoViewItem : public TQCheckListItem
/**
Constructor.
- @param tqparent is the list view to which this item belongs.
+ @param parent is the list view to which this item belongs.
@param todo is the todo to have the item display information for.
@param kotodo is a pointer to the KOTodoView object.
*/
- KOTodoViewItem(TQListView *tqparent, Todo *todo, KOTodoView *kotodo);
- KOTodoViewItem(KOTodoViewItem *tqparent, Todo *todo, KOTodoView *kotodo);
+ KOTodoViewItem(TQListView *parent, Todo *todo, KOTodoView *kotodo);
+ KOTodoViewItem(KOTodoViewItem *parent, Todo *todo, KOTodoView *kotodo);
virtual ~KOTodoViewItem() {}
void construct();
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp
index e04e0c9a..38ab086a 100644
--- a/korganizer/koviewmanager.cpp
+++ b/korganizer/koviewmanager.cpp
@@ -354,12 +354,12 @@ void KOViewManager::showAgendaView()
const bool showSideBySide = !isLocalFile && ( showBoth || mode == KOPrefs::CalendarsSideBySide );
- TQWidget *tqparent = mMainView->viewStack();
+ TQWidget *parent = mMainView->viewStack();
if ( !mAgendaViewTabs && showBoth ) {
mAgendaViewTabs = new TQTabWidget( mMainView->viewStack() );
connect( mAgendaViewTabs, TQT_SIGNAL( currentChanged( TQWidget* ) ),
this, TQT_SLOT( currentAgendaViewTabChanged( TQWidget* ) ) );
- tqparent = mAgendaViewTabs;
+ parent = mAgendaViewTabs;
KConfig *config = KOGlobals::self()->config();
config->setGroup( "Views" );
@@ -369,7 +369,7 @@ void KOViewManager::showAgendaView()
if ( !mAgendaView && showMerged ) {
mAgendaView = new KOAgendaView( mMainView->calendar(),
mMainView,
- tqparent,
+ parent,
"KOViewManager::AgendaView" );
addView(mAgendaView);
@@ -386,7 +386,7 @@ void KOViewManager::showAgendaView()
if ( !mAgendaSideBySideView && showSideBySide ) {
mAgendaSideBySideView =
- new MultiAgendaView( mMainView->calendar(), mMainView, tqparent,
+ new MultiAgendaView( mMainView->calendar(), mMainView, parent,
"KOViewManager::AgendaSideBySideView" );
addView(mAgendaSideBySideView);
diff --git a/korganizer/kowhatsnextview.cpp b/korganizer/kowhatsnextview.cpp
index 14e2f80a..a698edfe 100644
--- a/korganizer/kowhatsnextview.cpp
+++ b/korganizer/kowhatsnextview.cpp
@@ -60,9 +60,9 @@ void WhatsNextTextBrowser::setSource(const TQString& n)
}
}
-KOWhatsNextView::KOWhatsNextView(Calendar *calendar, TQWidget *tqparent,
+KOWhatsNextView::KOWhatsNextView(Calendar *calendar, TQWidget *parent,
const char *name)
- : KOrg::BaseView(calendar, tqparent, name)
+ : KOrg::BaseView(calendar, parent, name)
{
// TQLabel *dateLabel =
// new TQLabel(KGlobal::locale()->formatDate(TQDate::tqcurrentDate()),this);
diff --git a/korganizer/kowhatsnextview.h b/korganizer/kowhatsnextview.h
index 7fd07aeb..e899ae15 100644
--- a/korganizer/kowhatsnextview.h
+++ b/korganizer/kowhatsnextview.h
@@ -36,7 +36,7 @@ class WhatsNextTextBrowser : public TQTextBrowser {
Q_OBJECT
TQ_OBJECT
public:
- WhatsNextTextBrowser(TQWidget *tqparent) : TQTextBrowser(tqparent) {}
+ WhatsNextTextBrowser(TQWidget *parent) : TQTextBrowser(parent) {}
void setSource(const TQString &);
@@ -53,7 +53,7 @@ class KOWhatsNextView : public KOrg::BaseView
Q_OBJECT
TQ_OBJECT
public:
- KOWhatsNextView(Calendar *calendar, TQWidget *tqparent = 0,
+ KOWhatsNextView(Calendar *calendar, TQWidget *parent = 0,
const char *name = 0);
~KOWhatsNextView();
diff --git a/korganizer/multiagendaview.cpp b/korganizer/multiagendaview.cpp
index 4b7da9e2..8558d846 100644
--- a/korganizer/multiagendaview.cpp
+++ b/korganizer/multiagendaview.cpp
@@ -41,8 +41,8 @@ for(TQValueList<KOAgendaView*>::ConstIterator it = mAgendaViews.constBegin(); \
using namespace KOrg;
MultiAgendaView::MultiAgendaView( Calendar * cal, CalendarView *calendarView,
- TQWidget * tqparent, const char *name ) :
- AgendaView( cal, tqparent, name ),
+ TQWidget * parent, const char *name ) :
+ AgendaView( cal, parent, name ),
mSelectedAgendaView( 0 ),
mLastMovedSplitter( 0 ),
mUpdateOnShow( false ),
@@ -464,12 +464,12 @@ bool MultiAgendaView::eventFilter(TQObject * obj, TQEvent * event)
if ( (event->type() == TQEvent::MouseMove && KGlobalSettings::opaqueResize())
|| event->type() == TQEvent::MouseButtonRelease ) {
FOREACH_VIEW( agenda ) {
- if ( TQT_BASE_OBJECT(agenda->splitter()) == TQT_BASE_OBJECT(obj->tqparent()) )
+ if ( TQT_BASE_OBJECT(agenda->splitter()) == TQT_BASE_OBJECT(obj->parent()) )
mLastMovedSplitter = agenda->splitter();
}
- if ( TQT_BASE_OBJECT(mLeftSplitter )== TQT_BASE_OBJECT(obj->tqparent()) )
+ if ( TQT_BASE_OBJECT(mLeftSplitter )== TQT_BASE_OBJECT(obj->parent()) )
mLastMovedSplitter = mLeftSplitter;
- else if ( TQT_BASE_OBJECT(mRightSplitter) == TQT_BASE_OBJECT(obj->tqparent()) )
+ else if ( TQT_BASE_OBJECT(mRightSplitter) == TQT_BASE_OBJECT(obj->parent()) )
mLastMovedSplitter = mRightSplitter;
TQTimer::singleShot( 0, this, TQT_SLOT(resizeSplitters()) );
}
diff --git a/korganizer/multiagendaview.h b/korganizer/multiagendaview.h
index c25f3903..06c219dc 100644
--- a/korganizer/multiagendaview.h
+++ b/korganizer/multiagendaview.h
@@ -44,7 +44,7 @@ class MultiAgendaView : public AgendaView
TQ_OBJECT
public:
explicit MultiAgendaView( Calendar* cal, CalendarView *calendarView,
- TQWidget *tqparent = 0, const char *name = 0 );
+ TQWidget *parent = 0, const char *name = 0 );
~MultiAgendaView();
KOAgendaView *selectedAgendaView();
diff --git a/korganizer/navigatorbar.cpp b/korganizer/navigatorbar.cpp
index 342d6bb4..23a01716 100644
--- a/korganizer/navigatorbar.cpp
+++ b/korganizer/navigatorbar.cpp
@@ -42,8 +42,8 @@
#include "navigatorbar.h"
-ActiveLabel::ActiveLabel( TQWidget *tqparent, const char *name )
- : TQLabel( tqparent, name )
+ActiveLabel::ActiveLabel( TQWidget *parent, const char *name )
+ : TQLabel( parent, name )
{
}
@@ -53,8 +53,8 @@ void ActiveLabel::mouseReleaseEvent( TQMouseEvent * )
}
-NavigatorBar::NavigatorBar( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name ), mHasMinWidth( false )
+NavigatorBar::NavigatorBar( TQWidget *parent, const char *name )
+ : TQWidget( parent, name ), mHasMinWidth( false )
{
TQFont tfont = font();
tfont.setPointSize( 10 );
diff --git a/korganizer/navigatorbar.h b/korganizer/navigatorbar.h
index 19cda40a..d3642b0a 100644
--- a/korganizer/navigatorbar.h
+++ b/korganizer/navigatorbar.h
@@ -36,7 +36,7 @@ class ActiveLabel : public TQLabel
Q_OBJECT
TQ_OBJECT
public:
- ActiveLabel( TQWidget *tqparent, const char *name = 0 );
+ ActiveLabel( TQWidget *parent, const char *name = 0 );
signals:
void clicked();
@@ -51,7 +51,7 @@ class NavigatorBar: public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- NavigatorBar( TQWidget *tqparent = 0, const char *name = 0 );
+ NavigatorBar( TQWidget *parent = 0, const char *name = 0 );
~NavigatorBar();
void showButtons( bool left, bool right );
diff --git a/korganizer/plugins/datenums/configdialog.cpp b/korganizer/plugins/datenums/configdialog.cpp
index 6f5c4d86..3766e2ff 100644
--- a/korganizer/plugins/datenums/configdialog.cpp
+++ b/korganizer/plugins/datenums/configdialog.cpp
@@ -34,8 +34,8 @@
#include "configdialog.h"
#include "configdialog.moc"
-ConfigDialog::ConfigDialog(TQWidget *tqparent)
- : KDialogBase(Plain,i18n("Configure Day Numbers"),Ok|Cancel,Ok,tqparent)
+ConfigDialog::ConfigDialog(TQWidget *parent)
+ : KDialogBase(Plain,i18n("Configure Day Numbers"),Ok|Cancel,Ok,parent)
{
TQFrame *topFrame = plainPage();
TQVBoxLayout *topLayout = new TQVBoxLayout(topFrame,0,spacingHint());
diff --git a/korganizer/plugins/datenums/configdialog.h b/korganizer/plugins/datenums/configdialog.h
index f7291bd4..df2b7594 100644
--- a/korganizer/plugins/datenums/configdialog.h
+++ b/korganizer/plugins/datenums/configdialog.h
@@ -28,7 +28,7 @@ class ConfigDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- ConfigDialog(TQWidget *tqparent=0);
+ ConfigDialog(TQWidget *parent=0);
virtual ~ConfigDialog();
protected:
diff --git a/korganizer/plugins/datenums/datenums.cpp b/korganizer/plugins/datenums/datenums.cpp
index 32fc953e..b0a25ce4 100644
--- a/korganizer/plugins/datenums/datenums.cpp
+++ b/korganizer/plugins/datenums/datenums.cpp
@@ -40,9 +40,9 @@ Datenums::Datenums()
mDateNum = config.readNumEntry( "ShowDayNumbers", 0 );
}
-void Datenums::configure(TQWidget *tqparent)
+void Datenums::configure(TQWidget *parent)
{
- ConfigDialog *dlg = new ConfigDialog(tqparent);
+ ConfigDialog *dlg = new ConfigDialog(parent);
dlg->exec();
delete dlg;
}
diff --git a/korganizer/plugins/datenums/datenums.h b/korganizer/plugins/datenums/datenums.h
index c15b04eb..f9ca7783 100644
--- a/korganizer/plugins/datenums/datenums.h
+++ b/korganizer/plugins/datenums/datenums.h
@@ -30,7 +30,7 @@ class Datenums : public CalendarDecoration {
Datenums();
~Datenums() {}
- void configure(TQWidget *tqparent);
+ void configure(TQWidget *parent);
TQString shortText(const TQDate &);
TQString info();
diff --git a/korganizer/plugins/exchange/exchange.cpp b/korganizer/plugins/exchange/exchange.cpp
index f2aaa33e..87784c28 100644
--- a/korganizer/plugins/exchange/exchange.cpp
+++ b/korganizer/plugins/exchange/exchange.cpp
@@ -46,18 +46,18 @@ using namespace KCal; // Needed for connecting slots
class ExchangeFactory : public KOrg::PartFactory {
public:
- KOrg::Part *create(KOrg::MainWindow *tqparent, const char *name)
+ KOrg::Part *create(KOrg::MainWindow *parent, const char *name)
{
kdDebug(5850) << "Registering Exchange Plugin...\n";
KGlobal::locale()->insertCatalogue("libkpimexchange");
- return new Exchange(tqparent,name);
+ return new Exchange(parent,name);
}
};
K_EXPORT_COMPONENT_FACTORY( libkorg_exchange, ExchangeFactory )
-Exchange::Exchange(KOrg::MainWindow *tqparent, const char *name) :
- KOrg::Part(tqparent,name)
+Exchange::Exchange(KOrg::MainWindow *parent, const char *name) :
+ KOrg::Part(parent,name)
{
setInstance( new KInstance( "korganizer" ) );
@@ -65,7 +65,7 @@ Exchange::Exchange(KOrg::MainWindow *tqparent, const char *name) :
mAccount = new KPIM::ExchangeAccount( "Calendar/Exchange Plugin" );
mClient = new KPIM::ExchangeClient( mAccount );
- mClient->setWindow( tqparent->tqtopLevelWidget() );
+ mClient->setWindow( parent->tqtopLevelWidget() );
setXMLFile("plugins/exchangeui.rc");
diff --git a/korganizer/plugins/exchange/exchangeconfig.cpp b/korganizer/plugins/exchange/exchangeconfig.cpp
index 76e6abe7..fe01324a 100644
--- a/korganizer/plugins/exchange/exchangeconfig.cpp
+++ b/korganizer/plugins/exchange/exchangeconfig.cpp
@@ -31,8 +31,8 @@
#include "exchangeconfig.h"
-ExchangeConfig::ExchangeConfig( KPIM::ExchangeAccount* account, TQWidget* tqparent )
- : KDialogBase(Plain,i18n("Exchange Plugin"),Ok|Cancel,Ok,tqparent)
+ExchangeConfig::ExchangeConfig( KPIM::ExchangeAccount* account, TQWidget* parent )
+ : KDialogBase(Plain,i18n("Exchange Plugin"),Ok|Cancel,Ok,parent)
{
mAccount = account;
diff --git a/korganizer/plugins/exchange/exchangeconfig.h b/korganizer/plugins/exchange/exchangeconfig.h
index 095f73cd..54692f84 100644
--- a/korganizer/plugins/exchange/exchangeconfig.h
+++ b/korganizer/plugins/exchange/exchangeconfig.h
@@ -32,7 +32,7 @@ class ExchangeConfig : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- ExchangeConfig(KPIM::ExchangeAccount* account, TQWidget *tqparent=0);
+ ExchangeConfig(KPIM::ExchangeAccount* account, TQWidget *parent=0);
virtual ~ExchangeConfig();
// protected:
diff --git a/korganizer/plugins/exchange/exchangedialog.cpp b/korganizer/plugins/exchange/exchangedialog.cpp
index 8c5cb74f..de56a3a1 100644
--- a/korganizer/plugins/exchange/exchangedialog.cpp
+++ b/korganizer/plugins/exchange/exchangedialog.cpp
@@ -30,8 +30,8 @@
#include "exchangedialog.h"
-ExchangeDialog::ExchangeDialog( const TQDate &_start, const TQDate &_end, TQWidget *tqparent)
- : KDialogBase(Plain,i18n("Exchange Plugin"),Ok|Cancel,Ok,tqparent)
+ExchangeDialog::ExchangeDialog( const TQDate &_start, const TQDate &_end, TQWidget *parent)
+ : KDialogBase(Plain,i18n("Exchange Plugin"),Ok|Cancel,Ok,parent)
{
TQFrame *topFrame = plainPage();
TQGridLayout *topLayout = new TQGridLayout( topFrame, 2, 2, 3 );
diff --git a/korganizer/plugins/exchange/exchangedialog.h b/korganizer/plugins/exchange/exchangedialog.h
index 1aa17c38..80fe46f7 100644
--- a/korganizer/plugins/exchange/exchangedialog.h
+++ b/korganizer/plugins/exchange/exchangedialog.h
@@ -29,7 +29,7 @@ class ExchangeDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- ExchangeDialog( const TQDate &start, const TQDate &end, TQWidget *tqparent=0);
+ ExchangeDialog( const TQDate &start, const TQDate &end, TQWidget *parent=0);
virtual ~ExchangeDialog();
protected slots:
diff --git a/korganizer/plugins/hebrew/configdialog.cpp b/korganizer/plugins/hebrew/configdialog.cpp
index ee74a577..6298151a 100644
--- a/korganizer/plugins/hebrew/configdialog.cpp
+++ b/korganizer/plugins/hebrew/configdialog.cpp
@@ -26,8 +26,8 @@
#include <kstandarddirs.h>
#include <ksimpleconfig.h>
-ConfigDialog::ConfigDialog(TQWidget * tqparent):KDialogBase(Plain, i18n("Configure Holidays"), Ok|Cancel, Ok,
- tqparent)
+ConfigDialog::ConfigDialog(TQWidget * parent):KDialogBase(Plain, i18n("Configure Holidays"), Ok|Cancel, Ok,
+ parent)
{
TQFrame *topFrame = plainPage();
TQVBoxLayout *topLayout =
diff --git a/korganizer/plugins/hebrew/configdialog.h b/korganizer/plugins/hebrew/configdialog.h
index 1ef1153f..cfd19e7f 100644
--- a/korganizer/plugins/hebrew/configdialog.h
+++ b/korganizer/plugins/hebrew/configdialog.h
@@ -32,7 +32,7 @@ class ConfigDialog:public KDialogBase
public:
- ConfigDialog(TQWidget * tqparent = 0);
+ ConfigDialog(TQWidget * parent = 0);
virtual ~ ConfigDialog();
protected:
diff --git a/korganizer/plugins/hebrew/hebrew.cpp b/korganizer/plugins/hebrew/hebrew.cpp
index 240e9a3f..e36925aa 100644
--- a/korganizer/plugins/hebrew/hebrew.cpp
+++ b/korganizer/plugins/hebrew/hebrew.cpp
@@ -103,9 +103,9 @@ TQString Hebrew::info()
i18n("This plugin provides the date in the Jewish calendar.");
}
-void Hebrew::configure(TQWidget * tqparent)
+void Hebrew::configure(TQWidget * parent)
{
- ConfigDialog *dlg = new ConfigDialog(tqparent); //tqparent?
+ ConfigDialog *dlg = new ConfigDialog(parent); //parent?
dlg->exec();
delete dlg;
diff --git a/korganizer/plugins/hebrew/hebrew.h b/korganizer/plugins/hebrew/hebrew.h
index 80507fad..c337f7ef 100644
--- a/korganizer/plugins/hebrew/hebrew.h
+++ b/korganizer/plugins/hebrew/hebrew.h
@@ -34,7 +34,7 @@ public:
~Hebrew()
{
}
- void configure(TQWidget * tqparent);
+ void configure(TQWidget * parent);
TQString shortText(const TQDate &);
TQString info();
diff --git a/korganizer/plugins/projectview/koprojectview.cpp b/korganizer/plugins/projectview/koprojectview.cpp
index 3c7678e1..79b146b3 100644
--- a/korganizer/plugins/projectview/koprojectview.cpp
+++ b/korganizer/plugins/projectview/koprojectview.cpp
@@ -64,9 +64,9 @@ Todo *KOProjectViewItem::event()
}
-KOProjectView::KOProjectView(Calendar *calendar,TQWidget* tqparent,
+KOProjectView::KOProjectView(Calendar *calendar,TQWidget* parent,
const char* name) :
- KOrg::BaseView(calendar,tqparent,name)
+ KOrg::BaseView(calendar,parent,name)
{
TQBoxLayout *topLayout = new TQVBoxLayout(this);
@@ -183,7 +183,7 @@ void KOProjectView::updateView()
*/
// Put for each Event a KOProjectViewItem in the list view. Don't rely on a
- // specific order of events. That means that we have to generate tqparent items
+ // specific order of events. That means that we have to generate parent items
// recursively for proper hierarchical display of Todos.
mTodoMap.clear();
Todo::List::ConstIterator it;
@@ -216,7 +216,7 @@ TQMap<Todo *,KGanttItem *>::ConstIterator
}
}
-KGanttItem *KOProjectView::createTask(KGanttItem *tqparent,Todo *todo)
+KGanttItem *KOProjectView::createTask(KGanttItem *parent,Todo *todo)
{
TQDateTime startDt;
TQDateTime endDt;
@@ -237,7 +237,7 @@ KGanttItem *KOProjectView::createTask(KGanttItem *tqparent,Todo *todo)
endDt = todo->dtDue();
}
- KGanttItem *task = new KOProjectViewItem(todo,tqparent,todo->summary(),startDt,
+ KGanttItem *task = new KOProjectViewItem(todo,parent,todo->summary(),startDt,
endDt);
connect(task,TQT_SIGNAL(changed(KGanttItem*, KGanttItem::Change)),
TQT_SLOT(taskChanged(KGanttItem*,KGanttItem::Change)));
diff --git a/korganizer/plugins/projectview/koprojectview.h b/korganizer/plugins/projectview/koprojectview.h
index 21aa4b2b..d0561052 100644
--- a/korganizer/plugins/projectview/koprojectview.h
+++ b/korganizer/plugins/projectview/koprojectview.h
@@ -68,7 +68,7 @@ class KOProjectView : public KOrg::BaseView
Q_OBJECT
TQ_OBJECT
public:
- KOProjectView(Calendar *, TQWidget* tqparent=0, const char* name=0 );
+ KOProjectView(Calendar *, TQWidget* parent=0, const char* name=0 );
~KOProjectView() {}
Incidence::List selectedIncidences();
diff --git a/korganizer/plugins/projectview/projectview.cpp b/korganizer/plugins/projectview/projectview.cpp
index d6a009c8..2e7b3dc6 100644
--- a/korganizer/plugins/projectview/projectview.cpp
+++ b/korganizer/plugins/projectview/projectview.cpp
@@ -35,18 +35,18 @@ using namespace KOrg;
class ProjectViewFactory : public KOrg::PartFactory {
public:
- KOrg::Part *create(KOrg::MainWindow *tqparent, const char *name)
+ KOrg::Part *create(KOrg::MainWindow *parent, const char *name)
{
KGlobal::locale()->insertCatalogue( "kgantt" );
- return new ProjectView(tqparent,name);
+ return new ProjectView(parent,name);
}
};
K_EXPORT_COMPONENT_FACTORY( libkorg_projectview, ProjectViewFactory )
-ProjectView::ProjectView(KOrg::MainWindow *tqparent, const char *name) :
- KOrg::Part(tqparent,name), mView(0)
+ProjectView::ProjectView(KOrg::MainWindow *parent, const char *name) :
+ KOrg::Part(parent,name), mView(0)
{
setInstance( new KInstance( "korganizer" ) );
diff --git a/korganizer/plugins/timespanview/kotimespanview.cpp b/korganizer/plugins/timespanview/kotimespanview.cpp
index 7f70f12e..08fd51b1 100644
--- a/korganizer/plugins/timespanview/kotimespanview.cpp
+++ b/korganizer/plugins/timespanview/kotimespanview.cpp
@@ -35,9 +35,9 @@
#include "kotimespanview.h"
#include "kotimespanview.moc"
-KOTimeSpanView::KOTimeSpanView(Calendar *calendar, TQWidget *tqparent,
+KOTimeSpanView::KOTimeSpanView(Calendar *calendar, TQWidget *parent,
const char *name) :
- KOEventView( calendar, tqparent, name )
+ KOEventView( calendar, parent, name )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
diff --git a/korganizer/plugins/timespanview/kotimespanview.h b/korganizer/plugins/timespanview/kotimespanview.h
index f0d6c6ce..c121d897 100644
--- a/korganizer/plugins/timespanview/kotimespanview.h
+++ b/korganizer/plugins/timespanview/kotimespanview.h
@@ -34,7 +34,7 @@ class KOTimeSpanView : public KOEventView
Q_OBJECT
TQ_OBJECT
public:
- KOTimeSpanView( Calendar *calendar, TQWidget *tqparent = 0,
+ KOTimeSpanView( Calendar *calendar, TQWidget *parent = 0,
const char *name = 0 );
~KOTimeSpanView();
diff --git a/korganizer/plugins/timespanview/lineview.cpp b/korganizer/plugins/timespanview/lineview.cpp
index fe337f4e..cf8ccd80 100644
--- a/korganizer/plugins/timespanview/lineview.cpp
+++ b/korganizer/plugins/timespanview/lineview.cpp
@@ -31,8 +31,8 @@
#include "lineview.h"
#include "lineview.moc"
-LineView::LineView( TQWidget *tqparent, const char *name ) :
- TQScrollView( tqparent, name )
+LineView::LineView( TQWidget *parent, const char *name ) :
+ TQScrollView( parent, name )
{
mPixelWidth = 1000;
diff --git a/korganizer/plugins/timespanview/lineview.h b/korganizer/plugins/timespanview/lineview.h
index df028cdb..e0b5c906 100644
--- a/korganizer/plugins/timespanview/lineview.h
+++ b/korganizer/plugins/timespanview/lineview.h
@@ -32,7 +32,7 @@ class LineView : public TQScrollView
Q_OBJECT
TQ_OBJECT
public:
- LineView( TQWidget *tqparent = 0, const char *name = 0 );
+ LineView( TQWidget *parent = 0, const char *name = 0 );
virtual ~LineView();
int pixelWidth();
diff --git a/korganizer/plugins/timespanview/timeline.cpp b/korganizer/plugins/timespanview/timeline.cpp
index 513701cd..e402294b 100644
--- a/korganizer/plugins/timespanview/timeline.cpp
+++ b/korganizer/plugins/timespanview/timeline.cpp
@@ -29,8 +29,8 @@
#include "timeline.h"
#include "timeline.moc"
-TimeLine::TimeLine( TQWidget *tqparent, const char *name ) :
- TQScrollView( tqparent, name )
+TimeLine::TimeLine( TQWidget *parent, const char *name ) :
+ TQScrollView( parent, name )
{
mPixelWidth = 1000;
diff --git a/korganizer/plugins/timespanview/timeline.h b/korganizer/plugins/timespanview/timeline.h
index d7718928..74d0a3cf 100644
--- a/korganizer/plugins/timespanview/timeline.h
+++ b/korganizer/plugins/timespanview/timeline.h
@@ -32,7 +32,7 @@ class TimeLine : public TQScrollView
Q_OBJECT
TQ_OBJECT
public:
- TimeLine( TQWidget *tqparent = 0, const char *name = 0 );
+ TimeLine( TQWidget *parent = 0, const char *name = 0 );
virtual ~TimeLine();
void setDateRange( const TQDateTime &start, const TQDateTime &end );
diff --git a/korganizer/plugins/timespanview/timespanview.cpp b/korganizer/plugins/timespanview/timespanview.cpp
index 3f9e2ee5..24a45abb 100644
--- a/korganizer/plugins/timespanview/timespanview.cpp
+++ b/korganizer/plugins/timespanview/timespanview.cpp
@@ -35,17 +35,17 @@ using namespace KOrg;
class TimespanViewFactory : public KOrg::PartFactory {
public:
- KOrg::Part *create( KOrg::MainWindow *tqparent, const char *name )
+ KOrg::Part *create( KOrg::MainWindow *parent, const char *name )
{
- return new TimespanView( tqparent, name );
+ return new TimespanView( parent, name );
}
};
K_EXPORT_COMPONENT_FACTORY( libkorg_timespanview, TimespanViewFactory )
-TimespanView::TimespanView(KOrg::MainWindow *tqparent, const char *name) :
- KOrg::Part(tqparent,name), mView(0)
+TimespanView::TimespanView(KOrg::MainWindow *parent, const char *name) :
+ KOrg::Part(parent,name), mView(0)
{
setInstance( new KInstance( "korganizer" ) );
diff --git a/korganizer/plugins/timespanview/timespanwidget.cpp b/korganizer/plugins/timespanview/timespanwidget.cpp
index e208c088..b1c156ee 100644
--- a/korganizer/plugins/timespanview/timespanwidget.cpp
+++ b/korganizer/plugins/timespanview/timespanwidget.cpp
@@ -39,8 +39,8 @@
#include "timespanwidget.h"
#include "timespanwidget.moc"
-TimeSpanWidget::TimeSpanWidget( TQWidget *tqparent, const char *name ) :
- TQWidget( tqparent, name )
+TimeSpanWidget::TimeSpanWidget( TQWidget *parent, const char *name ) :
+ TQWidget( parent, name )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
diff --git a/korganizer/plugins/timespanview/timespanwidget.h b/korganizer/plugins/timespanview/timespanwidget.h
index 103efc5f..92a2f116 100644
--- a/korganizer/plugins/timespanview/timespanwidget.h
+++ b/korganizer/plugins/timespanview/timespanwidget.h
@@ -40,7 +40,7 @@ class TimeSpanWidget : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- TimeSpanWidget( TQWidget *tqparent=0, const char *name=0 );
+ TimeSpanWidget( TQWidget *parent=0, const char *name=0 );
virtual ~TimeSpanWidget();
void addItem( KCal::Event * );
diff --git a/korganizer/previewdialog.cpp b/korganizer/previewdialog.cpp
index 8a7c83a3..23671bd9 100644
--- a/korganizer/previewdialog.cpp
+++ b/korganizer/previewdialog.cpp
@@ -49,8 +49,8 @@
using namespace KCal;
-PreviewDialog::PreviewDialog( const KURL &url, TQWidget *tqparent )
- : KDialogBase( Plain, i18n("Import Calendar/Event"), User1 | User2 | Cancel, User1, tqparent,
+PreviewDialog::PreviewDialog( const KURL &url, TQWidget *parent )
+ : KDialogBase( Plain, i18n("Import Calendar/Event"), User1 | User2 | Cancel, User1, parent,
0, true, true, KGuiItem( i18n("&Merge into existing calendar"), "merge" ) ),
mOriginalUrl( url )
{
diff --git a/korganizer/previewdialog.h b/korganizer/previewdialog.h
index 16d43089..c495e9bb 100644
--- a/korganizer/previewdialog.h
+++ b/korganizer/previewdialog.h
@@ -43,7 +43,7 @@ class PreviewDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- PreviewDialog( const KURL &url, TQWidget *tqparent );
+ PreviewDialog( const KURL &url, TQWidget *parent );
~PreviewDialog();
bool loadCalendar();
diff --git a/korganizer/printing/calprinter.cpp b/korganizer/printing/calprinter.cpp
index 4097f1ed..c990dccd 100644
--- a/korganizer/printing/calprinter.cpp
+++ b/korganizer/printing/calprinter.cpp
@@ -46,10 +46,10 @@
#include "calprintdefaultplugins.h"
-CalPrinter::CalPrinter( TQWidget *tqparent, Calendar *calendar, KOrg::CoreHelper *helper )
- : TQObject( tqparent, "CalPrinter" )
+CalPrinter::CalPrinter( TQWidget *parent, Calendar *calendar, KOrg::CoreHelper *helper )
+ : TQObject( parent, "CalPrinter" )
{
- mParent = tqparent;
+ mParent = parent;
mConfig = new KSimpleConfig( "korganizer_printing.rc" );
mCoreHelper = helper;
@@ -168,8 +168,8 @@ void CalPrinter::updateConfig()
/****************************************************************************/
CalPrintDialog::CalPrintDialog( KOrg::PrintPlugin::List plugins,
- TQWidget *tqparent, const char *name )
- : KDialogBase( tqparent, name, /*modal*/true, i18n("Print"), Ok | Cancel )
+ TQWidget *parent, const char *name )
+ : KDialogBase( parent, name, /*modal*/true, i18n("Print"), Ok | Cancel )
{
TQVBox *page = makeVBoxMainWidget();
diff --git a/korganizer/printing/calprinter.h b/korganizer/printing/calprinter.h
index f3e2ad2d..7a0f257b 100644
--- a/korganizer/printing/calprinter.h
+++ b/korganizer/printing/calprinter.h
@@ -64,7 +64,7 @@ class KDE_EXPORT CalPrinter : public TQObject, public KOrg::CalPrinterBase
};
public:
/**
- \param par tqparent widget for dialogs
+ \param par parent widget for dialogs
\param cal calendar to be printed
\param helper is a pointer to the KOrg::CoreHelper object
*/
@@ -110,7 +110,7 @@ class CalPrintDialog : public KDialogBase
TQ_OBJECT
public:
CalPrintDialog( KOrg::PrintPlugin::List plugins,
- TQWidget *tqparent = 0, const char *name = 0 );
+ TQWidget *parent = 0, const char *name = 0 );
virtual ~CalPrintDialog();
KOrg::PrintPlugin *selectedPlugin();
void setOrientation( CalPrinter::ePrintOrientation orientation );
diff --git a/korganizer/printing/calprintpluginbase.cpp b/korganizer/printing/calprintpluginbase.cpp
index 63eb25f8..27c3cb33 100644
--- a/korganizer/printing/calprintpluginbase.cpp
+++ b/korganizer/printing/calprintpluginbase.cpp
@@ -1427,7 +1427,7 @@ void CalPrintPluginBase::drawTodo( int &count, Todo *todo, TQPainter &p,
TQRect rect;
TodoParentStart startpt;
- // This list keeps all starting points of the tqparent to-dos so the connection
+ // This list keeps all starting points of the parent to-dos so the connection
// lines of the tree can easily be drawn (needed if a new page is started)
static TQPtrList<TodoParentStart> startPoints;
if ( level < 1 ) {
@@ -1450,7 +1450,7 @@ void CalPrintPluginBase::drawTodo( int &count, Todo *todo, TQPainter &p,
}
// if too big make new page
if ( rect.bottom() > pageHeight ) {
- // first draw the connection lines from tqparent to-dos:
+ // first draw the connection lines from parent to-dos:
if ( level > 0 && connectSubTodos ) {
TodoParentStart *rct;
for ( rct = startPoints.first(); rct; rct = startPoints.next() ) {
@@ -1458,7 +1458,7 @@ void CalPrintPluginBase::drawTodo( int &count, Todo *todo, TQPainter &p,
int center = rct->mRect.left() + (rct->mRect.width()/2);
int to = p.viewport().bottom();
- // draw either from start point of tqparent or from top of the page
+ // draw either from start point of parent or from top of the page
if ( rct->mSamePage )
start = rct->mRect.bottom() + 1;
else
@@ -1473,7 +1473,7 @@ void CalPrintPluginBase::drawTodo( int &count, Todo *todo, TQPainter &p,
}
// If this is a sub-to-do, r will not be 0, and we want the LH side
- // of the priority line up to the RH side of the tqparent to-do's priority
+ // of the priority line up to the RH side of the parent to-do's priority
bool showPriority = posPriority>=0;
int lhs = posPriority;
if ( r ) {
diff --git a/korganizer/printing/calprintpluginbase.h b/korganizer/printing/calprintpluginbase.h
index 38594962..59215194 100644
--- a/korganizer/printing/calprintpluginbase.h
+++ b/korganizer/printing/calprintpluginbase.h
@@ -478,7 +478,7 @@ class KDE_EXPORT CalPrintPluginBase : public KOrg::PrintPlugin
\param p TQPainter of the printout
\param sortField Specifies on which attribute of the todo you want to sort.
\param sortDir Specifies if you want to sort ascending or descending.
- \param connectSubTodos Whether sub-to-dos shall be connected with their tqparent by a line (tree-like).
+ \param connectSubTodos Whether sub-to-dos shall be connected with their parent by a line (tree-like).
\param strikeoutCompleted Whether completed to-dos should be printed with strike-out summaries.
\param desc Whether to print the whole description of the to-do (the summary is always printed).
\param posPriority x-coordinate where the priority is supposed to be printed. If <0, no priority will be printed.
@@ -491,7 +491,7 @@ class KDE_EXPORT CalPrintPluginBase : public KOrg::PrintPlugin
\param width width of the whole to-do list.
\param pageHeight Total height allowed for the to-do list on a page. If an to-do would be below that line, a new page is started.
\param todoList Contains a list of sub-todos for the specified @p todo .
- \param r Internal (used when printing sub-to-dos to give information about its tqparent)
+ \param r Internal (used when printing sub-to-dos to give information about its parent)
*/
void drawTodo( int &count, Todo *todo, TQPainter &p,
TodoSortField sortField, SortDirection sortDir,
diff --git a/korganizer/printing/calprinttodoconfig_base.ui b/korganizer/printing/calprinttodoconfig_base.ui
index 63509d35..f5592335 100644
--- a/korganizer/printing/calprinttodoconfig_base.ui
+++ b/korganizer/printing/calprinttodoconfig_base.ui
@@ -383,7 +383,7 @@
<cstring>mConnectSubTodos</cstring>
</property>
<property name="text">
- <string>Co&amp;nnect sub-to-dos with its tqparent</string>
+ <string>Co&amp;nnect sub-to-dos with its parent</string>
</property>
<property name="checked">
<bool>true</bool>
diff --git a/korganizer/publishdialog.cpp b/korganizer/publishdialog.cpp
index 33e30e9b..5d8b3462 100644
--- a/korganizer/publishdialog.cpp
+++ b/korganizer/publishdialog.cpp
@@ -37,9 +37,9 @@
#include "publishdialog.h"
#include "publishdialog_base.h"
-PublishDialog::PublishDialog( TQWidget* tqparent, const char* name,
+PublishDialog::PublishDialog( TQWidget* parent, const char* name,
bool modal )
- : KDialogBase( tqparent, name, modal,
+ : KDialogBase( parent, name, modal,
i18n("Select Addresses"), Ok|Cancel|Help, Ok, true )
{
mWidget = new PublishDialog_base( this, "PublishFreeBusy" );
diff --git a/korganizer/publishdialog.h b/korganizer/publishdialog.h
index 83281600..5ef4b9a9 100644
--- a/korganizer/publishdialog.h
+++ b/korganizer/publishdialog.h
@@ -36,7 +36,7 @@ class PublishDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- PublishDialog(TQWidget* tqparent=0,const char* name=0,
+ PublishDialog(TQWidget* parent=0,const char* name=0,
bool modal=true );
~PublishDialog();
diff --git a/korganizer/resourceview.cpp b/korganizer/resourceview.cpp
index 9058df86..a4475a4c 100644
--- a/korganizer/resourceview.cpp
+++ b/korganizer/resourceview.cpp
@@ -96,9 +96,9 @@ ResourceViewFactory::ResourceViewFactory( CalendarResources *calendar, CalendarV
{
}
-CalendarViewExtension *ResourceViewFactory::create( TQWidget *tqparent )
+CalendarViewExtension *ResourceViewFactory::create( TQWidget *parent )
{
- mResourceView = new ResourceView( mCalendar, mCalendarView, tqparent );
+ mResourceView = new ResourceView( mCalendar, mCalendarView, parent );
TQObject::connect( mResourceView, TQT_SIGNAL( resourcesChanged() ),
mCalendarView, TQT_SLOT( resourcesChanged() ) );
@@ -127,8 +127,8 @@ ResourceView *ResourceViewFactory::resourceView() const
}
ResourceItem::ResourceItem( ResourceCalendar *resource, ResourceView *view,
- KListView *tqparent )
- : TQCheckListItem( tqparent, resource->resourceName(), CheckBox ),
+ KListView *parent )
+ : TQCheckListItem( parent, resource->resourceName(), CheckBox ),
mResource( resource ), mResourceView( view ), mBlockStateChange( false ),
mIsSubresource( false ), mResourceIdentifier( TQString() ),
mSubItemsCreated( false ), mIsStandardResource( false )
@@ -164,8 +164,8 @@ void ResourceItem::createSubresourceItems()
}
ResourceItem::ResourceItem( ResourceCalendar *resource, const TQString &identifier,
- const TQString &label, ResourceView *view, ResourceItem *tqparent )
- : TQCheckListItem( tqparent, label, CheckBox ), mResource( resource ),
+ const TQString &label, ResourceView *view, ResourceItem *parent )
+ : TQCheckListItem( parent, label, CheckBox ), mResource( resource ),
mResourceView( view ), mBlockStateChange( false ), mIsSubresource( true ),
mSubItemsCreated( false ), mIsStandardResource( false )
{
@@ -258,8 +258,8 @@ void ResourceItem::paintCell(TQPainter *p, const TQColorGroup &cg,
ResourceView::ResourceView( CalendarResources *calendar,
- CalendarView *view, TQWidget *tqparent, const char *name )
- : CalendarViewExtension( tqparent, name ), mCalendar( calendar ), mCalendarView( view )
+ CalendarView *view, TQWidget *parent, const char *name )
+ : CalendarViewExtension( parent, name ), mCalendar( calendar ), mCalendarView( view )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this, 0, KDialog::spacingHint() );
diff --git a/korganizer/resourceview.h b/korganizer/resourceview.h
index 39606a53..e5bb9d3e 100644
--- a/korganizer/resourceview.h
+++ b/korganizer/resourceview.h
@@ -57,9 +57,9 @@ class ResourceViewFactory : public CalendarViewExtension::Factory
class ResourceItem : public TQCheckListItem
{
public:
- ResourceItem( ResourceCalendar *resource, ResourceView *view, KListView *tqparent );
+ ResourceItem( ResourceCalendar *resource, ResourceView *view, KListView *parent );
ResourceItem( ResourceCalendar *resource, const TQString &identifier,
- const TQString &label, ResourceView *view, ResourceItem *tqparent );
+ const TQString &label, ResourceView *view, ResourceItem *parent );
ResourceCalendar *resource() { return mResource; }
const TQString& resourceIdentifier() { return mResourceIdentifier; }
@@ -98,7 +98,7 @@ class ResourceView : public CalendarViewExtension
TQ_OBJECT
public:
ResourceView( CalendarResources *calendar, CalendarView *view,
- TQWidget *tqparent = 0, const char *name = 0 );
+ TQWidget *parent = 0, const char *name = 0 );
~ResourceView();
CalendarResources *calendar() const { return mCalendar; }
diff --git a/korganizer/searchdialog.cpp b/korganizer/searchdialog.cpp
index a5a11134..8e080083 100644
--- a/korganizer/searchdialog.cpp
+++ b/korganizer/searchdialog.cpp
@@ -45,8 +45,8 @@
#include "searchdialog.h"
#include "searchdialog.moc"
-SearchDialog::SearchDialog(Calendar *calendar,TQWidget *tqparent)
- : KDialogBase(Plain,i18n("Find Events"),User1|Close,User1,tqparent,0,false,false,
+SearchDialog::SearchDialog(Calendar *calendar,TQWidget *parent)
+ : KDialogBase(Plain,i18n("Find Events"),User1|Close,User1,parent,0,false,false,
KGuiItem( i18n("&Find"), "find") )
{
mCalendar = calendar;
diff --git a/korganizer/searchdialog.h b/korganizer/searchdialog.h
index 33427c25..f2a1f40f 100644
--- a/korganizer/searchdialog.h
+++ b/korganizer/searchdialog.h
@@ -48,7 +48,7 @@ class SearchDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- SearchDialog(Calendar *calendar,TQWidget *tqparent=0);
+ SearchDialog(Calendar *calendar,TQWidget *parent=0);
virtual ~SearchDialog();
void updateView();
diff --git a/korganizer/statusdialog.cpp b/korganizer/statusdialog.cpp
index a90ab28d..39e23a8d 100644
--- a/korganizer/statusdialog.cpp
+++ b/korganizer/statusdialog.cpp
@@ -35,8 +35,8 @@
#include "statusdialog.h"
#include "statusdialog.moc"
-StatusDialog::StatusDialog(TQWidget* tqparent, const char* name) :
- KDialog(tqparent,name,true)
+StatusDialog::StatusDialog(TQWidget* parent, const char* name) :
+ KDialog(parent,name,true)
{
setCaption(i18n("Set Your tqStatus"));
diff --git a/korganizer/statusdialog.h b/korganizer/statusdialog.h
index 6c1b90f2..9f01bca6 100644
--- a/korganizer/statusdialog.h
+++ b/korganizer/statusdialog.h
@@ -31,7 +31,7 @@ class StatusDialog : public KDialog
Q_OBJECT
TQ_OBJECT
public:
- StatusDialog(TQWidget* tqparent=0,const char* name=0);
+ StatusDialog(TQWidget* parent=0,const char* name=0);
~StatusDialog();
Attendee::PartStat status();
diff --git a/korganizer/templatemanagementdialog.cpp b/korganizer/templatemanagementdialog.cpp
index f610a2fd..bbee8ca8 100644
--- a/korganizer/templatemanagementdialog.cpp
+++ b/korganizer/templatemanagementdialog.cpp
@@ -45,8 +45,8 @@
#include <klocale.h>
#include <kmessagebox.h>
-TemplateManagementDialog::TemplateManagementDialog(TQWidget *tqparent, const TQStringList &templates )
- :KDialogBase( tqparent, "template_management_dialog", true,
+TemplateManagementDialog::TemplateManagementDialog(TQWidget *parent, const TQStringList &templates )
+ :KDialogBase( parent, "template_management_dialog", true,
i18n("Manage Templates"), Ok|Cancel, Ok, true , i18n("Apply Template")),
m_templates( templates ), m_newTemplate( TQString() ), m_changed( false )
{
diff --git a/korganizer/templatemanagementdialog.h b/korganizer/templatemanagementdialog.h
index 0a8fadf0..d3f2afd2 100644
--- a/korganizer/templatemanagementdialog.h
+++ b/korganizer/templatemanagementdialog.h
@@ -48,7 +48,7 @@ class TemplateManagementDialog: public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:
- TemplateManagementDialog( TQWidget *tqparent, const TQStringList& templates );
+ TemplateManagementDialog( TQWidget *parent, const TQStringList& templates );
signals:
/* Emitted whenever the user hits apply, indicating that the currently selected template
diff --git a/korganizer/timelabels.cpp b/korganizer/timelabels.cpp
index 29291a0a..c2802acb 100644
--- a/korganizer/timelabels.cpp
+++ b/korganizer/timelabels.cpp
@@ -42,8 +42,8 @@
#include "koprefs.h"
#include "koagenda.h"
-TimeLabels::TimeLabels(int rows,TQWidget *tqparent,const char *name,WFlags f) :
- TQScrollView(tqparent,name,f)
+TimeLabels::TimeLabels(int rows,TQWidget *parent,const char *name,WFlags f) :
+ TQScrollView(parent,name,f)
{
mRows = rows;
mMiniWidth = 0;
diff --git a/korganizer/timelabels.h b/korganizer/timelabels.h
index df555ab5..60353e37 100644
--- a/korganizer/timelabels.h
+++ b/korganizer/timelabels.h
@@ -41,7 +41,7 @@ class TimeLabels : public TQScrollView
Q_OBJECT
TQ_OBJECT
public:
- TimeLabels( int rows, TQWidget *tqparent = 0, const char *name = 0,
+ TimeLabels( int rows, TQWidget *parent = 0, const char *name = 0,
WFlags f = 0 );
/** Calculates the minimum width */
diff --git a/korganizer/timelineitem.cpp b/korganizer/timelineitem.cpp
index 649bcfa8..1e6e1169 100644
--- a/korganizer/timelineitem.cpp
+++ b/korganizer/timelineitem.cpp
@@ -31,8 +31,8 @@
using namespace KOrg;
using namespace KCal;
-TimelineItem::TimelineItem( const TQString &label, KCal::Calendar *calendar, KDGanttView * tqparent) :
- KDGanttViewTaskItem( tqparent ), mCalendar( calendar )
+TimelineItem::TimelineItem( const TQString &label, KCal::Calendar *calendar, KDGanttView * parent) :
+ KDGanttViewTaskItem( parent ), mCalendar( calendar )
{
setListViewText( 0, label );
setDisplaySubitemsAsGroup( true );
@@ -92,8 +92,8 @@ void TimelineItem::moveItems(KCal::Incidence * incidence, int delta, int duratio
TimelineSubItem::TimelineSubItem( KCal::Calendar *calendar,
- KCal::Incidence *incidence, TimelineItem *tqparent) :
- KDGanttViewTaskItem( tqparent ),
+ KCal::Incidence *incidence, TimelineItem *parent) :
+ KDGanttViewTaskItem( parent ),
mIncidence( incidence ),
mLeft( 0 ),
mRight( 0 ),
diff --git a/korganizer/timelineitem.h b/korganizer/timelineitem.h
index 7cf45145..a3406f11 100644
--- a/korganizer/timelineitem.h
+++ b/korganizer/timelineitem.h
@@ -42,7 +42,7 @@ class TimelineSubItem;
class TimelineItem : public KDGanttViewTaskItem
{
public:
- TimelineItem( const TQString &label, KCal::Calendar *calendar, KDGanttView* tqparent );
+ TimelineItem( const TQString &label, KCal::Calendar *calendar, KDGanttView* parent );
void insertIncidence( KCal::Incidence *incidence,
const TQDateTime &start = TQDateTime(),
@@ -59,7 +59,7 @@ class TimelineItem : public KDGanttViewTaskItem
class TimelineSubItem : public KDGanttViewTaskItem
{
public:
- TimelineSubItem( KCal::Calendar *calendar, KCal::Incidence *incidence, TimelineItem *tqparent );
+ TimelineSubItem( KCal::Calendar *calendar, KCal::Incidence *incidence, TimelineItem *parent );
~TimelineSubItem();
KCal::Incidence* incidence() const { return mIncidence; }
diff --git a/korganizer/urihandler.cpp b/korganizer/urihandler.cpp
index a9eb31ba..080ecd8d 100644
--- a/korganizer/urihandler.cpp
+++ b/korganizer/urihandler.cpp
@@ -69,7 +69,7 @@ TQString UriHandler::uidFromUri( const TQString &uri )
return tmp;
}
-bool UriHandler::process( TQWidget *tqparent, const TQString &uri )
+bool UriHandler::process( TQWidget *parent, const TQString &uri )
{
kdDebug(5850) << "UriHandler::process(): " << uri << endl;
@@ -127,7 +127,7 @@ bool UriHandler::process( TQWidget *tqparent, const TQString &uri )
} else if ( uri.startsWith( "ATTACH:" ) ) {
// a calendar incidence attachment
- return AttachmentHandler::view( tqparent, attachmentNameFromUri( uri ), uidFromUri( uri ) );
+ return AttachmentHandler::view( parent, attachmentNameFromUri( uri ), uidFromUri( uri ) );
} else { // no special URI, let KDE handle it
new KRun( KURL( uri ) );
diff --git a/korganizer/urihandler.h b/korganizer/urihandler.h
index 360e58e3..aa3c6de2 100644
--- a/korganizer/urihandler.h
+++ b/korganizer/urihandler.h
@@ -35,7 +35,7 @@ class KDE_EXPORT UriHandler
/**
Process URI. Return true if handler handled the URI, otherwise false.
*/
- static bool process( TQWidget *tqparent, const TQString &uri );
+ static bool process( TQWidget *parent, const TQString &uri );
static TQString attachmentNameFromUri( const TQString &uri );
static TQString uidFromUri( const TQString &uri );