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/publishdialog_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/publishdialog_base.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/publishdialog_base.cpp | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/korganizer/publishdialog_base.cpp b/korganizer/publishdialog_base.cpp index 683f7e9..ce5c542 100644 --- a/korganizer/publishdialog_base.cpp +++ b/korganizer/publishdialog_base.cpp | |||
@@ -10,34 +10,37 @@ | |||
10 | 10 | ||
11 | #include "publishdialog_base.h" | 11 | #include "publishdialog_base.h" |
12 | 12 | ||
13 | #include <qvariant.h> | 13 | #include <qvariant.h> |
14 | #include <qframe.h> | 14 | #include <q3frame.h> |
15 | #include <qheader.h> | 15 | #include <q3header.h> |
16 | #include <qlabel.h> | 16 | #include <qlabel.h> |
17 | #include <qlineedit.h> | 17 | #include <qlineedit.h> |
18 | #include <qlistview.h> | 18 | #include <q3listview.h> |
19 | #include <qpushbutton.h> | 19 | #include <qpushbutton.h> |
20 | #include <qlayout.h> | 20 | #include <qlayout.h> |
21 | #include <qtooltip.h> | 21 | #include <qtooltip.h> |
22 | #include <qwhatsthis.h> | 22 | #include <q3whatsthis.h> |
23 | //Added by qt3to4: | ||
24 | #include <Q3GridLayout> | ||
25 | #include <Q3HBoxLayout> | ||
23 | 26 | ||
24 | /* | 27 | /* |
25 | * Constructs a PublishDialog_base as a child of 'parent', with the | 28 | * Constructs a PublishDialog_base as a child of 'parent', with the |
26 | * name 'name' and widget flags set to 'f'. | 29 | * name 'name' and widget flags set to 'f'. |
27 | * | 30 | * |
28 | * The dialog will by default be modeless, unless you set 'modal' to | 31 | * The dialog will by default be modeless, unless you set 'modal' to |
29 | * TRUE to construct a modal dialog. | 32 | * TRUE to construct a modal dialog. |
30 | */ | 33 | */ |
31 | PublishDialog_base::PublishDialog_base( QWidget* parent, const char* name, bool modal, WFlags fl ) | 34 | PublishDialog_base::PublishDialog_base( QWidget* parent, const char* name, bool modal, Qt::WFlags fl ) |
32 | : QDialog( parent, name, modal, fl ) | 35 | : QDialog( parent, name, modal, fl ) |
33 | 36 | ||
34 | { | 37 | { |
35 | if ( !name ) | 38 | if ( !name ) |
36 | setName( "PublishDialog_base" ); | 39 | setName( "PublishDialog_base" ); |
37 | PublishDialog_baseLayout = new QGridLayout( this, 1, 1, 11, 6, "PublishDialog_baseLayout"); | 40 | PublishDialog_baseLayout = new Q3GridLayout( this, 1, 1, 11, 6, "PublishDialog_baseLayout"); |
38 | 41 | ||
39 | mAddressListView = new QListView( this, "mAddressListView" ); | 42 | mAddressListView = new Q3ListView( this, "mAddressListView" ); |
40 | mAddressListView->addColumn( tr2i18n( "Name" ) ); | 43 | mAddressListView->addColumn( tr2i18n( "Name" ) ); |
41 | mAddressListView->addColumn( tr2i18n( "Email" ) ); | 44 | mAddressListView->addColumn( tr2i18n( "Email" ) ); |
42 | 45 | ||
43 | PublishDialog_baseLayout->addMultiCellWidget( mAddressListView, 0, 3, 0, 1 ); | 46 | PublishDialog_baseLayout->addMultiCellWidget( mAddressListView, 0, 3, 0, 1 ); |
@@ -71,16 +74,16 @@ PublishDialog_base::PublishDialog_base( QWidget* parent, const char* name, bool | |||
71 | PublishDialog_baseLayout->addWidget( PushButton11, 1, 2 ); | 74 | PublishDialog_baseLayout->addWidget( PushButton11, 1, 2 ); |
72 | QSpacerItem* spacer = new QSpacerItem( 20, 241, QSizePolicy::Minimum, QSizePolicy::Expanding ); | 75 | QSpacerItem* spacer = new QSpacerItem( 20, 241, QSizePolicy::Minimum, QSizePolicy::Expanding ); |
73 | PublishDialog_baseLayout->addMultiCell( spacer, 3, 5, 2, 2 ); | 76 | PublishDialog_baseLayout->addMultiCell( spacer, 3, 5, 2, 2 ); |
74 | 77 | ||
75 | Line2 = new QFrame( this, "Line2" ); | 78 | Line2 = new Q3Frame( this, "Line2" ); |
76 | Line2->setFrameShape( QFrame::HLine ); | 79 | Line2->setFrameShape( Q3Frame::HLine ); |
77 | Line2->setFrameShadow( QFrame::Sunken ); | 80 | Line2->setFrameShadow( Q3Frame::Sunken ); |
78 | Line2->setFrameShape( QFrame::HLine ); | 81 | Line2->setFrameShape( Q3Frame::HLine ); |
79 | 82 | ||
80 | PublishDialog_baseLayout->addMultiCellWidget( Line2, 6, 6, 0, 2 ); | 83 | PublishDialog_baseLayout->addMultiCellWidget( Line2, 6, 6, 0, 2 ); |
81 | 84 | ||
82 | layout95 = new QHBoxLayout( 0, 0, 6, "layout95"); | 85 | layout95 = new Q3HBoxLayout( 0, 0, 6, "layout95"); |
83 | QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); | 86 | QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); |
84 | layout95->addItem( spacer_2 ); | 87 | layout95->addItem( spacer_2 ); |
85 | 88 | ||
86 | PushButton9 = new QPushButton( this, "PushButton9" ); | 89 | PushButton9 = new QPushButton( this, "PushButton9" ); |