summaryrefslogtreecommitdiffabout
path: root/korganizer/savetemplatedialog.cpp
Unidiff
Diffstat (limited to 'korganizer/savetemplatedialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/savetemplatedialog.cpp7
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
33SaveTemplateDialog::SaveTemplateDialog( IncidenceType type, QWidget *parent ) 36SaveTemplateDialog::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;