Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ZSafe Class Reference

#include </home/clem/local/src/opie/noncore/apps/zsafe/zsafe.h>

Collaboration diagram for ZSafe:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  PWERR_GOOD, PWERR_OPEN, PWERR_PERM, PWERR_SYML,
  PWERR_STAT, PWERR_DATA
}

Public Slots

virtual void deletePwd ()
virtual void editPwd ()
virtual void newPwd ()
virtual void findPwd ()
virtual void quitMe ()
virtual void listViewSelected (QListViewItem *_item)
virtual void showInfo (QListViewItem *_item)
virtual void writeAllEntries ()
virtual void readAllEntries ()
virtual void removeAsciiFile ()
virtual void setPasswordDialogDone ()
virtual void addCategory ()
virtual void delCategory ()
virtual void editCategory ()
virtual void cutItem ()
virtual void copyItem ()
virtual void pasteItem ()
virtual void newDocument ()
virtual void loadDocument ()
virtual void saveDocumentAs ()
virtual void saveDocumentWithoutPwd ()
virtual void saveDocumentWithPwd ()
virtual void setExpandFlag ()
virtual void categoryFieldActivated (const QString &str)
virtual void ListPressed (int, QListViewItem *, const QPoint &, int)
virtual void copyClip (const QString &text)

Public Member Functions

 ZSafe (QWidget *parent=0, const char *name=0, WFlags fl=0)
 ~ZSafe ()
bool isCategory (QListViewItem *_item)
void getDocPassword (QString title)
bool openDocument (const char *filename, const char *format=0)
int loadInit (const char *filename, const char *password)
int loadEntry (char *entry[4])
int loadFinalize (void)
bool saveDocument (const char *filename, bool withPwd, const char *format=0)
int saveInit (const char *filename, const char *password)
int saveEntry (char *entry[4])
int saveFinalize (void)
void saveConf ()
QPixmap * getPredefinedIcon (QString category)
QString getFieldLabel (QListViewItem *_item, QString field, QString def)
QString getFieldLabel (QString category, QString field, QString def)
void setCategoryDialogFields (CategoryDialog *dialog)
void setCategoryDialogFields (CategoryDialog *dialog, QString category)
void saveCategoryDialogFields (CategoryDialog *dialog)
void resume (int signum)
void exitZs (int ec)
QString zsaveDialog ()

Static Public Member Functions

static QString appName ()

Public Attributes

ZListViewListView
QString cfgFile
QString iconPath
InfoForm * infoForm
CategoryDialog * categoryDialog
QListViewItem * selectedItem
QListViewItem * copiedItem
bool IsCopy
bool IsCut
bool modified
bool showpwd
QListViewItem * lastSearchedCategory
QListViewItem * lastSearchedItem
QString lastSearchedName
QString lastSearchedUsername
QString lastSearchedComment
CategoryList categories
QString filename
long load_buffer_length
long save_buffer_length
QString m_password
int lastcount
int size
FILE * fd
unsigned short iv [4]
char * buffer
int bufferIndex
unsigned short plaintext [4]
Configconf
bool expandTree
QPopupMenu * file
QTimer docuTimer

Static Public Attributes

static const QColor * evenRowColor = &Qt::white
static const QColor * oddRowColor = new QColor(216,240,255)

Protected Member Functions

void paintEvent (QPaintEvent *e)

Protected Attributes

bool raiseFlag
QTimer raiseTimer

Private Slots

void setDocument (const QString &fileref)
void slotLoadDocu ()
void slotRaiseTimer ()

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
PWERR_GOOD 
PWERR_OPEN 
PWERR_PERM 
PWERR_SYML 
PWERR_STAT 
PWERR_DATA 

Definition at line 97 of file zsafe.h.


Constructor & Destructor Documentation

ZSafe::ZSafe QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

Definition at line 322 of file zsafe.cpp.

