diff options
author | Michele Calgaro <[email protected]> | 2024-01-14 12:33:20 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-16 19:01:53 +0900 |
commit | b0f8eef013163b2098c2bb07e93cb9b194338b80 (patch) | |
tree | c35221250699030822f3c616b393f77e1ce47036 /korganizer/plugins/timespanview | |
parent | c2138cbe92142437d50f2e6cec6f8909da959234 (diff) | |
download | tdepim-b0f8eef013163b2098c2bb07e93cb9b194338b80.tar.gz tdepim-b0f8eef013163b2098c2bb07e93cb9b194338b80.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 3b3f9ec8f31978030c17309fae48335bea5c1587)
Diffstat (limited to 'korganizer/plugins/timespanview')
-rw-r--r-- | korganizer/plugins/timespanview/kotimespanview.cpp | 2 | ||||
-rw-r--r-- | korganizer/plugins/timespanview/timespanview.cpp | 2 | ||||
-rw-r--r-- | korganizer/plugins/timespanview/timespanwidget.cpp | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/korganizer/plugins/timespanview/kotimespanview.cpp b/korganizer/plugins/timespanview/kotimespanview.cpp index 8445edf46..00910bfe1 100644 --- a/korganizer/plugins/timespanview/kotimespanview.cpp +++ b/korganizer/plugins/timespanview/kotimespanview.cpp @@ -44,7 +44,7 @@ KOTimeSpanView::KOTimeSpanView(Calendar *calendar, TQWidget *parent, mTimeSpanWidget = new TimeSpanWidget( this ); topLayout->addWidget( mTimeSpanWidget ); - connect( mTimeSpanWidget, TQT_SIGNAL( dateRangeChanged() ), TQT_SLOT( updateView() ) ); + connect( mTimeSpanWidget, TQ_SIGNAL( dateRangeChanged() ), TQ_SLOT( updateView() ) ); } KOTimeSpanView::~KOTimeSpanView() diff --git a/korganizer/plugins/timespanview/timespanview.cpp b/korganizer/plugins/timespanview/timespanview.cpp index 4b3df7ef7..5ff4cf0ac 100644 --- a/korganizer/plugins/timespanview/timespanview.cpp +++ b/korganizer/plugins/timespanview/timespanview.cpp @@ -51,7 +51,7 @@ TimespanView::TimespanView(KOrg::MainWindow *parent, const char *name) : setXMLFile( "plugins/timespanviewui.rc" ); - new TDEAction( i18n("&Timespan"), "timespan", 0, this, TQT_SLOT( showView() ), + new TDEAction( i18n("&Timespan"), "timespan", 0, this, TQ_SLOT( showView() ), actionCollection(), "view_timespan" ); } diff --git a/korganizer/plugins/timespanview/timespanwidget.cpp b/korganizer/plugins/timespanview/timespanwidget.cpp index 8b0ff4b39..99f529b30 100644 --- a/korganizer/plugins/timespanview/timespanwidget.cpp +++ b/korganizer/plugins/timespanview/timespanwidget.cpp @@ -63,19 +63,19 @@ TimeSpanWidget::TimeSpanWidget( TQWidget *parent, const char *name ) : TQBoxLayout *buttonLayout = new TQHBoxLayout( rightPaneLayout ); TQPushButton *zoomInButton = new TQPushButton( i18n("Zoom In"), rightPane ); - connect( zoomInButton, TQT_SIGNAL( clicked() ), TQT_SLOT( zoomIn() ) ); + connect( zoomInButton, TQ_SIGNAL( clicked() ), TQ_SLOT( zoomIn() ) ); buttonLayout->addWidget( zoomInButton ); TQPushButton *zoomOutButton = new TQPushButton( i18n("Zoom Out"), rightPane ); - connect( zoomOutButton, TQT_SIGNAL( clicked() ), TQT_SLOT( zoomOut() ) ); + connect( zoomOutButton, TQ_SIGNAL( clicked() ), TQ_SLOT( zoomOut() ) ); buttonLayout->addWidget( zoomOutButton ); TQPushButton *centerButton = new TQPushButton( i18n("Center View"), rightPane ); - connect( centerButton, TQT_SIGNAL( clicked() ), TQT_SLOT( centerView() ) ); + connect( centerButton, TQ_SIGNAL( clicked() ), TQ_SLOT( centerView() ) ); buttonLayout->addWidget( centerButton ); - connect(mLineView->horizontalScrollBar(),TQT_SIGNAL(valueChanged(int)), - mTimeLine,TQT_SLOT(setContentsPos(int))); + connect(mLineView->horizontalScrollBar(),TQ_SIGNAL(valueChanged(int)), + mTimeLine,TQ_SLOT(setContentsPos(int))); } TimeSpanWidget::~TimeSpanWidget() |