diff options
Diffstat (limited to 'korganizer/plugins')
25 files changed, 49 insertions, 49 deletions
diff --git a/korganizer/plugins/datenums/configdialog.cpp b/korganizer/plugins/datenums/configdialog.cpp index 6f5c4d86a..3766e2ffd 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 f7291bd42..df2b7594e 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 32fc953e7..b0a25ce4a 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 c15b04ebd..f9ca7783a 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 f2aaa33e5..87784c282 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 76e6abe7d..fe01324ac 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 095f73cd1..54692f846 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 8c5cb74f2..de56a3a19 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 1aa17c38f..80fe46f7a 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 ee74a5777..6298151ac 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 1ef1153f7..cfd19e7fd 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 240e9a3f7..e36925aa5 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 80507fad4..c337f7ef4 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 3c7678e1a..79b146b35 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 21aa4b2b0..d05610527 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 d6a009c8e..2e7b3dc61 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 7f70f12ea..08fd51b16 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 f0d6c6cef..c121d8970 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 fe337f4eb..cf8ccd804 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 df028cdb9..e0b5c906f 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 513701cd7..e402294bb 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 d7718928d..74d0a3cf5 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 3f9e2ee57..24a45abb1 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 e208c0881..b1c156ee5 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 103efc5f7..92a2f116a 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 * ); |