References addCategory(), bank_cards_data, categoryDialog, cfgFile, conf, copyItem(), cutItem(), d1, delCategory(), deletePwd(), docuTimer, editCategory(), editPwd(), QDir::exists(), exitZs(), expand_xpm, expandTree, FALSE, filename, findPwd(), QString::findRev(), general_data, QDir::homeDirPath(), infoForm, IsCopy, IsCut, l, lastSearchedCategory, lastSearchedComment, lastSearchedItem, lastSearchedName, lastSearchedUsername, QString::length(), ListPressed(), ListView, listViewSelected(), loadDocument(), Opie::Core::OResource::loadPixmap(), QDir::mkdir(), modified, newDocument(), newPwd(), QString::null, NULL, passwords_data, pasteItem(), QPEApplication::qpeDir(), qpeDir(), raiseFlag, raiseTimer, readAllEntries(), Config::readEntry(), Config::readNumEntry(), removeAsciiFile(), QString::right(), QPEApplication::RightOnHold, saveConf(), saveDocumentAs(), saveDocumentWithoutPwd(), saveDocumentWithPwd(), selectedItem, setExpandFlag(), Config::setGroup(), QPEApplication::setStylusOperation(), showInfo(), showpwd, slotLoadDocu(), slotRaiseTimer(), Opie::Core::OResource::SmallIcon, software_data, tr, TRUE, writeAllEntries(), and Config::writeEntry().

ZSafe::~ZSafe  ) 
 

Definition at line 541 of file zsafe.cpp.

References quitMe().


Member Function Documentation

void ZSafe::addCategory  )  [virtual, slot]
 

Definition at line 2274 of file zsafe.cpp.

References QValueList< T >::append(), QValueList< T >::begin(), categories, categoryDialog, categoryFieldActivated(), cfgFile, conf, QString::contains(), QPtrListIterator< type >::current(), d, QValueList< T >::end(), QDir::entryInfoList(), QTextStream::eof(), f, FALSE, QFileInfo::fileName(), filename, QDir::Files, QString::find(), general_data, Category::getCategoryName(), getPredefinedIcon(), iconPath, Category::initListItem(), CategoryList::insert(), IO_ReadOnly, QString::isEmpty(), QString::length(), list, ListView, Opie::Core::OResource::loadPixmap(), QString::mid(), modified, QFile::open(), pos, qApp, QPEApplication::qpeDir(), QTextStream::readLine(), QString::right(), saveCategoryDialogFields(), saveConf(), setCategoryDialogFields(), Category::setCategoryName(), QDir::setFilter(), Category::setIcon(), Category::setIconName(), Category::setListItem(), Opie::Core::OResource::SmallIcon, t, tr, QString::truncate(), and Config::writeEntry().

Referenced by ZSafe().

static QString ZSafe::appName  )  [inline, static]
 

Definition at line 64 of file zsafe.h.

References QString::fromLatin1().

void ZSafe::categoryFieldActivated const QString str  )  [virtual, slot]
 

Definition at line 2268 of file zsafe.cpp.

References categoryDialog, and setCategoryDialogFields().

Referenced by addCategory(), and editCategory().

void ZSafe::copyClip const QString text  )  [virtual, slot]
 

Definition at line 3202 of file zsafe.cpp.

Referenced by ListPressed().

void ZSafe::copyItem  )  [virtual, slot]
 

Definition at line 2845 of file zsafe.cpp.

References copiedItem, isCategory(), IsCopy, and selectedItem.

Referenced by ListPressed(), and ZSafe().

void ZSafe::cutItem  )  [virtual, slot]
 

Definition at line 2834 of file zsafe.cpp.

References copiedItem, isCategory(), IsCut, and selectedItem.

Referenced by ZSafe().

void ZSafe::delCategory  )  [virtual, slot]
 

Definition at line 2434 of file zsafe.cpp.

References categories, conf, isCategory(), ListView, modified, CategoryList::remove(), Config::removeEntry(), saveConf(), selectedItem, and tr.

Referenced by deletePwd(), and ZSafe().

void ZSafe::deletePwd  )  [virtual, slot]
 

Definition at line 553 of file zsafe.cpp.

References delCategory(), isCategory(), modified, NULL, selectedItem, and tr.

Referenced by ZSafe().

void ZSafe::editCategory  )  [virtual, slot]
 

Definition at line 2612 of file zsafe.cpp.

References QValueList< T >::append(), QValueList< T >::begin(), categories, categoryDialog, categoryFieldActivated(), cfgFile, QString::compare(), conf, QString::contains(), QPtrListIterator< type >::current(), d, QValueList< T >::end(), QDir::entryInfoList(), QTextStream::eof(), f, FALSE, QFileInfo::fileName(), QDir::Files, CategoryList::find(), QString::find(), getPredefinedIcon(), iconPath, CategoryList::insert(), IO_ReadOnly, isCategory(), QString::isEmpty(), QString::isNull(), QString::length(), list, Opie::Core::OResource::loadPixmap(), QString::mid(), modified, QFile::open(), pos, qApp, QPEApplication::qpeDir(), QTextStream::readLine(), CategoryList::remove(), Config::removeEntry(), QString::right(), saveCategoryDialogFields(), saveConf(), selectedItem, setCategoryDialogFields(), QDir::setFilter(), Opie::Core::OResource::SmallIcon, t, tr, QString::truncate(), and Config::writeEntry().

