summaryrefslogtreecommitdiffstats
path: root/korganizer/exportwebdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/exportwebdialog.cpp')
-rw-r--r--korganizer/exportwebdialog.cpp74
1 files changed, 37 insertions, 37 deletions
diff --git a/korganizer/exportwebdialog.cpp b/korganizer/exportwebdialog.cpp
index e62b94c93..c926ad053 100644
--- a/korganizer/exportwebdialog.cpp
+++ b/korganizer/exportwebdialog.cpp
@@ -22,19 +22,19 @@
without including the source code for Qt in the source distribution.
*/
-#include <qlayout.h>
-#include <qhgroupbox.h>
-#include <qvgroupbox.h>
-#include <qvbuttongroup.h>
-#include <qradiobutton.h>
-#include <qcheckbox.h>
-#include <qlineedit.h>
-#include <qhbox.h>
-#include <qvbox.h>
-#include <qpushbutton.h>
-#include <qfiledialog.h>
-#include <qtextstream.h>
-#include <qlabel.h>
+#include <tqlayout.h>
+#include <tqhgroupbox.h>
+#include <tqvgroupbox.h>
+#include <tqvbuttongroup.h>
+#include <tqradiobutton.h>
+#include <tqcheckbox.h>
+#include <tqlineedit.h>
+#include <tqhbox.h>
+#include <tqvbox.h>
+#include <tqpushbutton.h>
+#include <tqfiledialog.h>
+#include <tqtextstream.h>
+#include <tqlabel.h>
#include <klocale.h>
#include <kdebug.h>
@@ -68,7 +68,7 @@
// because we want custom buttons, a Tabbed dialog, and a different
// headline... Maybe we should try to achieve the same without code
// duplication.
-ExportWebDialog::ExportWebDialog( HTMLExportSettings *settings, QWidget *parent,
+ExportWebDialog::ExportWebDialog( HTMLExportSettings *settings, TQWidget *parent,
const char *name)
: KDialogBase( Tabbed,i18n("Export Calendar as Web Page"),Help|Default|User1|Cancel, User1, parent, name, false, false, i18n("Export") ),
KPrefsWidManager( settings ), mSettings( settings )
@@ -81,8 +81,8 @@ ExportWebDialog::ExportWebDialog( HTMLExportSettings *settings, QWidget *parent,
// setupFreeBusyPage();
// setupAdvancedPage();
- connect( this, SIGNAL( user1Clicked() ), SLOT( slotOk() ) );
- connect( this, SIGNAL( cancelClicked() ), SLOT( reject() ) );
+ connect( this, TQT_SIGNAL( user1Clicked() ), TQT_SLOT( slotOk() ) );
+ connect( this, TQT_SIGNAL( cancelClicked() ), TQT_SLOT( reject() ) );
readConfig();
}
@@ -137,14 +137,14 @@ void ExportWebDialog::slotDefault()
void ExportWebDialog::setupGeneralPage()
{
mGeneralPage = addPage( i18n("General") );
- QVBoxLayout *topLayout = new QVBoxLayout(mGeneralPage, 10);
+ TQVBoxLayout *topLayout = new TQVBoxLayout(mGeneralPage, 10);
- QGroupBox *rangeGroup = new QHGroupBox( i18n("Date Range"), mGeneralPage );
+ TQGroupBox *rangeGroup = new TQHGroupBox( i18n("Date Range"), mGeneralPage );
topLayout->addWidget( rangeGroup );
addWidDate( mSettings->dateStartItem(), rangeGroup );
addWidDate( mSettings->dateEndItem(), rangeGroup );
- QButtonGroup *typeGroup = new QVButtonGroup( i18n("View Type"), mGeneralPage );
+ TQButtonGroup *typeGroup = new TQVButtonGroup( i18n("View Type"), mGeneralPage );
topLayout->addWidget( typeGroup );
// addWidBool( mSettings->weekViewItem(), typeGroup );
addWidBool( mSettings->monthViewItem(), typeGroup );
@@ -155,17 +155,17 @@ void ExportWebDialog::setupGeneralPage()
addWidBool( mSettings->excludePrivateItem(), typeGroup );
addWidBool( mSettings->excludeConfidentialItem(), typeGroup );
- QGroupBox *destGroup = new QVGroupBox(i18n("Destination"), mGeneralPage );
+ TQGroupBox *destGroup = new TQVGroupBox(i18n("Destination"), mGeneralPage );
topLayout->addWidget(destGroup);
KPrefsWidPath *pathWid = addWidPath( mSettings->outputFileItem(),
destGroup, "text/html", KFile::File );
- connect( pathWid->urlRequester(), SIGNAL( textChanged( const QString & ) ),
- SLOT( slotTextChanged( const QString & ) ) );
+ connect( pathWid->urlRequester(), TQT_SIGNAL( textChanged( const TQString & ) ),
+ TQT_SLOT( slotTextChanged( const TQString & ) ) );
topLayout->addStretch( 1 );
}
-void ExportWebDialog::slotTextChanged( const QString & _text)
+void ExportWebDialog::slotTextChanged( const TQString & _text)
{
enableButton( User1, !_text.isEmpty() );
}
@@ -173,13 +173,13 @@ void ExportWebDialog::slotTextChanged( const QString & _text)
void ExportWebDialog::setupTodoPage()
{
mTodoPage = addPage(i18n("To-dos"));
- QVBoxLayout *topLayout = new QVBoxLayout( mTodoPage, 10 );
+ TQVBoxLayout *topLayout = new TQVBoxLayout( mTodoPage, 10 );
- QHBox *hbox = new QHBox( mTodoPage );
+ TQHBox *hbox = new TQHBox( mTodoPage );
topLayout->addWidget( hbox );
addWidString( mSettings->todoListTitleItem(), hbox );
- QVBox *vbox = new QVBox( mTodoPage );
+ TQVBox *vbox = new TQVBox( mTodoPage );
topLayout->addWidget( vbox );
addWidBool( mSettings->taskDueDateItem(), vbox );
addWidBool( mSettings->taskLocationItem(), vbox );
@@ -194,13 +194,13 @@ void ExportWebDialog::setupTodoPage()
void ExportWebDialog::setupEventPage()
{
mEventPage = addPage(i18n("Events"));
- QVBoxLayout *topLayout = new QVBoxLayout( mEventPage, 10 );
+ TQVBoxLayout *topLayout = new TQVBoxLayout( mEventPage, 10 );
- QHBox *hbox = new QHBox( mEventPage );
+ TQHBox *hbox = new TQHBox( mEventPage );
topLayout->addWidget( hbox );
addWidString( mSettings->eventTitleItem(), hbox );
- QVBox *vbox = new QVBox( mEventPage );
+ TQVBox *vbox = new TQVBox( mEventPage );
topLayout->addWidget( vbox );
addWidBool( mSettings->eventLocationItem(), vbox );
addWidBool( mSettings->eventCategoriesItem(), vbox );
@@ -214,13 +214,13 @@ void ExportWebDialog::setupEventPage()
void ExportWebDialog::setupJournalPage()
{
mJournalPage = addPage(i18n("Journal"));
- QVBoxLayout *topLayout = new QVBoxLayout( mJournalPage, 10 );
+ TQVBoxLayout *topLayout = new TQVBoxLayout( mJournalPage, 10 );
- QHBox *hbox = new QHBox( mJournalPage );
+ TQHBox *hbox = new TQHBox( mJournalPage );
topLayout->addWidget( hbox );
addWidString( mSettings->journalTitleItem(), hbox );
- QVBox *vbox = new QVBox( mJournalPage );
+ TQVBox *vbox = new TQVBox( mJournalPage );
topLayout->addWidget( vbox );
// addWidBool( mSettings->eventExcludeConfidentialItem(), vbox );
@@ -230,13 +230,13 @@ void ExportWebDialog::setupJournalPage()
void ExportWebDialog::setupFreeBusyPage()
{
mFreeBusyPage = addPage(i18n("Free/Busy"));
- QVBoxLayout *topLayout = new QVBoxLayout( mFreeBusyPage, 10 );
+ TQVBoxLayout *topLayout = new TQVBoxLayout( mFreeBusyPage, 10 );
- QHBox *hbox = new QHBox( mFreeBusyPage );
+ TQHBox *hbox = new TQHBox( mFreeBusyPage );
topLayout->addWidget( hbox );
addWidString( mSettings->journalTitleItem(), hbox );
- QVBox *vbox = new QVBox( mFreeBusyPage );
+ TQVBox *vbox = new TQVBox( mFreeBusyPage );
topLayout->addWidget( vbox );
// addWidBool( mSettings->eventExcludeConfidentialItem(), vbox );
@@ -246,9 +246,9 @@ void ExportWebDialog::setupFreeBusyPage()
void ExportWebDialog::setupAdvancedPage()
{
mAdvancedPage = addPage(i18n("Advanced"));
- QVBoxLayout *topLayout = new QVBoxLayout( mAdvancedPage, 10 );
+ TQVBoxLayout *topLayout = new TQVBoxLayout( mAdvancedPage, 10 );
- QVBox *vbox = new QVBox( mAdvancedPage );
+ TQVBox *vbox = new TQVBox( mAdvancedPage );
topLayout->addWidget( vbox );
// addWidBool( mSettings->eventExcludeConfidentialItem(), vbox );