compile
[kdegraphics.git] / okular / ui / embeddedfilesdialog.h
blob117fe045ffd1c5d86c615c37fbcdecfb6535d223
1 /***************************************************************************
2 * Copyright (C) 2006 by Albert Astals Cid <aacid@kde.org> *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 ***************************************************************************/
10 #ifndef _EMBEDDEDFILESDIALOG_H_
11 #define _EMBEDDEDFILESDIALOG_H_
13 #include <kdialog.h>
15 class QTreeWidget;
17 namespace Okular {
18 class Document;
19 class EmbeddedFile;
22 class EmbeddedFilesDialog : public KDialog
24 Q_OBJECT
25 public:
26 EmbeddedFilesDialog(QWidget *parent, const Okular::Document *document);
28 private slots:
29 void saveFile();
30 void attachViewContextMenu( const QPoint& pos );
32 private:
33 void saveFile( Okular::EmbeddedFile* );
35 QTreeWidget *m_tw;
38 #endif