Referenced by editPwd(), and ZSafe().

void ZSafe::editPwd  )  [virtual, slot]
 

Definition at line 581 of file zsafe.cpp.

References editCategory(), QPEApplication::execDialog(), getFieldLabel(), isCategory(), modified, name, QString::replace(), selectedItem, tr, and TRUE.

Referenced by ListPressed(), and ZSafe().

void ZSafe::exitZs int  ec  ) 
 

Definition at line 293 of file zsafe.cpp.

Referenced by getDocPassword(), openDocument(), quitMe(), and ZSafe().

void ZSafe::findPwd  )  [virtual, slot]
 

Definition at line 697 of file zsafe.cpp.

References FALSE, i, QString::isEmpty(), lastSearchedCategory, lastSearchedComment, lastSearchedItem, lastSearchedName, lastSearchedUsername, ListView, name, NULL, selectedItem, tr, TRUE, u, and username.

Referenced by ZSafe().

void ZSafe::getDocPassword QString  title  ) 
 

Definition at line 2060 of file zsafe.cpp.

References exitZs(), filename, QString::findRev(), QString::length(), m_password, QString::right(), and setPasswordDialogDone().

Referenced by openDocument(), and saveDocument().

QString ZSafe::getFieldLabel QString  category,
QString  field,
QString  def
 

Definition at line 862 of file zsafe.cpp.

References conf, Config::readEntry(), and Config::setGroup().

QString ZSafe::getFieldLabel QListViewItem *  _item,
QString  field,
QString  def
 

Definition at line 834 of file zsafe.cpp.

References category(), conf, isCategory(), Config::readEntry(), and Config::setGroup().

Referenced by editPwd(), listViewSelected(), newPwd(), setCategoryDialogFields(), and showInfo().

QPixmap * ZSafe::getPredefinedIcon QString  category  ) 
 

Definition at line 3094 of file zsafe.cpp.

References bank_cards_data, general_data, passwords_data, and software_data.

Referenced by addCategory(), editCategory(), openDocument(), and readAllEntries().

bool ZSafe::isCategory QListViewItem *  _item  ) 
 

Definition at line 990 of file zsafe.cpp.

References categories, FALSE, CategoryList::find(), NULL, and TRUE.

Referenced by copyItem(), cutItem(), delCategory(), deletePwd(), editCategory(), editPwd(), getFieldLabel(), newPwd(), pasteItem(), and showInfo().

void ZSafe::ListPressed int  ,
QListViewItem *  ,
const QPoint &  ,
int 
[virtual, slot]
 

Definition at line 3167 of file zsafe.cpp.

References copyClip(), copyItem(), editPwd(), Opie::Core::OResource::loadPixmap(), pos, showInfo(), Opie::Core::OResource::SmallIcon, tr, Opie::MM::x, and Opie::MM::y.

Referenced by ZSafe().

void ZSafe::listViewSelected QListViewItem *  _item  )  [virtual, slot]
 

Definition at line 972 of file zsafe.cpp.

References FALSE, getFieldLabel(), ListView, NULL, selectedItem, and tr.

Referenced by ZSafe().

void ZSafe::loadDocument  )  [virtual, slot]
 

Definition at line 2966 of file zsafe.cpp.

References categories, CategoryList::clear(), conf, OFileSelector::EXTENDED_ALL, FALSE, filename, QString::findRev(), OFileDialog::getOpenFileName(), QDir::homeDirPath(), QMap< Key, T >::insert(), QString::isEmpty(), QString::length(), ListView, m_password, QString::null, openDocument(), QString::right(), saveConf(), saveDocument(), selectedItem, Config::setGroup(), tr, and Config::writeEntry().

Referenced by ZSafe().

int ZSafe::loadEntry char *  entry[4]  ) 
 

Referenced by loadInit(), and openDocument().

int ZSafe::loadFinalize void   ) 
 

Definition at line 1868 of file zsafe.cpp.

