aboutsummaryrefslogtreecommitdiffstats
path: root/fileencryptiondialog.h
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-04-14 16:39:42 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-04-14 16:39:42 +0000
commit0f0d03f2c357ac2f9eedd53d959a19b5de9805cb (patch)
treec250a801a1721c56882b2a9ee9c4164fd12530e3 /fileencryptiondialog.h
parentupdated russian translation (diff)
downloadgpg4usb-0f0d03f2c357ac2f9eedd53d959a19b5de9805cb.tar.gz
gpg4usb-0f0d03f2c357ac2f9eedd53d959a19b5de9805cb.zip
focus is kept on main window when closing settingsdialog, filecrypt. Added some ifndefs
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@302 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'fileencryptiondialog.h')
-rwxr-xr-xfileencryptiondialog.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/fileencryptiondialog.h b/fileencryptiondialog.h
index 2e9234a..44ad9de 100755
--- a/fileencryptiondialog.h
+++ b/fileencryptiondialog.h
@@ -19,6 +19,9 @@
* MA 02110-1301, USA.
*/
+#ifndef __FILEENCRYPTIONDIALOG_H__
+#define __FILEENCRYPTIONDIALOG_H__
+
#include <QDialog>
#include <QLineEdit>
#include <QRadioButton>
@@ -31,7 +34,7 @@ class FileEncryptionDialog : public QDialog
Q_OBJECT
public:
- FileEncryptionDialog(GpgME::Context *ctx, QString iconPath);
+ FileEncryptionDialog(GpgME::Context *ctx, QString iconPath, QWidget *parent = 0);
public slots:
void selectInputFile();
@@ -51,3 +54,4 @@ protected:
KeyList *mKeyList;
};
+#endif // __FILEENCRYPTIONDIALOG_H__