summaryrefslogtreecommitdiff
authoralwin <alwin>2004-02-17 23:47:39 (UTC)
committer alwin <alwin>2004-02-17 23:47:39 (UTC)
commit0c5ed2b6ef3c8b3321e6fd1889a09e402b7fc2e8 (patch) (side-by-side diff)
treed6cfdc2be603da8b6a4b87a3ba6b57952bbf1333
parente4f501b5e7006c54f1447c830eaeee6a0f26cc1a (diff)
downloadopie-0c5ed2b6ef3c8b3321e6fd1889a09e402b7fc2e8.zip
opie-0c5ed2b6ef3c8b3321e6fd1889a09e402b7fc2e8.tar.gz
opie-0c5ed2b6ef3c8b3321e6fd1889a09e402b7fc2e8.tar.bz2
removed stdc++ dependies
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/zsafe/zsafe.h3
-rw-r--r--noncore/apps/zsafe/zsafe.pro2
2 files changed, 1 insertions, 4 deletions
diff --git a/noncore/apps/zsafe/zsafe.h b/noncore/apps/zsafe/zsafe.h
index b5019a9..eef5cdc 100644
--- a/noncore/apps/zsafe/zsafe.h
+++ b/noncore/apps/zsafe/zsafe.h
@@ -1,115 +1,112 @@
/****************************************************************************
** Form interface generated from reading ui file 'zsafe.ui'
**
** Created: Sat Apr 6 17:57:42 2002
**
** Author: Carsten Schneider <CarstenSchneider@t-online.de>
**
** $Id$
**
** Homepage: http://home.t-online.de/home/CarstenSchneider/zsafe/index.html
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef ZSAFE_H
#define ZSAFE_H
-#ifndef WIN32
-#include <stream.h>
-#endif
#include <stdio.h>
#include "infoform.h"
#include "categorylist.h"
#include "shadedlistitem.h"
#include <qvariant.h>
#include <qdialog.h>
#include <qwidgetstack.h>
#include <qtimer.h>
class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class ZListView;
class QListViewItem;
class QToolButton;
class QTextBrowser;
class QPopupMenu;
#ifdef DESKTOP
// #ifndef WIN32
class QSettings;
// #endif
#else
class Config;
#endif
class CategoryDialog;
class QPixmap;
// number of fields for one entry
#define FIELD_SIZE 7
class ZSafe : public QDialog
{
Q_OBJECT
protected:
void paintEvent( QPaintEvent * e );
void resizeEvent ( QResizeEvent * );
bool raiseFlag;
QTimer raiseTimer;
public:
ZSafe( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = WDestructiveClose );
~ZSafe();
static const QColor *evenRowColor;
static const QColor *oddRowColor;
QToolButton* Edit;
QToolButton* Delete;
QToolButton* Find;
QToolButton* New;
ZListView* ListView;
QString cfgFile;
QString iconPath;
InfoForm *infoForm;
CategoryDialog *categoryDialog;
QListViewItem *selectedItem; // current selected item
QListViewItem *copiedItem; // copied item
bool IsCopy;
bool IsCut;
bool modified; // true if database is modified
QListViewItem *lastSearchedCategory;
QListViewItem *lastSearchedItem;
QString lastSearchedName;
QString lastSearchedUsername;
QString lastSearchedComment;
CategoryList categories; // list of categories
bool isCategory(QListViewItem *_item);
void getDocPassword(QString title);
QString filename;
enum {
PWERR_GOOD, // success
PWERR_OPEN, // can't open filedescriptor / can't create file
PWERR_PERM, // permissions are bad
PWERR_SYML, // is a symlink
PWERR_STAT, // can't get file status
PWERR_DATA // can't read correct data
};
long load_buffer_length;
long save_buffer_length;
/** password for the file */
QString m_password;
/** globals needed for file loading */
diff --git a/noncore/apps/zsafe/zsafe.pro b/noncore/apps/zsafe/zsafe.pro
index a1f9e9f..65bcb79 100644
--- a/noncore/apps/zsafe/zsafe.pro
+++ b/noncore/apps/zsafe/zsafe.pro
@@ -1,17 +1,17 @@
TEMPLATE = app
CONFIG = qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = zsafe.h krc2.h category.h categorylist.h zlistview.h \
scqtfiledlg.h
SOURCES = main.cpp zsafe.cpp krc2.cpp category.cpp \
categorylist.cpp zlistview.cpp shadedlistitem.cpp\
scqtfileedit.cpp scqtfileedit.moc.cpp \
scqtfiledlg.cpp
INTERFACES = newdialog.ui searchdialog.ui passworddialog.ui categorydialog.ui infoform.ui wait.ui
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
-LIBS += -Wl,-rpath,$(OPIEDIR)/lib -L$(OPIEDIR)/lib -lqpe -lopie -lstdc++
+LIBS += -Wl,-rpath,$(OPIEDIR)/lib -L$(OPIEDIR)/lib -lqpe -lopie
TARGET = zsafe
include ( $(OPIEDIR)/include.pro )