Initial commit
[keepassx] / src / dialogs / AddBookmarkDlg.h
1 /***************************************************************************
2  *   Copyright (C) 2007 by Tarek Saidi                                     *
3  *   tarek.saidi@arcor.de                                                  *
4  *                                                                         *
5  *   This program is free software; you can redistribute it and/or modify  *
6  *   it under the terms of the GNU General Public License as published by  *
7  *   the Free Software Foundation; version 2 of the License.               *
8  *                                                                         *
9  *   This program is distributed in the hope that it will be useful,       *
10  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
11  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
12  *   GNU General Public License for more details.                          *
13  *                                                                         *
14  *   You should have received a copy of the GNU General Public License     *
15  *   along with this program; if not, write to the                         *
16  *   Free Software Foundation, Inc.,                                       *
17  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
18  ***************************************************************************/
19
20 #ifndef _ADDBOOKMARKDLG_H_
21 #define _ADDBOOKMARKDLG_H_
22
23 #include "ui_AddBookmarkDlg.h"
24
25 class AddBookmarkDlg : public QDialog, private Ui::AddBookmarkDlg
26 {
27         Q_OBJECT
28
29         public:
30                 AddBookmarkDlg (QWidget* parent=0, QString DefaultFilename=QString(), int ItemID=-1);
31                 int ItemID;
32
33     private:
34         QPixmap BannerPixmap;
35         virtual void paintEvent(QPaintEvent*);
36
37     private slots:
38                 void OnButtonOk();
39                 void OnButtonBrowse();
40
41 };
42
43 #endif
44