References PWERR_GOOD.

Referenced by openDocument().

int ZSafe::loadInit const char *  filename,
const char *  password
 

Definition at line 1759 of file zsafe.cpp.

References bufferIndex, f, fd, FIELD_SIZE, iv, lastcount, load_buffer_length, loadEntry(), plaintext, PWERR_DATA, PWERR_GOOD, PWERR_OPEN, Krc2::rc2_decrypt(), Krc2::rc2_expandkey(), size, and QFileInfo::size().

Referenced by openDocument().

void ZSafe::newDocument  )  [virtual, slot]
 

Definition at line 2905 of file zsafe.cpp.

References categories, CategoryList::clear(), conf, FALSE, filename, QString::findRev(), QString::isEmpty(), QString::length(), ListView, modified, QString::right(), saveConf(), saveDocument(), saveDocumentWithPwd(), selectedItem, Config::setGroup(), tr, Config::writeEntry(), and zsaveDialog().

Referenced by openDocument(), and ZSafe().

void ZSafe::newPwd  )  [virtual, slot]
 

Definition at line 637 of file zsafe.cpp.

References QPEApplication::execDialog(), getFieldLabel(), i, isCategory(), modified, name, qWarning(), QString::replace(), selectedItem, tr, and TRUE.

Referenced by ZSafe().

bool ZSafe::openDocument const char *  filename,
const char *  format = 0
 

Definition at line 1535 of file zsafe.cpp.

References categories, category(), conf, QFile::exists(), exitZs(), expandTree, f, fd, FIELD_SIZE, filename, CategoryList::find(), QString::fromUtf8(), Category::getCategoryName(), getDocPassword(), getPredefinedIcon(), iconPath, Category::initListItem(), CategoryList::insert(), QString::isEmpty(), QString::isNull(), ListView, loadEntry(), loadFinalize(), loadInit(), m_password, name, newDocument(), password, PWERR_GOOD, qWarning(), Config::readEntry(), Config::readNumEntry(), Category::setCategoryName(), Category::setIcon(), Category::setIconName(), Category::setListItem(), tr, warning(), and Config::writeEntry().

Referenced by loadDocument(), resume(), setDocument(), and slotLoadDocu().

void ZSafe::paintEvent QPaintEvent *  e  )  [protected]
 

Definition at line 3076 of file zsafe.cpp.

References infoForm, raiseFlag, and raiseTimer.

void ZSafe::pasteItem  )  [virtual, slot]
 

Definition at line 2857 of file zsafe.cpp.

References copiedItem, isCategory(), IsCopy, IsCut, modified, and selectedItem.

Referenced by ZSafe().

void ZSafe::quitMe  )  [virtual, slot]
 

Definition at line 2234 of file zsafe.cpp.

References exitZs(), FALSE, filename, modified, saveDocument(), and tr.

Referenced by ~ZSafe().

void ZSafe::readAllEntries  )  [virtual, slot]
 

Definition at line 1096 of file zsafe.cpp.

References buffer, categories, category(), conf, QTextStream::eof(), OFileSelector::EXTENDED_ALL, f, filename, CategoryList::find(), QString::fromUtf8(), Category::getCategoryName(), OFileDialog::getOpenFileName(), getPredefinedIcon(), QDir::homeDirPath(), i, iconPath, Category::initListItem(), CategoryList::insert(), QMap< Key, T >::insert(), IO_ReadOnly, QString::isEmpty(), QString::isNull(), QString::length(), ListView, modified, name, NULL, QString::null, QFile::open(), password, pix, Config::readEntry(), QTextStream::readLine(), QString::replace(), s, selectedItem, Category::setCategoryName(), Category::setIcon(), Category::setIconName(), Category::setListItem(), t, tr, TRUE, QString::truncate(), and QString::utf8().

Referenced by ZSafe().

void ZSafe::removeAsciiFile  )  [virtual, slot]
 

Definition at line 1002 of file zsafe.cpp.

References OFileSelector::EXTENDED_ALL, f, OFileDialog::getOpenFileName(), QDir::homeDirPath(), QMap< Key, T >::insert(), QString::length(), QString::null, QFile::remove(), and tr.

Referenced by ZSafe().

void ZSafe::resume int  signum  ) 
 

Definition at line 1497 of file zsafe.cpp.

References filename, infoForm, ListView, m_password, openDocument(), selectedItem, and showpwd.

