PCManFM-Qt
editbookmarksdialog.h
1 /*
2  <one line to give the program's name and a brief idea of what it does.>
3  Copyright (C) 2013 PCMan <email>
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; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License along
16  with this program; if not, write to the Free Software Foundation, Inc.,
17  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19 
20 
21 #ifndef FM_EDITBOOKMARKSDIALOG_H
22 #define FM_EDITBOOKMARKSDIALOG_H
23 
24 #include "libfmqtglobals.h"
25 #include <QDialog>
26 #include <libfm/fm.h>
27 
28 namespace Ui {
29 class EditBookmarksDialog;
30 };
31 
32 namespace Fm {
33 
34 class LIBFM_QT_API EditBookmarksDialog : public QDialog {
35 Q_OBJECT
36 public:
37  explicit EditBookmarksDialog(FmBookmarks* bookmarks, QWidget* parent = 0, Qt::WindowFlags f = 0);
38  virtual ~EditBookmarksDialog();
39 
40  virtual void accept();
41 
42 private Q_SLOTS:
43  void onAddItem();
44  void onRemoveItem();
45 
46 private:
47  Ui::EditBookmarksDialog* ui;
48  FmBookmarks* bookmarks_;
49 };
50 
51 }
52 
53 #endif // FM_EDITBOOKMARKSDIALOG_H
Definition: appchoosercombobox.cpp:26
Definition: appchooserdialog.h:28
Definition: editbookmarksdialog.h:34