From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/exportwebdialog.cpp | 74 +++++++++++++++++++++--------------------- 1 file changed, 37 insertions(+), 37 deletions(-) (limited to 'korganizer/exportwebdialog.cpp') diff --git a/korganizer/exportwebdialog.cpp b/korganizer/exportwebdialog.cpp index e62b94c9..c926ad05 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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include @@ -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 ); -- cgit v1.2.3