-rw-r--r-- | core/pim/datebook2/view.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/pim/datebook2/view.h b/core/pim/datebook2/view.h index e2312a3..2236aad 100644 --- a/core/pim/datebook2/view.h +++ b/core/pim/datebook2/view.h @@ -10,24 +10,34 @@ class Config; namespace Datebook { class MainWindow; class View { public: View( MainWindow* window, QWidget* parent ); virtual ~View(); static QDate dateFromWeek( int week, int year, bool startOnMonda ); static bool calcWeek( const QDate& d, int &week, int &year, bool startOnMonday = false ); virtual QPixmap pixmap()const = 0; + + /** + * non translatable name or type + */ + virtual QCString type()const = 0; + + /** + * shown to the user + */ + virtual QString name()const = 0; virtual QString description()const = 0; /** * return the uid of the current item or 0 */ virtual int currentItem()const = 0; /** * loadConfig * saveConfig */ void loadConfig( Config* ); |