summaryrefslogtreecommitdiffstats
path: root/kbarcode/documentitemdlg.h
blob: 48c641d47bb56ae58d0f041ce7c48e17d94816d9 (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
/***************************************************************************
                         documentitemdlg.h  -  description
                             -------------------
    begin                : Do Sep 10 2004
    copyright            : (C) 2004 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 DOCUMENTITEMDLG_H
#define DOCUMENTITEMDLG_H

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

class KCommandHistory;

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

#endif