summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins/exchange/exchange.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/plugins/exchange/exchange.cpp')
-rw-r--r--korganizer/plugins/exchange/exchange.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/korganizer/plugins/exchange/exchange.cpp b/korganizer/plugins/exchange/exchange.cpp
index 86377f046..3d3719ed4 100644
--- a/korganizer/plugins/exchange/exchange.cpp
+++ b/korganizer/plugins/exchange/exchange.cpp
@@ -17,7 +17,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <qfile.h>
+#include <tqfile.h>
#include <kapplication.h>
#include <kconfig.h>
@@ -69,29 +69,29 @@ Exchange::Exchange(KOrg::MainWindow *parent, const char *name) :
setXMLFile("plugins/exchangeui.rc");
- new KAction(i18n("&Download..."), 0, this, SLOT(download()),
+ new KAction(i18n("&Download..."), 0, this, TQT_SLOT(download()),
actionCollection(), "exchange_download");
- KAction *action = new KAction(i18n("&Upload Event..."), 0, this, SLOT(upload()),
+ KAction *action = new KAction(i18n("&Upload Event..."), 0, this, TQT_SLOT(upload()),
actionCollection(), "exchange_upload");
- QObject::connect(mainWindow()->view(),SIGNAL(incidenceSelected(Incidence *)),
- this, SLOT(slotIncidenceSelected(Incidence *)));
+ TQObject::connect(mainWindow()->view(),TQT_SIGNAL(incidenceSelected(Incidence *)),
+ this, TQT_SLOT(slotIncidenceSelected(Incidence *)));
action->setEnabled( false );
- QObject::connect(this,SIGNAL(enableIncidenceActions(bool)),
- action,SLOT(setEnabled(bool)));
+ TQObject::connect(this,TQT_SIGNAL(enableIncidenceActions(bool)),
+ action,TQT_SLOT(setEnabled(bool)));
- action = new KAction(i18n("De&lete Event"), 0, this, SLOT(remove()),
+ action = new KAction(i18n("De&lete Event"), 0, this, TQT_SLOT(remove()),
actionCollection(), "exchange_delete");
- QObject::connect(this,SIGNAL(enableIncidenceActions(bool)),
- action,SLOT(setEnabled(bool)));
+ TQObject::connect(this,TQT_SIGNAL(enableIncidenceActions(bool)),
+ action,TQT_SLOT(setEnabled(bool)));
action->setEnabled( false );
- new KAction(i18n("&Configure..."), 0, this, SLOT(configure()),
+ new KAction(i18n("&Configure..."), 0, this, TQT_SLOT(configure()),
actionCollection(), "exchange_configure");
- connect( this, SIGNAL( calendarChanged() ), mainWindow()->view(), SLOT( updateView() ) );
- connect( this, SIGNAL( calendarChanged(const QDate &, const QDate &)),
- mainWindow()->view(), SLOT(updateView(const QDate &, const QDate &)) );
+ 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 &)) );
}
Exchange::~Exchange()
@@ -99,12 +99,12 @@ Exchange::~Exchange()
kdDebug(5850) << "Exchange Plugin destructor" << endl;
}
-QString Exchange::info()
+TQString Exchange::info()
{
return i18n("This plugin imports and export calendar events from/to a Microsoft Exchange 2000 Server.");
}
-QString Exchange::shortInfo()
+TQString Exchange::shortInfo()
{
return i18n("Exchange Plugin");
}
@@ -118,11 +118,11 @@ void Exchange::download()
{
ExchangeDialog dialog( mainWindow()->view()->startDate(), mainWindow()->view()->endDate() );
- if (dialog.exec() != QDialog::Accepted )
+ if (dialog.exec() != TQDialog::Accepted )
return;
- QDate start = dialog.m_start->date();
- QDate end = dialog.m_end->date();
+ TQDate start = dialog.m_start->date();
+ TQDate end = dialog.m_end->date();
KCal::Calendar* calendar = mainWindow()->view()->calendar();
@@ -183,13 +183,13 @@ void Exchange::configure()
kdDebug(5850) << "Exchange::configure" << endl;
ExchangeConfig dialog( mAccount );
- if (dialog.exec() == QDialog::Accepted )
+ if (dialog.exec() == TQDialog::Accepted )
mAccount->save( "Calendar/Exchange Plugin" );
}
-void Exchange::showError( int error, const QString& moreInfo /* = QString::null */ )
+void Exchange::showError( int error, const TQString& moreInfo /* = TQString::null */ )
{
- QString errorText;
+ TQString errorText;
switch( error ) {
case KPIM::ExchangeClient::ResultOK:
errorText = i18n( "No Error" );