void ZSafe::saveCategoryDialogFields CategoryDialog *  dialog  ) 
 

Definition at line 2595 of file zsafe.cpp.

References conf, saveConf(), Config::setGroup(), and Config::writeEntry().

Referenced by addCategory(), and editCategory().

void ZSafe::saveConf  ) 
 

Definition at line 303 of file zsafe.cpp.

References conf, and Config::setGroup().

Referenced by addCategory(), delCategory(), editCategory(), loadDocument(), newDocument(), saveCategoryDialogFields(), saveDocument(), saveDocumentAs(), setDocument(), setExpandFlag(), and ZSafe().

bool ZSafe::saveDocument const char *  filename,
bool  withPwd,
const char *  format = 0
 

Definition at line 1875 of file zsafe.cpp.

References conf, FALSE, filename, QString::findRev(), getDocPassword(), QString::isEmpty(), QString::length(), ListView, m_password, modified, oendl, owarn, PWERR_DATA, PWERR_GOOD, qWarning(), QString::right(), saveConf(), saveEntry(), saveFinalize(), saveInit(), Global::statusMessage(), tr, and Config::writeEntry().

Referenced by loadDocument(), newDocument(), quitMe(), saveDocumentAs(), saveDocumentWithoutPwd(), and saveDocumentWithPwd().

void ZSafe::saveDocumentAs  )  [virtual, slot]
 

Definition at line 3026 of file zsafe.cpp.

References conf, FALSE, filename, QString::findRev(), QString::isEmpty(), QString::length(), QString::right(), saveConf(), saveDocument(), saveDocumentWithPwd(), selectedItem, Config::setGroup(), tr, Config::writeEntry(), and zsaveDialog().

Referenced by ZSafe().

void ZSafe::saveDocumentWithoutPwd  )  [virtual, slot]
 

Definition at line 3054 of file zsafe.cpp.

References FALSE, filename, and saveDocument().

Referenced by ZSafe().

void ZSafe::saveDocumentWithPwd  )  [virtual, slot]
 

Definition at line 3059 of file zsafe.cpp.

References filename, and saveDocument().

Referenced by newDocument(), saveDocumentAs(), and ZSafe().

int ZSafe::saveEntry char *  entry[4]  ) 
 

Referenced by saveDocument().

int ZSafe::saveFinalize void   ) 
 

Definition at line 2202 of file zsafe.cpp.

References bufferIndex, iv, PWERR_DATA, PWERR_GOOD, and Krc2::rc2_encrypt().

Referenced by saveDocument().

int ZSafe::saveInit const char *  filename,
const char *  password
 

Definition at line 2093 of file zsafe.cpp.

References bufferIndex, f, iv, PWERR_GOOD, PWERR_OPEN, Krc2::rc2_expandkey(), save_buffer_length, and QFileInfo::size().

Referenced by saveDocument().

void ZSafe::setCategoryDialogFields CategoryDialog *  dialog,
QString  category
 

Definition at line 2542 of file zsafe.cpp.

References categories, conf, QPtrListIterator< type >::current(), d, QDir::entryInfoList(), QFileInfo::fileName(), QDir::Files, CategoryList::find(), getFieldLabel(), QString::isEmpty(), QString::isNull(), QString::length(), list, QString::mid(), QPEApplication::qpeDir(), Config::readEntry(), QString::right(), QDir::setFilter(), and tr.

void ZSafe::setCategoryDialogFields CategoryDialog *  dialog  ) 
 

Definition at line 2477 of file zsafe.cpp.

References categories, conf, QPtrListIterator< type >::current(), d, QDir::entryInfoList(), QFileInfo::fileName(), QDir::Files, CategoryList::find(), getFieldLabel(), Category::getIconName(), QString::isEmpty(), QString::isNull(), QString::length(), list, QString::mid(), QPEApplication::qpeDir(), Config::readEntry(), QString::right(), selectedItem, QDir::setFilter(), and tr.

Referenced by addCategory(), categoryFieldActivated(), and editCategory().

void ZSafe::setDocument const QString fileref  )  [private, slot]
 

Definition at line 3110 of file zsafe.cpp.

References categories, CategoryList::clear(), conf, docuTimer, AppLnk::file(), filename, QString::findRev(), AppLnk::isValid(), QString::length(), ListView, m_password, openDocument(), QString::right(), saveConf(), selectedItem, Config::setGroup(), tr, and Config::writeEntry().

