From d2e20a18875ffb8041e8787f2fa9e8d3d981701b Mon Sep 17 00:00:00 2001 From: nils Date: Thu, 2 Oct 2008 02:43:52 +0000 Subject: 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 --- gpgwin.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'gpgwin.cpp') 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 *uidList = m_keyList->getChecked(); + QList *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(); } -- cgit