iconviewwrapper.h
00001 #ifndef ICONVIEWWRAPPER_H
00002 #define ICONVIEWWRAPPER_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #include <qstring.h>
00028 #include <klocale.h>
00029 #include "kaddressbookiconview.h"
00030 #include "viewwrapper.h"
00031
00032 namespace KABC { class AddressBook; }
00033
00034 class IconViewWrapper : public ViewWrapper
00035 {
00036 public:
00037 IconViewWrapper() : ViewWrapper() {}
00038 virtual ~IconViewWrapper() {}
00039
00040 virtual QString type() const { return "Icon"; };
00041
00042 virtual QString description() const
00043 {
00044
00045 QString desc = i18n("Icons represent contacts. Very simple view.");
00046
00047 return desc;
00048 }
00049
00050 virtual KAddressBookView *createView(KABC::AddressBook *doc,
00051 QWidget *parent,
00052 const char *name)
00053 {
00054 return new KAddressBookIconView(doc, parent, name);
00055 }
00056
00057 };
00058
00059 #endif
This file is part of the documentation for kdelibs Version 3.1.4.