void ZSafe::setExpandFlag  )  [virtual, slot]
 

Definition at line 3064 of file zsafe.cpp.

References conf, expandTree, saveConf(), Config::setGroup(), and Config::writeEntry().

Referenced by ZSafe().

void ZSafe::setPasswordDialogDone  )  [virtual, slot]
 

Definition at line 2054 of file zsafe.cpp.

Referenced by getDocPassword().

void ZSafe::showInfo QListViewItem *  _item  )  [virtual, slot]
 

Definition at line 876 of file zsafe.cpp.

References QString::compare(), FALSE, getFieldLabel(), infoForm, isCategory(), QString::isEmpty(), NULL, QString::replace(), selectedItem, QPEApplication::showDialog(), text, tr, and TRUE.

Referenced by ZListView::keyPressEvent(), ListPressed(), and ZSafe().

void ZSafe::slotLoadDocu  )  [private, slot]
 

Definition at line 548 of file zsafe.cpp.

References filename, and openDocument().

Referenced by ZSafe().

void ZSafe::slotRaiseTimer  )  [private, slot]
 

Definition at line 3087 of file zsafe.cpp.

References infoForm, and raiseFlag.

Referenced by ZSafe().

void ZSafe::writeAllEntries  )  [virtual, slot]
 

Definition at line 1028 of file zsafe.cpp.

References QFile::close(), Opie::Core::endl(), f, filename, i, IO_WriteOnly, QString::isEmpty(), QString::length(), ListView, NULL, QFile::open(), QString::replace(), t, tr, and zsaveDialog().

Referenced by ZSafe().

QString ZSafe::zsaveDialog  ) 
 

Definition at line 3208 of file zsafe.cpp.

References OFileSelector::EXTENDED_ALL, OFileDialog::getSaveFileName(), QDir::homeDirPath(), QMap< Key, T >::insert(), QString::null, and tr.

Referenced by newDocument(), saveDocumentAs(), and writeAllEntries().


Member Data Documentation

char* ZSafe::buffer
 

Definition at line 116 of file zsafe.h.

Referenced by readAllEntries().

int ZSafe::bufferIndex
 

these two are global because save_entry() and save_finalize() both n eed them

Definition at line 118 of file zsafe.h.

Referenced by loadInit(), saveFinalize(), and saveInit().

CategoryList ZSafe::categories
 

Definition at line 91 of file zsafe.h.

Referenced by addCategory(), delCategory(), editCategory(), isCategory(), loadDocument(), newDocument(), openDocument(), readAllEntries(), setCategoryDialogFields(), and setDocument().

CategoryDialog* ZSafe::categoryDialog
 

Definition at line 75 of file zsafe.h.

Referenced by addCategory(), categoryFieldActivated(), editCategory(), and ZSafe().

QString ZSafe::cfgFile
 

Definition at line 71 of file zsafe.h.

Referenced by addCategory(), editCategory(), and ZSafe().

Config* ZSafe::conf
 

Definition at line 126 of file zsafe.h.

Referenced by addCategory(), delCategory(), editCategory(), getFieldLabel(), loadDocument(), newDocument(), openDocument(), readAllEntries(), saveCategoryDialogFields(), saveConf(), saveDocument(), saveDocumentAs(), setCategoryDialogFields(), setDocument(), setExpandFlag(), and ZSafe().

QListViewItem* ZSafe::copiedItem
 

Definition at line 78 of file zsafe.h.

Referenced by copyItem(), cutItem(), and pasteItem().

QTimer ZSafe::docuTimer
 

Definition at line 131 of file zsafe.h.

Referenced by setDocument(), and ZSafe().

const QColor * ZSafe::evenRowColor = &Qt::white [static]
 

Definition at line 534 of file zsafe.cpp.

Referenced by ShadedListItem::paintCell().

bool ZSafe::expandTree
 

Definition at line 128 of file zsafe.h.

Referenced by openDocument(), setExpandFlag(), and ZSafe().

FILE* ZSafe::fd
 

these three are needed in all save functions and initialized in save _init()

Definition at line 114 of file zsafe.h.

Referenced by loadInit(), and openDocument().

QPopupMenu* ZSafe::file
 

Definition at line 129 of file zsafe.h.

QString ZSafe::filename
 

Definition at line 95 of file zsafe.h.

