Diffstat (limited to 'korganizer/incomingdialog_base.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | korganizer/incomingdialog_base.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/korganizer/incomingdialog_base.cpp b/korganizer/incomingdialog_base.cpp index 8589803..5c5ace4 100644 --- a/korganizer/incomingdialog_base.cpp +++ b/korganizer/incomingdialog_base.cpp @@ -1,77 +1,79 @@ #include <klocale.h> /**************************************************************************** ** Form implementation generated from reading ui file '/build/kde/cvs/korge/kdepim/korganizer/incomingdialog_base.ui' ** ** Created: Sat Mar 29 22:31:27 2003 ** by: The User Interface Compiler () ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #include "incomingdialog_base.h" #include <qvariant.h> -#include <qheader.h> -#include <qlistview.h> +#include <q3header.h> +#include <q3listview.h> #include <qpushbutton.h> #include <qlayout.h> #include <qtooltip.h> -#include <qwhatsthis.h> +#include <q3whatsthis.h> +//Added by qt3to4: +#include <Q3GridLayout> /* * Constructs a IncomingDialog_base as a child of 'parent', with the * name 'name' and widget flags set to 'f'. * * The dialog will by default be modeless, unless you set 'modal' to * TRUE to construct a modal dialog. */ -IncomingDialog_base::IncomingDialog_base( QWidget* parent, const char* name, bool modal, WFlags fl ) +IncomingDialog_base::IncomingDialog_base( QWidget* parent, const char* name, bool modal, Qt::WFlags fl ) : QDialog( parent, name, modal, fl ) { if ( !name ) setName( "IncomingDialog_base" ); - IncomingDialog_baseLayout = new QGridLayout( this, 1, 1, 11, 6, "IncomingDialog_baseLayout"); + IncomingDialog_baseLayout = new Q3GridLayout( this, 1, 1, 11, 6, "IncomingDialog_baseLayout"); PushButton4 = new QPushButton( this, "PushButton4" ); IncomingDialog_baseLayout->addWidget( PushButton4, 0, 1 ); PushButton7 = new QPushButton( this, "PushButton7" ); PushButton7->setDefault( TRUE ); IncomingDialog_baseLayout->addWidget( PushButton7, 5, 1 ); - mMessageListView = new QListView( this, "mMessageListView" ); + mMessageListView = new Q3ListView( this, "mMessageListView" ); mMessageListView->addColumn( tr2i18n( "Summary" ) ); mMessageListView->addColumn( tr2i18n( "Start Date" ) ); mMessageListView->addColumn( tr2i18n( "Start Time" ) ); mMessageListView->addColumn( tr2i18n( "End Date" ) ); mMessageListView->addColumn( tr2i18n( "End Time" ) ); mMessageListView->addColumn( tr2i18n( "Organizer" ) ); mMessageListView->addColumn( tr2i18n( "Method" ) ); mMessageListView->addColumn( tr2i18n( "Status" ) ); mMessageListView->setAllColumnsShowFocus( FALSE ); IncomingDialog_baseLayout->addMultiCellWidget( mMessageListView, 0, 5, 0, 0 ); PushButton7_2 = new QPushButton( this, "PushButton7_2" ); IncomingDialog_baseLayout->addWidget( PushButton7_2, 3, 1 ); PushButton8 = new QPushButton( this, "PushButton8" ); IncomingDialog_baseLayout->addWidget( PushButton8, 1, 1 ); PushButton9 = new QPushButton( this, "PushButton9" ); IncomingDialog_baseLayout->addWidget( PushButton9, 2, 1 ); QSpacerItem* spacer = new QSpacerItem( 20, 70, QSizePolicy::Minimum, QSizePolicy::Expanding ); IncomingDialog_baseLayout->addItem( spacer, 4, 1 ); languageChange(); resize( QSize(525, 262).expandedTo(minimumSizeHint()) ); // signals and slots connections connect( PushButton7, SIGNAL( clicked() ), this, SLOT( accept() ) ); connect( PushButton4, SIGNAL( clicked() ), this, SLOT( retrieve() ) ); connect( PushButton7_2, SIGNAL( clicked() ), this, SLOT( acceptAllMessages() ) ); |