From 2fd3f09238a624b1a91793d43b5f3653e2b34763 Mon Sep 17 00:00:00 2001 From: ulf69 Date: Mon, 18 Oct 2004 02:55:13 +0000 Subject: *** empty log message *** --- (limited to 'pwmanager/pwmanager/pwmview.h') diff --git a/pwmanager/pwmanager/pwmview.h b/pwmanager/pwmanager/pwmview.h index 75cce51..e42b17a 100644 --- a/pwmanager/pwmanager/pwmview.h +++ b/pwmanager/pwmanager/pwmview.h @@ -41,6 +41,7 @@ #include #include #include +#include #include #include @@ -149,6 +150,30 @@ private: }; +//US ENH basic widget to view an password entry. We need it for the sync stuff. +//But might be oif interest for other functionalities as well. +class PwMDataItemView : public QTextBrowser +{ + public: + PwMDataItemView( QWidget *parent = 0, const char *name = 0 ); + + /** + Sets the PwMDataItem object. It is displayed immediately. + + @param a The PwMDataItem object. + */ + void setPwMDataItem( const PwMDataItem& a ); + + /** + Returns the current PwMDataItem object. + */ + PwMDataItem pwmdataitem() const; + + private: + PwMDataItem mItem; +}; + + //US ENH we need this chooser when syncing results in a conflict class PwMDataItemChooser : public KDialogBase { -- cgit v0.9.0.2