Referenced by addCategory(), getDocPassword(), loadDocument(), newDocument(), openDocument(), quitMe(), readAllEntries(), resume(), saveDocument(), saveDocumentAs(), saveDocumentWithoutPwd(), saveDocumentWithPwd(), setDocument(), slotLoadDocu(), writeAllEntries(), and ZSafe().

QString ZSafe::iconPath
 

Definition at line 72 of file zsafe.h.

Referenced by addCategory(), editCategory(), openDocument(), and readAllEntries().

InfoForm* ZSafe::infoForm
 

Definition at line 74 of file zsafe.h.

Referenced by paintEvent(), resume(), showInfo(), slotRaiseTimer(), and ZSafe().

bool ZSafe::IsCopy
 

Definition at line 79 of file zsafe.h.

Referenced by copyItem(), pasteItem(), and ZSafe().

bool ZSafe::IsCut
 

Definition at line 80 of file zsafe.h.

Referenced by cutItem(), pasteItem(), and ZSafe().

unsigned short ZSafe::iv[4]
 

Definition at line 115 of file zsafe.h.

Referenced by loadInit(), saveFinalize(), and saveInit().

int ZSafe::lastcount
 

globals needed for file loading

Definition at line 112 of file zsafe.h.

Referenced by loadInit().

QListViewItem* ZSafe::lastSearchedCategory
 

Definition at line 84 of file zsafe.h.

Referenced by findPwd(), and ZSafe().

QString ZSafe::lastSearchedComment
 

Definition at line 88 of file zsafe.h.

Referenced by findPwd(), and ZSafe().

QListViewItem* ZSafe::lastSearchedItem
 

Definition at line 85 of file zsafe.h.

Referenced by findPwd(), and ZSafe().

QString ZSafe::lastSearchedName
 

Definition at line 86 of file zsafe.h.

Referenced by findPwd(), and ZSafe().

QString ZSafe::lastSearchedUsername
 

Definition at line 87 of file zsafe.h.

Referenced by findPwd(), and ZSafe().

ZListView* ZSafe::ListView
 

Definition at line 69 of file zsafe.h.

Referenced by addCategory(), delCategory(), findPwd(), listViewSelected(), loadDocument(), newDocument(), openDocument(), readAllEntries(), resume(), saveDocument(), setDocument(), writeAllEntries(), and ZSafe().

long ZSafe::load_buffer_length
 

Definition at line 106 of file zsafe.h.

Referenced by loadInit().

QString ZSafe::m_password
 

password for the file

Definition at line 110 of file zsafe.h.

Referenced by getDocPassword(), loadDocument(), openDocument(), resume(), saveDocument(), and setDocument().

bool ZSafe::modified
 

Definition at line 81 of file zsafe.h.

Referenced by addCategory(), delCategory(), deletePwd(), editCategory(), editPwd(), newDocument(), newPwd(), pasteItem(), quitMe(), readAllEntries(), saveDocument(), and ZSafe().

const QColor * ZSafe::oddRowColor = new QColor(216,240,255) [static]
 

Definition at line 536 of file zsafe.cpp.

Referenced by ShadedListItem::paintCell().

unsigned short ZSafe::plaintext[4]
 

Definition at line 119 of file zsafe.h.

Referenced by loadInit().

bool ZSafe::raiseFlag [protected]
 

Definition at line 58 of file zsafe.h.

Referenced by paintEvent(), slotRaiseTimer(), and ZSafe().

QTimer ZSafe::raiseTimer [protected]
 

Definition at line 59 of file zsafe.h.

Referenced by paintEvent(), and ZSafe().

long ZSafe::save_buffer_length
 

Definition at line 107 of file zsafe.h.

Referenced by saveInit().

QListViewItem* ZSafe::selectedItem
 

Definition at line 77 of file zsafe.h.

Referenced by copyItem(), cutItem(), delCategory(), deletePwd(), editCategory(), editPwd(), findPwd(), ZListView::keyPressEvent(), listViewSelected(), loadDocument(), newDocument(), newPwd(), pasteItem(), readAllEntries(), resume(), saveDocumentAs(), setCategoryDialogFields(), setDocument(), showInfo(), and ZSafe().

bool ZSafe::showpwd
 

Definition at line 82 of file zsafe.h.

Referenced by resume(), and ZSafe().

int ZSafe::size
 

globals needed for file loading

Definition at line 112 of file zsafe.h.

Referenced by loadInit().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:56:13 2005 for OPIE by  doxygen 1.4.2