~ubuntu-branches/ubuntu/breezy/koffice/breezy

« back to all changes in this revision

Viewing changes to kivio/kiviopart/kiviosdk/kiviostencilfactory.h

  • Committer: Bazaar Package Importer
  • Author(s): Ben Burton
  • Date: 2004-05-09 11:33:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040509113300-vfrdadqsvjfuhn3b
Tags: 1:1.3.1-1
* New upstream bugfix release.
* Built against newer imagemagick (closes: #246623).
* Made koffice-libs/kformula recommend/depend on latex-xft-fonts, which
  provides mathematical fonts that the formula editor can use.  Also
  patched the kformula part to make these fonts the default.
* Changed kword menu hint from "WordProcessors" to "Word processors"
  (closes: #246209).
* Spellchecker configuration is now fixed (closes: #221256, #227568).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Kivio - Visual Modelling and Flowcharting
 
3
 * Copyright (C) 2000-2001 theKompany.com & Dave Marotti
 
4
 *
 
5
 * This program is free software; you can redistribute it and/or
 
6
 * modify it under the terms of the GNU General Public License
 
7
 * as published by the Free Software Foundation; either version 2
 
8
 * of the License, or (at your option) any later version.
 
9
 *
 
10
 * This program is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program; if not, write to the Free Software
 
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
18
 */
 
19
#ifndef KIVIO_STENCIL_FACTORY_H
 
20
#define KIVIO_STENCIL_FACTORY_H
 
21
 
 
22
class KivioStencil;
 
23
class KivioStencilSpawnerInfo;
 
24
class QPixmap;
 
25
 
 
26
#include <qstring.h>
 
27
#include <qobject.h>
 
28
#include <qstringlist.h>
 
29
class KivioStencilFactory : public QObject
 
30
{
 
31
        Q_OBJECT
 
32
    public:
 
33
        KivioStencilFactory(QObject *parent=0, const char*name=0, const QStringList& args = QStringList()) :
 
34
                QObject(parent, name){;}
 
35
        virtual KivioStencil *NewStencil(const QString& name) =0;
 
36
        virtual KivioStencil *NewStencil()=0;
 
37
        virtual QPixmap *GetIcon()=0;
 
38
        virtual KivioStencilSpawnerInfo *GetSpawnerInfo()=0;
 
39
};
 
40
#endif