1
//MountManager - the program for easy mounting of storage devices in Linux
2
//Copyright (C) 2007-2008 Tikhonov Sergey
4
//This file is part of MountManager Plugin "Images mounting"
6
//This program is free software; you can redistribute it and/or
7
//modify it under the terms of the GNU General Public License
8
//as published by the Free Software Foundation; either version 2
9
//of the License, or (at your option) any later version.
11
//This program is distributed in the hope that it will be useful,
12
//but WITHOUT ANY WARRANTY; without even the implied warranty of
13
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
//GNU General Public License for more details.
16
//You should have received a copy of the GNU General Public License
17
//along with this program; if not, write to the Free Software
18
//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19
#ifndef IMAGESMOUNTING_H
20
#define IMAGESMOUNTING_H
24
#include "plugininterface.h"
35
class ImagesMounting : public QObject, public MountManagerPlugin
38
Q_INTERFACES(MountManagerPlugin)
41
void processFinished(int exitCode,QProcess::ExitStatus exitStatus);
42
void chooseMountPoint();
46
void showError(const QString &);
50
QPushButton *mountButton;
51
QPushButton *unmountButton;
52
QPushButton *closeButton;
54
QLineEdit *mountPointPath;
55
QPushButton *chooseImagePath;
56
QPushButton *chooseMountPointPath;
57
QCheckBox *openDirAfterMounting;
61
QString tempIsoImagePath;
67
ImagesMounting(QWidget *parent = 0);
70
void setParent(QObject *parent);
72
const QString pluginName() const;
73
const QString pluginDescription() const;
75
QDialog* dialog() const;
76
QDockWidget* dockWidget() const;
78
QToolBar* toolBar() const;
80
Actions menuActions() const;