summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins/exchange/exchangeconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/plugins/exchange/exchangeconfig.cpp')
-rw-r--r--korganizer/plugins/exchange/exchangeconfig.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/korganizer/plugins/exchange/exchangeconfig.cpp b/korganizer/plugins/exchange/exchangeconfig.cpp
index e75265caa..fe01324ac 100644
--- a/korganizer/plugins/exchange/exchangeconfig.cpp
+++ b/korganizer/plugins/exchange/exchangeconfig.cpp
@@ -17,9 +17,9 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qcombobox.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqcombobox.h>
#include <kapplication.h>
#include <kconfig.h>
@@ -31,7 +31,7 @@
#include "exchangeconfig.h"
-ExchangeConfig::ExchangeConfig( KPIM::ExchangeAccount* account, QWidget* parent )
+ExchangeConfig::ExchangeConfig( KPIM::ExchangeAccount* account, TQWidget* parent )
: KDialogBase(Plain,i18n("Exchange Plugin"),Ok|Cancel,Ok,parent)
{
mAccount = account;
@@ -39,38 +39,38 @@ ExchangeConfig::ExchangeConfig( KPIM::ExchangeAccount* account, QWidget* parent
kdDebug(5850) << "Creating ExchangeConfig with account: " <<
account->host() << ":" << account->account() << endl;
- QFrame *topFrame = plainPage();
- QGridLayout *topLayout = new QGridLayout( topFrame, 5, 3, 3 );
+ TQFrame *topFrame = plainPage();
+ TQGridLayout *topLayout = new TQGridLayout( topFrame, 5, 3, 3 );
m_host = new KLineEdit( mAccount->host(), topFrame );
- topLayout->addWidget( new QLabel( i18n( "Exchange server:" ), topFrame ), 0, 0 );
+ topLayout->addWidget( new TQLabel( i18n( "Exchange server:" ), topFrame ), 0, 0 );
topLayout->addWidget( m_host, 0, 1 );
m_port = new KLineEdit( mAccount->port(), topFrame );
- topLayout->addWidget( new QLabel( i18n( "Port:" ), topFrame ), 1, 0 );
+ topLayout->addWidget( new TQLabel( i18n( "Port:" ), topFrame ), 1, 0 );
topLayout->addWidget( m_port, 1, 1 );
m_user = new KLineEdit( mAccount->account(), topFrame );
- topLayout->addWidget( new QLabel( i18n( "User:" ), topFrame ), 2, 0 );
+ topLayout->addWidget( new TQLabel( i18n( "User:" ), topFrame ), 2, 0 );
topLayout->addWidget( m_user, 2, 1 );
- connect( m_user, SIGNAL(textChanged(const QString&)), this, SLOT(slotUserChanged(const QString&)) );
+ connect( m_user, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUserChanged(const TQString&)) );
m_password = new KLineEdit( mAccount->password(), topFrame );
- topLayout->addWidget( new QLabel( i18n( "Password:" ), topFrame ), 3, 0 );
+ topLayout->addWidget( new TQLabel( i18n( "Password:" ), topFrame ), 3, 0 );
topLayout->addWidget( m_password, 3, 1 );
- m_password->setEchoMode( QLineEdit::Password );
+ m_password->setEchoMode( TQLineEdit::Password );
- m_autoMailbox = new QCheckBox( i18n( "Determine mailbox automatically" ), topFrame );
+ m_autoMailbox = new TQCheckBox( i18n( "Determine mailbox automatically" ), topFrame );
topLayout->addMultiCellWidget( m_autoMailbox, 4, 4, 0, 1 );
- connect( m_autoMailbox, SIGNAL(toggled(bool)), this, SLOT(slotToggleAuto(bool)) );
+ connect( m_autoMailbox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleAuto(bool)) );
m_mailbox= new KLineEdit( mAccount->mailbox(), topFrame );
- topLayout->addWidget( new QLabel( i18n( "Mailbox URL:" ), topFrame ), 5, 0 );
+ topLayout->addWidget( new TQLabel( i18n( "Mailbox URL:" ), topFrame ), 5, 0 );
topLayout->addWidget( m_mailbox, 5, 1 );
- m_tryFindMailbox = new QPushButton( "&Find", topFrame );
+ m_tryFindMailbox = new TQPushButton( "&Find", topFrame );
topLayout->addWidget( m_tryFindMailbox, 5, 2 );
- connect( m_tryFindMailbox, SIGNAL(clicked()), this, SLOT(slotFindClicked()) );
+ connect( m_tryFindMailbox, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotFindClicked()) );
kapp->config()->setGroup( "Calendar/Exchange Plugin" );
bool autoChecked = kapp->config()->readBoolEntry( "auto-mailbox", true );
@@ -90,7 +90,7 @@ void ExchangeConfig::slotToggleAuto( bool on )
// }
}
-void ExchangeConfig::slotUserChanged( const QString& /*text*/ )
+void ExchangeConfig::slotUserChanged( const TQString& /*text*/ )
{
// if ( m_mailboxEqualsUser->isChecked() ) {
// m_mailbox->setText( "webdav://" + m_host->text() + "/exchange/" + text );
@@ -100,7 +100,7 @@ void ExchangeConfig::slotUserChanged( const QString& /*text*/ )
void ExchangeConfig::slotOk()
{
if ( m_autoMailbox->isChecked() ) {
- QString mailbox = mAccount->tryFindMailbox( m_host->text(), m_port->text(), m_user->text(), m_password->text() );
+ TQString mailbox = mAccount->tryFindMailbox( m_host->text(), m_port->text(), m_user->text(), m_password->text() );
if ( mailbox.isNull() ) {
kdWarning() << "Could not find Exchange mailbox URL, incomplete settings!"<< endl;
KMessageBox::sorry( this, "Could not determine mailbox URL" );
@@ -124,7 +124,7 @@ void ExchangeConfig::slotOk()
void ExchangeConfig::slotFindClicked()
{
- QString mailbox = mAccount->tryFindMailbox( m_host->text(), m_port->text(), m_user->text(), m_password->text() );
+ TQString mailbox = mAccount->tryFindMailbox( m_host->text(), m_port->text(), m_user->text(), m_password->text() );
if ( mailbox.isNull() ) {
KMessageBox::sorry( this, "Could not determine mailbox URL" );
} else {