summaryrefslogtreecommitdiffstats
path: root/kresources/scalix/scalixadmin/outofofficepage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/scalix/scalixadmin/outofofficepage.cpp')
-rw-r--r--kresources/scalix/scalixadmin/outofofficepage.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/kresources/scalix/scalixadmin/outofofficepage.cpp b/kresources/scalix/scalixadmin/outofofficepage.cpp
index 0b8d3f803..e1e331fc4 100644
--- a/kresources/scalix/scalixadmin/outofofficepage.cpp
+++ b/kresources/scalix/scalixadmin/outofofficepage.cpp
@@ -18,12 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <qbuttongroup.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qtextedit.h>
+#include <tqbuttongroup.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqpushbutton.h>
+#include <tqradiobutton.h>
+#include <tqtextedit.h>
#include <klocale.h>
#include <kmessagebox.h>
@@ -33,20 +33,20 @@
#include "outofofficepage.h"
-OutOfOfficePage::OutOfOfficePage( QWidget *parent )
- : QWidget( parent )
+OutOfOfficePage::OutOfOfficePage( TQWidget *parent )
+ : TQWidget( parent )
{
- QGridLayout *layout = new QGridLayout( this, 4, 2, 11, 6 );
+ TQGridLayout *layout = new TQGridLayout( this, 4, 2, 11, 6 );
- QButtonGroup *group = new QButtonGroup( 1, Qt::Vertical, this );
+ TQButtonGroup *group = new TQButtonGroup( 1, Qt::Vertical, this );
- mDisabled = new QRadioButton( i18n( "I am in the office" ), group );
+ mDisabled = new TQRadioButton( i18n( "I am in the office" ), group );
mDisabled->setChecked( true );
- mEnabled = new QRadioButton( i18n( "I am out of the office" ), group );
+ mEnabled = new TQRadioButton( i18n( "I am out of the office" ), group );
- mLabel = new QLabel( i18n( "Auto-reply once to each sender with the following text:" ), this );
- mMessage = new QTextEdit( this );
- mSaveButton = new QPushButton( i18n( "Save" ), this );
+ mLabel = new TQLabel( i18n( "Auto-reply once to each sender with the following text:" ), this );
+ mMessage = new TQTextEdit( this );
+ mSaveButton = new TQPushButton( i18n( "Save" ), this );
layout->addMultiCellWidget( group, 0, 0, 0, 1 );
layout->addMultiCellWidget( mLabel, 1, 1, 0, 1 );
@@ -55,10 +55,10 @@ OutOfOfficePage::OutOfOfficePage( QWidget *parent )
statusChanged();
- connect( mEnabled, SIGNAL( toggled( bool ) ), this, SLOT( statusChanged() ) );
- connect( mEnabled, SIGNAL( toggled( bool ) ), this, SLOT( changed() ) );
- connect( mSaveButton, SIGNAL( clicked() ), this, SLOT( store() ) );
- connect( mMessage, SIGNAL( textChanged() ), this, SLOT( changed() ) );
+ connect( mEnabled, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( statusChanged() ) );
+ connect( mEnabled, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( changed() ) );
+ connect( mSaveButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( store() ) );
+ connect( mMessage, TQT_SIGNAL( textChanged() ), this, TQT_SLOT( changed() ) );
load();
}
@@ -71,7 +71,7 @@ void OutOfOfficePage::load()
{
Scalix::GetOutOfOfficeJob *job = Scalix::getOutOfOffice( Settings::self()->globalSlave(),
Settings::self()->accountUrl() );
- connect( job, SIGNAL( result( KIO::Job* ) ), SLOT( loaded( KIO::Job* ) ) );
+ connect( job, TQT_SIGNAL( result( KIO::Job* ) ), TQT_SLOT( loaded( KIO::Job* ) ) );
}
void OutOfOfficePage::loaded( KIO::Job* job )
@@ -98,7 +98,7 @@ void OutOfOfficePage::store()
mEnabled->isChecked(),
mMessage->text() );
- connect( job, SIGNAL( result( KIO::Job* ) ), SLOT( stored( KIO::Job* ) ) );
+ connect( job, TQT_SIGNAL( result( KIO::Job* ) ), TQT_SLOT( stored( KIO::Job* ) ) );
mSaveButton->setEnabled( false );
}