Diffstat (limited to 'pwmanager/pwmanager/editcategory.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | pwmanager/pwmanager/editcategory.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pwmanager/pwmanager/editcategory.cpp b/pwmanager/pwmanager/editcategory.cpp index 4e2378c..4f19299 100644 --- a/pwmanager/pwmanager/editcategory.cpp +++ b/pwmanager/pwmanager/editcategory.cpp | |||
@@ -28,7 +28,9 @@ $Id$ | |||
28 | 28 | ||
29 | #include <qlayout.h> | 29 | #include <qlayout.h> |
30 | #include <qlabel.h> | 30 | #include <qlabel.h> |
31 | #include <qgroupbox.h> | 31 | #include <q3groupbox.h> |
32 | //Added by qt3to4: | ||
33 | #include <Q3GridLayout> | ||
32 | #include <klocale.h> | 34 | #include <klocale.h> |
33 | #include <kcombobox.h> | 35 | #include <kcombobox.h> |
34 | #include <klineedit.h> | 36 | #include <klineedit.h> |
@@ -55,7 +57,7 @@ editCategoryWnd::editCategoryWnd( PwMDoc* d, QWidget* parent, const char* name) | |||
55 | 57 | ||
56 | 58 | ||
57 | QWidget *page = plainPage(); | 59 | QWidget *page = plainPage(); |
58 | QGridLayout *layout = new QGridLayout( page, 3, 1 ); | 60 | Q3GridLayout *layout = new Q3GridLayout( page, 3, 1 ); |
59 | layout->setMargin( KDialogBase::marginHint() ); | 61 | layout->setMargin( KDialogBase::marginHint() ); |
60 | layout->setSpacing( KDialogBase::spacingHint() ); | 62 | layout->setSpacing( KDialogBase::spacingHint() ); |
61 | 63 | ||
@@ -66,7 +68,7 @@ editCategoryWnd::editCategoryWnd( PwMDoc* d, QWidget* parent, const char* name) | |||
66 | layout->addWidget( categoryComboBox, i, 1 ); | 68 | layout->addWidget( categoryComboBox, i, 1 ); |
67 | i++; | 69 | i++; |
68 | categoryComboBox->setEditable( FALSE ); | 70 | categoryComboBox->setEditable( FALSE ); |
69 | categoryComboBox->setSizeLimit( 100 ); | 71 | categoryComboBox->setMaxVisibleItems( 100 ); |
70 | connect(categoryComboBox,SIGNAL(activated(const QString&)), SLOT(categorySelected(const QString&))); | 72 | connect(categoryComboBox,SIGNAL(activated(const QString&)), SLOT(categorySelected(const QString&))); |
71 | 73 | ||
72 | 74 | ||