summaryrefslogtreecommitdiffstats
path: root/kbarcode/documentitemdlg.h
blob: 732432e295b3cc4bf99015c221d72989f44ba6d9 (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
/***************************************************************************
                         documentitemdlg.h  -  description
                             -------------------
    begin                : Do Sep 10 2004
    copyright            : (C) 2004 by Dominik Seichter
    email                : [email protected]
 ***************************************************************************/

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

#include <kdialogbase.h>
#include "documentitem.h"
#include "propertywidget.h"
#include <list> 

class KCommandHistory;

class DocumentItemDlg : public KDialogBase
{
 Q_OBJECT
 public:
    DocumentItemDlg( TokenProvider* token, DocumentItem* item, KCommandHistory* history, QWidget* parent );
    ~DocumentItemDlg();
    
    void addPage( PropertyWidget* widget );
 
 protected slots:
    void accept();
    
 private:
    DocumentItem* m_item;
    std::list<PropertyWidget*> m_list;
    
    KCommandHistory* m_history;
};

#endif