summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins/exchange
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 12:33:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 12:43:48 +0900
commit3b3f9ec8f31978030c17309fae48335bea5c1587 (patch)
tree0b493383a1501860371aacd792ec6fc08d595824 /korganizer/plugins/exchange
parent99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff)
downloadtdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.tar.gz
tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'korganizer/plugins/exchange')
-rw-r--r--korganizer/plugins/exchange/exchange.cpp26
-rw-r--r--korganizer/plugins/exchange/exchangeconfig.cpp6
2 files changed, 16 insertions, 16 deletions
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 );