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/savetemplatedialog.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/savetemplatedialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | korganizer/savetemplatedialog.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/korganizer/savetemplatedialog.cpp b/korganizer/savetemplatedialog.cpp index 3544081..35bedba 100644 --- a/korganizer/savetemplatedialog.cpp +++ b/korganizer/savetemplatedialog.cpp | |||
@@ -17,31 +17,34 @@ | |||
17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | ||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #include <qlayout.h> | 24 | #include <qlayout.h> |
25 | //Added by qt3to4: | ||
26 | #include <Q3VBoxLayout> | ||
27 | #include <Q3Frame> | ||
25 | 28 | ||
26 | #include <keditlistbox.h> | 29 | #include <keditlistbox.h> |
27 | #include <klocale.h> | 30 | #include <klocale.h> |
28 | 31 | ||
29 | #include "koprefs.h" | 32 | #include "koprefs.h" |
30 | 33 | ||
31 | #include "savetemplatedialog.h" | 34 | #include "savetemplatedialog.h" |
32 | 35 | ||
33 | SaveTemplateDialog::SaveTemplateDialog( IncidenceType type, QWidget *parent ) | 36 | SaveTemplateDialog::SaveTemplateDialog( IncidenceType type, QWidget *parent ) |
34 | : KDialogBase( Plain, i18n("Save Template"), Ok | Cancel, Ok, parent, 0, | 37 | : KDialogBase( Plain, i18n("Save Template"), Ok | Cancel, Ok, parent, 0, |
35 | true, false ), | 38 | true, false ), |
36 | mType( type ) | 39 | mType( type ) |
37 | { | 40 | { |
38 | QFrame *topFrame = plainPage(); | 41 | Q3Frame *topFrame = plainPage(); |
39 | QVBoxLayout *topLayout = new QVBoxLayout( topFrame, 0, spacingHint() ); | 42 | Q3VBoxLayout *topLayout = new Q3VBoxLayout( topFrame, 0, spacingHint() ); |
40 | 43 | ||
41 | mEditListBox = new KEditListBox( i18n("Select Template Name"), topFrame, | 44 | mEditListBox = new KEditListBox( i18n("Select Template Name"), topFrame, |
42 | 0, false, KEditListBox::Add | | 45 | 0, false, KEditListBox::Add | |
43 | KEditListBox::Remove ); | 46 | KEditListBox::Remove ); |
44 | topLayout->addWidget( mEditListBox ); | 47 | topLayout->addWidget( mEditListBox ); |
45 | connect( mEditListBox, SIGNAL( changed() ), SLOT( slotChanged() ) ); | 48 | connect( mEditListBox, SIGNAL( changed() ), SLOT( slotChanged() ) ); |
46 | 49 | ||
47 | QStringList templates; | 50 | QStringList templates; |