summaryrefslogtreecommitdiffabout
path: root/pwmanager/pwmanager/listobjselectwnd.h
Side-by-side diff
Diffstat (limited to 'pwmanager/pwmanager/listobjselectwnd.h') (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/listobjselectwnd.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/pwmanager/pwmanager/listobjselectwnd.h b/pwmanager/pwmanager/listobjselectwnd.h
index 3b5f1eb..df3da93 100644
--- a/pwmanager/pwmanager/listobjselectwnd.h
+++ b/pwmanager/pwmanager/listobjselectwnd.h
@@ -18,29 +18,31 @@
**************************************************************************/
#ifndef LISTOBJSELECTWND_H
#define LISTOBJSELECTWND_H
#include <qdialog.h>
-#include <qvbox.h>
-#include <qhbox.h>
+#include <q3vbox.h>
+#include <q3hbox.h>
#include <qlabel.h>
-#include <qlistbox.h>
+#include <q3listbox.h>
#include <qpushbutton.h>
#include <qstringlist.h>
+//Added by qt3to4:
+#include <QResizeEvent>
/** Display a list-window for selection of some objects */
class ListObjSelectWnd : public QDialog
{
Q_OBJECT
public:
ListObjSelectWnd(const QString &caption, const QString &titleText,
QWidget *parent = 0, bool multiSel = false,
const char *name = 0,
- bool modal = FALSE, WFlags f = 0);
+ bool modal = FALSE, Qt::WFlags f = 0);
~ListObjSelectWnd();
void setList(const QStringList &_list);
void addObj(const QString &name)
{ list->insertItem(name); }
void selectObj(const QString &name)
@@ -59,17 +61,17 @@ public:
#endif
QStringList getSelectedList();
void clearObjs()
{ list->clear(); }
protected:
- QVBox *vbox1;
- QHBox *hbox1;
- QHBox *hbox2;
+ Q3VBox *vbox1;
+ Q3HBox *hbox1;
+ Q3HBox *hbox2;
QLabel *title;
- QListBox *list;
+ Q3ListBox *list;
QPushButton *okButton;
QPushButton *cancelButton;
QPushButton *selAllButton;
QPushButton *unselAllButton;
protected: