summaryrefslogtreecommitdiffabout
path: root/microkde/kdeui/klistbox.h
Side-by-side diff
Diffstat (limited to 'microkde/kdeui/klistbox.h') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kdeui/klistbox.h25
1 files changed, 15 insertions, 10 deletions
diff --git a/microkde/kdeui/klistbox.h b/microkde/kdeui/klistbox.h
index 8023780..5ec514b 100644
--- a/microkde/kdeui/klistbox.h
+++ b/microkde/kdeui/klistbox.h
@@ -20,3 +20,8 @@
-#include <qlistbox.h>
+#include <q3listbox.h>
+//Added by qt3to4:
+#include <QMouseEvent>
+#include <QFocusEvent>
+#include <QKeyEvent>
+#include <QEvent>
@@ -37,3 +42,3 @@
**/
-class KListBox : public QListBox
+class KListBox : public Q3ListBox
{
@@ -42,3 +47,3 @@ class KListBox : public QListBox
public:
- KListBox( QWidget *parent = 0, const char *name = 0, WFlags f = 0 );
+ KListBox( QWidget *parent = 0, const char *name = 0, Qt::WFlags f = 0 );
@@ -56,3 +61,3 @@ signals:
*/
- void executed( QListBoxItem *item );
+ void executed( Q3ListBoxItem *item );
@@ -69,3 +74,3 @@ signals:
*/
- void executed( QListBoxItem *item, const QPoint &pos );
+ void executed( Q3ListBoxItem *item, const QPoint &pos );
@@ -85,6 +90,6 @@ signals:
*/
- void doubleClicked( QListBoxItem *item, const QPoint &pos );
+ void doubleClicked( Q3ListBoxItem *item, const QPoint &pos );
protected slots:
- void slotOnItem( QListBoxItem *item );
+ void slotOnItem( Q3ListBoxItem *item );
void slotOnViewport();
@@ -99,3 +104,3 @@ protected slots:
protected:
- void emitExecute( QListBoxItem *item, const QPoint &pos );
+ void emitExecute( Q3ListBoxItem *item, const QPoint &pos );
@@ -125,3 +130,3 @@ protected:
- QListBoxItem* m_pCurrentItem;
+ Q3ListBoxItem* m_pCurrentItem;
@@ -131,3 +136,3 @@ protected:
private slots:
- void slotMouseButtonClicked( int btn, QListBoxItem *item, const QPoint &pos );
+ void slotMouseButtonClicked( int btn, Q3ListBoxItem *item, const QPoint &pos );