/***************************************************************************
kalbumview.h - description
-------------------
begin : Sun Sep 8 19:50:24 UTC 2002
copyright : (C) 2002 by Graham Morrison
email : kalbum@paldandy.com
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef KALBUMVIEW_H
#define KALBUMVIEW_H
#ifdef HAVE_CONFIG_H
#include
#endif
// include files for Qt
#include
class KalbumDoc;
/** The KalbumView class provides the view widget for the KalbumApp instance.
* The View instance inherits QWidget as a base class and represents the view object of a KTMainWindow. As KalbumView is part of the
* docuement-view model, it needs a reference to the document object connected with it by the KalbumApp class to manipulate and display
* the document structure provided by the KalbumDoc class.
*
* @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team.
* @version KDevelop version 0.4 code generation
*/
class KalbumView : public QWidget
{
Q_OBJECT
public:
/** Constructor for the main view */
KalbumView(QWidget *parent = 0, const char *name=0);
/** Destructor for the main view */
~KalbumView();
/** returns a pointer to the document connected to the view instance. Mind that this method requires a KalbumApp instance as a parent
* widget to get to the window document pointer by calling the KalbumApp::getDocument() method.
*
* @see KalbumApp#getDocument
*/
KalbumDoc *getDocument() const;
/** contains the implementation for printing functionality */
void print(QPrinter *pPrinter);
private:
};
#endif // KALBUMVIEW_H
| Generated by: graham on paldandy on Sun Sep 8 19:50:51 2002, using kdoc 2.0a53. |