summaryrefslogtreecommitdiffstats
path: root/kbarcode/editoriface.h
blob: 73a1b3572df07be9db41febc9c6a2acf1b152d19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/***************************************************************************
                          editoriface.h  -  description
                             -------------------
    begin                : Sat Dec 27 09:53:28 CET 2003
    copyright            : (C) 2003 by Dominik Seichter
    email                : domseichter@web.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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 EDITORIFACE_H
#define EDITORIFACE_H

#include <dcopobject.h>

class EditorIface : virtual public DCOPObject
{
    K_DCOP

    public:
    k_dcop:

    virtual const TQString fileName() const = 0;
    virtual bool isChanged() = 0;
    virtual void print() = 0;
    virtual bool newLabel() = 0;

    virtual void insertBarcode() = 0;
    virtual void insertPicture() = 0;
    virtual void insertText() = 0;
    virtual void insertRect() = 0;
    virtual void insertCircle() = 0;
    virtual void insertLine() = 0;

    virtual void changeDes() = 0;
    virtual void changeSize() = 0;

    virtual void preview() = 0;
    virtual void toggleGrid() = 0;

    virtual void closeLabel() = 0;

    virtual bool openUrl( const TQString & url ) = 0;
    virtual bool save( TQString url ) = 0;

};

#endif /* EDITORIFACE_H */