author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /korganizer/outgoingdialog_base.cpp | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
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,60 +1,62 @@ | |||
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 | ||