From 3b3f9ec8f31978030c17309fae48335bea5c1587 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 14 Jan 2024 12:33:20 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- korganizer/plugins/exchange/exchange.cpp | 26 +++++++++++++------------- korganizer/plugins/exchange/exchangeconfig.cpp | 6 +++--- 2 files changed, 16 insertions(+), 16 deletions(-) (limited to 'korganizer/plugins/exchange') diff --git a/korganizer/plugins/exchange/exchange.cpp b/korganizer/plugins/exchange/exchange.cpp index e0bc1ab7..3a55cba9 100644 --- a/korganizer/plugins/exchange/exchange.cpp +++ b/korganizer/plugins/exchange/exchange.cpp @@ -69,29 +69,29 @@ Exchange::Exchange(KOrg::MainWindow *parent, const char *name) : setXMLFile("plugins/exchangeui.rc"); - new TDEAction(i18n("&Download..."), 0, this, TQT_SLOT(download()), + new TDEAction(i18n("&Download..."), 0, this, TQ_SLOT(download()), actionCollection(), "exchange_download"); - TDEAction *action = new TDEAction(i18n("&Upload Event..."), 0, this, TQT_SLOT(upload()), + TDEAction *action = new TDEAction(i18n("&Upload Event..."), 0, this, TQ_SLOT(upload()), actionCollection(), "exchange_upload"); - TQObject::connect(mainWindow()->view(),TQT_SIGNAL(incidenceSelected(Incidence *)), - this, TQT_SLOT(slotIncidenceSelected(Incidence *))); + TQObject::connect(mainWindow()->view(),TQ_SIGNAL(incidenceSelected(Incidence *)), + this, TQ_SLOT(slotIncidenceSelected(Incidence *))); action->setEnabled( false ); - TQObject::connect(this,TQT_SIGNAL(enableIncidenceActions(bool)), - action,TQT_SLOT(setEnabled(bool))); + TQObject::connect(this,TQ_SIGNAL(enableIncidenceActions(bool)), + action,TQ_SLOT(setEnabled(bool))); - action = new TDEAction(i18n("De&lete Event"), 0, this, TQT_SLOT(remove()), + action = new TDEAction(i18n("De&lete Event"), 0, this, TQ_SLOT(remove()), actionCollection(), "exchange_delete"); - TQObject::connect(this,TQT_SIGNAL(enableIncidenceActions(bool)), - action,TQT_SLOT(setEnabled(bool))); + TQObject::connect(this,TQ_SIGNAL(enableIncidenceActions(bool)), + action,TQ_SLOT(setEnabled(bool))); action->setEnabled( false ); - new TDEAction(i18n("&Configure..."), 0, this, TQT_SLOT(configure()), + new TDEAction(i18n("&Configure..."), 0, this, TQ_SLOT(configure()), actionCollection(), "exchange_configure"); - connect( this, TQT_SIGNAL( calendarChanged() ), mainWindow()->view(), TQT_SLOT( updateView() ) ); - connect( this, TQT_SIGNAL( calendarChanged(const TQDate &, const TQDate &)), - mainWindow()->view(), TQT_SLOT(updateView(const TQDate &, const TQDate &)) ); + connect( this, TQ_SIGNAL( calendarChanged() ), mainWindow()->view(), TQ_SLOT( updateView() ) ); + connect( this, TQ_SIGNAL( calendarChanged(const TQDate &, const TQDate &)), + mainWindow()->view(), TQ_SLOT(updateView(const TQDate &, const TQDate &)) ); } Exchange::~Exchange() diff --git a/korganizer/plugins/exchange/exchangeconfig.cpp b/korganizer/plugins/exchange/exchangeconfig.cpp index 106fc867..913482f3 100644 --- a/korganizer/plugins/exchange/exchangeconfig.cpp +++ b/korganizer/plugins/exchange/exchangeconfig.cpp @@ -53,7 +53,7 @@ ExchangeConfig::ExchangeConfig( KPIM::ExchangeAccount* account, TQWidget* parent m_user = new KLineEdit( mAccount->account(), topFrame ); topLayout->addWidget( new TQLabel( i18n( "User:" ), topFrame ), 2, 0 ); topLayout->addWidget( m_user, 2, 1 ); - connect( m_user, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUserChanged(const TQString&)) ); + connect( m_user, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUserChanged(const TQString&)) ); m_password = new KLineEdit( mAccount->password(), topFrame ); topLayout->addWidget( new TQLabel( i18n( "Password:" ), topFrame ), 3, 0 ); @@ -62,7 +62,7 @@ ExchangeConfig::ExchangeConfig( KPIM::ExchangeAccount* account, TQWidget* parent m_autoMailbox = new TQCheckBox( i18n( "Determine mailbox automatically" ), topFrame ); topLayout->addMultiCellWidget( m_autoMailbox, 4, 4, 0, 1 ); - connect( m_autoMailbox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleAuto(bool)) ); + connect( m_autoMailbox, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotToggleAuto(bool)) ); m_mailbox= new KLineEdit( mAccount->mailbox(), topFrame ); topLayout->addWidget( new TQLabel( i18n( "Mailbox URL:" ), topFrame ), 5, 0 ); @@ -70,7 +70,7 @@ ExchangeConfig::ExchangeConfig( KPIM::ExchangeAccount* account, TQWidget* parent m_tryFindMailbox = new TQPushButton( "&Find", topFrame ); topLayout->addWidget( m_tryFindMailbox, 5, 2 ); - connect( m_tryFindMailbox, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotFindClicked()) ); + connect( m_tryFindMailbox, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotFindClicked()) ); kapp->config()->setGroup( "Calendar/Exchange Plugin" ); bool autoChecked = kapp->config()->readBoolEntry( "auto-mailbox", true ); -- cgit v1.2.3