aboutsummaryrefslogtreecommitdiffstats
path: root/gpgwin.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2008-10-02 02:43:52 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2008-10-02 02:43:52 +0000
commitd2e20a18875ffb8041e8787f2fa9e8d3d981701b (patch)
tree964b027a0836ec95ef36b36540c1bb72f64ed6b7 /gpgwin.cpp
parentadded keymanagement including export of keys (diff)
downloadgpg4usb-d2e20a18875ffb8041e8787f2fa9e8d3d981701b.tar.gz
gpg4usb-d2e20a18875ffb8041e8787f2fa9e8d3d981701b.zip
Eliminated underscores in some variables 8m_ctx, m_keylist and m_attachmets)
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@182 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'gpgwin.cpp')
-rw-r--r--gpgwin.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/gpgwin.cpp b/gpgwin.cpp
index 9c9b5d0..c8c6c27 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -36,13 +36,13 @@ GpgWin::GpgWin()
/* the list of Keys available*/
- m_keyList = new KeyList(myCtx, iconPath);
+ mKeyList = new KeyList(myCtx, iconPath);
/* List of binary Attachments */
- /*m_attachments = new Attachments();
- m_attachments->setIconPath(iconPath);
- m_attachments->setContext(myCtx);
- m_attachments->setKeyList(m_keyList);*/
+ /*mAttachments = new Attachments();
+ mAttachments->setIconPath(iconPath);
+ mAttachments->setContext(myCtx);
+ mAttachments->setKeyList(mKeyList);*/
createActions();
createMenus();
@@ -53,7 +53,7 @@ GpgWin::GpgWin()
setIconSize(QSize(32, 32));
setCurrentFile("");
- m_keyList->addMenuAction(deleteSelectedKeysAct);
+ mKeyList->addMenuAction(deleteSelectedKeysAct);
}
@@ -224,12 +224,12 @@ void GpgWin::createDockWindows()
QDockWidget *dock = new QDockWidget(tr("Encrypt for:"), this);
dock->setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea );
addDockWidget(Qt::RightDockWidgetArea, dock);
- dock->setWidget(m_keyList);
+ dock->setWidget(mKeyList);
/*dock = new QDockWidget(tr("Attached files:"), this);
dock->setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea | Qt::BottomDockWidgetArea );
addDockWidget(Qt::BottomDockWidgetArea, dock);
- dock->setWidget(m_attachments);*/
+ dock->setWidget(mAttachments);*/
}
@@ -379,7 +379,7 @@ void GpgWin::about()
void GpgWin::encrypt()
{
- QList<QString> *uidList = m_keyList->getChecked();
+ QList<QString> *uidList = mKeyList->getChecked();
QByteArray *tmp = new QByteArray();
if (myCtx->encrypt(uidList, edit->toPlainText().toAscii(), tmp)) {
@@ -417,14 +417,14 @@ void GpgWin::preventNoDataErr(QByteArray *in)
void GpgWin::importKeyFromEdit()
{
myCtx->importKey(edit->toPlainText().toAscii());
- m_keyList->refresh();
+ mKeyList->refresh();
}
void GpgWin::importKeyFromClipboard()
{
QClipboard *cb = QApplication::clipboard();
myCtx->importKey(cb->text(QClipboard::Clipboard).toAscii());
- m_keyList->refresh();
+ mKeyList->refresh();
}
void GpgWin::importKeyFromFile()
@@ -440,7 +440,7 @@ void GpgWin::importKeyFromFile()
}
QByteArray inBuffer = file.readAll();
myCtx->importKey(inBuffer);
- m_keyList->refresh();
+ mKeyList->refresh();
}
}
@@ -494,7 +494,7 @@ void GpgWin::importKeyDialog() {
*/
void GpgWin::deleteSelectedKeys()
{
- myCtx->deleteKeys(m_keyList->getSelected());
- m_keyList->refresh();
+ myCtx->deleteKeys(mKeyList->getSelected());
+ mKeyList->refresh();
}