summaryrefslogtreecommitdiffabout
path: root/kaddressbook/viewmanager.h
Side-by-side diff
Diffstat (limited to 'kaddressbook/viewmanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/viewmanager.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/kaddressbook/viewmanager.h b/kaddressbook/viewmanager.h
index ab5d372..4bbdbc7 100644
--- a/kaddressbook/viewmanager.h
+++ b/kaddressbook/viewmanager.h
@@ -17,33 +17,35 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
As a special exception, permission is given to link this program
with any edition of Qt, and distribute the resulting executable,
without including the source code for Qt in the source distribution.
*/
#ifndef VIEWMANAGER_H
#define VIEWMANAGER_H
#include <qwidget.h>
#include <qstringlist.h>
+//Added by qt3to4:
+#include <QDropEvent>
#include <kaddressbookview.h>
-#include <qdict.h>
+#include <q3dict.h>
#include "filter.h"
class KAction;
class KSelectAction;
class KABCore;
-class QWidgetStack;
+class Q3WidgetStack;
class QDropEvent;
namespace KABC { class AddressBook; }
/**
The view manager manages the views and everything related to them. The
manager will load the views at startup and display a view when told to
make one active.
The view manager will also create and manage all dialogs directly related to
views (ie: AddView, ConfigureView, DeleteView, etc).
*/
@@ -136,26 +138,26 @@ class ViewManager : public QWidget
QStringList filterNames() const;
int filterPosition( const QString &name ) const;
QStringList viewNames() const;
int viewPosition( const QString &name ) const;
void initActions();
void initGUI();
KABCore *mCore;
Filter mCurrentFilter;
Filter::List mFilterList;
- QDict<KAddressBookView> mViewDict;
- QDict<ViewFactory> mViewFactoryDict;
+ Q3Dict<KAddressBookView> mViewDict;
+ Q3Dict<ViewFactory> mViewFactoryDict;
QStringList mViewNameList;
- QWidgetStack *mViewWidgetStack;
+ Q3WidgetStack *mViewWidgetStack;
KAddressBookView *mActiveView;
KAction *mActionDeleteView;
KSelectAction *mActionSelectFilter;
KSelectAction *mActionSelectView;
};
#endif