Diffstat (limited to 'korganizer/outgoingdialog_base.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/outgoingdialog_base.cpp | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/korganizer/outgoingdialog_base.cpp b/korganizer/outgoingdialog_base.cpp index 1873b44..be8a870 100644 --- a/korganizer/outgoingdialog_base.cpp +++ b/korganizer/outgoingdialog_base.cpp | |||
@@ -1,76 +1,78 @@ | |||
1 | #include <klocale.h> | 1 | #include <klocale.h> |
2 | /**************************************************************************** | 2 | /**************************************************************************** |
3 | ** Form implementation generated from reading ui file '/build/kde/cvs/korge/kdepim/korganizer/outgoingdialog_base.ui' | 3 | ** Form implementation generated from reading ui file '/build/kde/cvs/korge/kdepim/korganizer/outgoingdialog_base.ui' |
4 | ** | 4 | ** |
5 | ** Created: Sat Mar 29 22:31:21 2003 | 5 | ** Created: Sat Mar 29 22:31:21 2003 |
6 | ** by: The User Interface Compiler () | 6 | ** by: The User Interface Compiler () |
7 | ** | 7 | ** |
8 | ** WARNING! All changes made in this file will be lost! | 8 | ** WARNING! All changes made in this file will be lost! |
9 | ****************************************************************************/ | 9 | ****************************************************************************/ |
10 | 10 | ||
11 | #include "outgoingdialog_base.h" | 11 | #include "outgoingdialog_base.h" |
12 | 12 | ||
13 | #include <qvariant.h> | 13 | #include <qvariant.h> |
14 | #include <qheader.h> | 14 | #include <q3header.h> |
15 | #include <qlistview.h> | 15 | #include <q3listview.h> |
16 | #include <qpushbutton.h> | 16 | #include <qpushbutton.h> |
17 | #include <qlayout.h> | 17 | #include <qlayout.h> |
18 | #include <qtooltip.h> | 18 | #include <qtooltip.h> |
19 | #include <qwhatsthis.h> | 19 | #include <q3whatsthis.h> |
20 | //Added by qt3to4: | ||
21 | #include <Q3GridLayout> | ||
20 | 22 | ||
21 | /* | 23 | /* |
22 | * Constructs a OutgoingDialog_base as a child of 'parent', with the | 24 | * Constructs a OutgoingDialog_base as a child of 'parent', with the |
23 | * name 'name' and widget flags set to 'f'. | 25 | * name 'name' and widget flags set to 'f'. |
24 | * | 26 | * |
25 | * The dialog will by default be modeless, unless you set 'modal' to | 27 | * The dialog will by default be modeless, unless you set 'modal' to |
26 | * TRUE to construct a modal dialog. | 28 | * TRUE to construct a modal dialog. |
27 | */ | 29 | */ |
28 | OutgoingDialog_base::OutgoingDialog_base( QWidget* parent, const char* name, bool modal, WFlags fl ) | 30 | OutgoingDialog_base::OutgoingDialog_base( QWidget* parent, const char* name, bool modal, Qt::WFlags fl ) |
29 | : QDialog( parent, name, modal, fl ) | 31 | : QDialog( parent, name, modal, fl ) |
30 | 32 | ||
31 | { | 33 | { |
32 | if ( !name ) | 34 | if ( !name ) |
33 | setName( "OutgoingDialog_base" ); | 35 | setName( "OutgoingDialog_base" ); |
34 | OutgoingDialog_baseLayout = new QGridLayout( this, 1, 1, 11, 6, "OutgoingDialog_baseLayout"); | 36 | OutgoingDialog_baseLayout = new Q3GridLayout( this, 1, 1, 11, 6, "OutgoingDialog_baseLayout"); |
35 | 37 | ||
36 | mMessageListView = new QListView( this, "mMessageListView" ); | 38 | mMessageListView = new Q3ListView( this, "mMessageListView" ); |
37 | mMessageListView->addColumn( tr2i18n( "Summary" ) ); | 39 | mMessageListView->addColumn( tr2i18n( "Summary" ) ); |
38 | mMessageListView->addColumn( tr2i18n( "Start Date" ) ); | 40 | mMessageListView->addColumn( tr2i18n( "Start Date" ) ); |
39 | mMessageListView->addColumn( tr2i18n( "Start Time" ) ); | 41 | mMessageListView->addColumn( tr2i18n( "Start Time" ) ); |
40 | mMessageListView->addColumn( tr2i18n( "End Date" ) ); | 42 | mMessageListView->addColumn( tr2i18n( "End Date" ) ); |
41 | mMessageListView->addColumn( tr2i18n( "End Time" ) ); | 43 | mMessageListView->addColumn( tr2i18n( "End Time" ) ); |
42 | mMessageListView->addColumn( tr2i18n( "Method" ) ); | 44 | mMessageListView->addColumn( tr2i18n( "Method" ) ); |
43 | mMessageListView->setFrameShape( QListView::StyledPanel ); | 45 | mMessageListView->setFrameShape( Q3ListView::StyledPanel ); |
44 | mMessageListView->setFrameShadow( QListView::Sunken ); | 46 | mMessageListView->setFrameShadow( Q3ListView::Sunken ); |
45 | mMessageListView->setAllColumnsShowFocus( TRUE ); | 47 | mMessageListView->setAllColumnsShowFocus( TRUE ); |
46 | 48 | ||
47 | OutgoingDialog_baseLayout->addMultiCellWidget( mMessageListView, 0, 3, 0, 0 ); | 49 | OutgoingDialog_baseLayout->addMultiCellWidget( mMessageListView, 0, 3, 0, 0 ); |
48 | 50 | ||
49 | PushButton5 = new QPushButton( this, "PushButton5" ); | 51 | PushButton5 = new QPushButton( this, "PushButton5" ); |
50 | PushButton5->setDefault( FALSE ); | 52 | PushButton5->setDefault( FALSE ); |
51 | 53 | ||
52 | OutgoingDialog_baseLayout->addWidget( PushButton5, 0, 1 ); | 54 | OutgoingDialog_baseLayout->addWidget( PushButton5, 0, 1 ); |
53 | 55 | ||
54 | PushButton7 = new QPushButton( this, "PushButton7" ); | 56 | PushButton7 = new QPushButton( this, "PushButton7" ); |
55 | 57 | ||
56 | OutgoingDialog_baseLayout->addWidget( PushButton7, 1, 1 ); | 58 | OutgoingDialog_baseLayout->addWidget( PushButton7, 1, 1 ); |
57 | 59 | ||
58 | PushButton6 = new QPushButton( this, "PushButton6" ); | 60 | PushButton6 = new QPushButton( this, "PushButton6" ); |
59 | PushButton6->setDefault( TRUE ); | 61 | PushButton6->setDefault( TRUE ); |
60 | 62 | ||
61 | OutgoingDialog_baseLayout->addWidget( PushButton6, 3, 1 ); | 63 | OutgoingDialog_baseLayout->addWidget( PushButton6, 3, 1 ); |
62 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); | 64 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); |
63 | OutgoingDialog_baseLayout->addItem( spacer, 2, 1 ); | 65 | OutgoingDialog_baseLayout->addItem( spacer, 2, 1 ); |
64 | languageChange(); | 66 | languageChange(); |
65 | resize( QSize(582, 274).expandedTo(minimumSizeHint()) ); | 67 | resize( QSize(582, 274).expandedTo(minimumSizeHint()) ); |
66 | 68 | ||
67 | // signals and slots connections | 69 | // signals and slots connections |
68 | connect( PushButton6, SIGNAL( clicked() ), this, SLOT( accept() ) ); | 70 | connect( PushButton6, SIGNAL( clicked() ), this, SLOT( accept() ) ); |
69 | connect( PushButton5, SIGNAL( clicked() ), this, SLOT( send() ) ); | 71 | connect( PushButton5, SIGNAL( clicked() ), this, SLOT( send() ) ); |
70 | connect( PushButton7, SIGNAL( clicked() ), this, SLOT( deleteItem() ) ); | 72 | connect( PushButton7, SIGNAL( clicked() ), this, SLOT( deleteItem() ) ); |
71 | } | 73 | } |
72 | 74 | ||
73 | /* | 75 | /* |
74 | * Destroys the object and frees any allocated resources | 76 | * Destroys the object and frees any allocated resources |
75 | */ | 77 | */ |
76 | OutgoingDialog_base::~OutgoingDialog_base() | 78 | OutgoingDialog_base::~OutgoingDialog_base() |