summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/ui/keylistview.h
diff options
context:
space:
mode:
Diffstat (limited to 'certmanager/lib/ui/keylistview.h')
-rw-r--r--certmanager/lib/ui/keylistview.h47
1 files changed, 24 insertions, 23 deletions
diff --git a/certmanager/lib/ui/keylistview.h b/certmanager/lib/ui/keylistview.h
index 986ed267e..6161bfe8d 100644
--- a/certmanager/lib/ui/keylistview.h
+++ b/certmanager/lib/ui/keylistview.h
@@ -20,11 +20,11 @@
In addition, as a special exception, the copyright holders give
permission to link the code of this program with any edition of
- the Qt library by Trolltech AS, Norway (or with modified versions
- of Qt that use the same license as Qt), and distribute linked
+ the TQt library by Trolltech AS, Norway (or with modified versions
+ of TQt that use the same license as TQt), and distribute linked
combinations including the two. You must obey the GNU General
Public License in all respects for all of the code used other than
- Qt. If you modify this file, you may extend this exception to
+ TQt. If you modify this file, you may extend this exception to
your version of the file, but you are not obligated to do so. If
you do not wish to do so, delete this exception statement from
your version.
@@ -64,10 +64,10 @@ namespace Kleo {
class KDE_EXPORT KeyListViewItem : public TQListViewItem {
public:
- KeyListViewItem( KeyListView * parent, const GpgME::Key & key );
- KeyListViewItem( KeyListView * parent, KeyListViewItem * after, const GpgME::Key & key );
- KeyListViewItem( KeyListViewItem * parent, const GpgME::Key & key );
- KeyListViewItem( KeyListViewItem * parent, KeyListViewItem * after, const GpgME::Key & key );
+ KeyListViewItem( KeyListView * tqparent, const GpgME::Key & key );
+ KeyListViewItem( KeyListView * tqparent, KeyListViewItem * after, const GpgME::Key & key );
+ KeyListViewItem( KeyListViewItem * tqparent, const GpgME::Key & key );
+ KeyListViewItem( KeyListViewItem * tqparent, KeyListViewItem * after, const GpgME::Key & key );
~KeyListViewItem();
void setKey( const GpgME::Key & key );
@@ -103,10 +103,10 @@ namespace Kleo {
class KDE_EXPORT SubkeyKeyListViewItem : public KeyListViewItem {
public:
- SubkeyKeyListViewItem( KeyListView * parent, const GpgME::Subkey & subkey );
- SubkeyKeyListViewItem( KeyListView * parent, KeyListViewItem * after, const GpgME::Subkey & subkey );
- SubkeyKeyListViewItem( KeyListViewItem * parent, const GpgME::Subkey & subkey );
- SubkeyKeyListViewItem( KeyListViewItem * parent, KeyListViewItem * after, const GpgME::Subkey & subkey );
+ SubkeyKeyListViewItem( KeyListView * tqparent, const GpgME::Subkey & subkey );
+ SubkeyKeyListViewItem( KeyListView * tqparent, KeyListViewItem * after, const GpgME::Subkey & subkey );
+ SubkeyKeyListViewItem( KeyListViewItem * tqparent, const GpgME::Subkey & subkey );
+ SubkeyKeyListViewItem( KeyListViewItem * tqparent, KeyListViewItem * after, const GpgME::Subkey & subkey );
void setSubkey( const GpgME::Subkey & subkey );
const GpgME::Subkey & subkey() const { return mSubkey; }
@@ -135,10 +135,10 @@ namespace Kleo {
class KDE_EXPORT UserIDKeyListViewItem : public KeyListViewItem {
public:
- UserIDKeyListViewItem( KeyListView * parent, const GpgME::UserID & userid );
- UserIDKeyListViewItem( KeyListView * parent, KeyListViewItem * after, const GpgME::UserID & userid );
- UserIDKeyListViewItem( KeyListViewItem * parent, const GpgME::UserID & userid );
- UserIDKeyListViewItem( KeyListViewItem * parent, KeyListViewItem * after, const GpgME::UserID & userid );
+ UserIDKeyListViewItem( KeyListView * tqparent, const GpgME::UserID & userid );
+ UserIDKeyListViewItem( KeyListView * tqparent, KeyListViewItem * after, const GpgME::UserID & userid );
+ UserIDKeyListViewItem( KeyListViewItem * tqparent, const GpgME::UserID & userid );
+ UserIDKeyListViewItem( KeyListViewItem * tqparent, KeyListViewItem * after, const GpgME::UserID & userid );
void setUserID( const GpgME::UserID & userid );
const GpgME::UserID userID() const { return mUserID; }
@@ -167,10 +167,10 @@ namespace Kleo {
class KDE_EXPORT SignatureKeyListViewItem : public KeyListViewItem {
public:
- SignatureKeyListViewItem( KeyListView * parent, const GpgME::UserID::Signature & sig );
- SignatureKeyListViewItem( KeyListView * parent, KeyListViewItem * after, const GpgME::UserID::Signature & sig );
- SignatureKeyListViewItem( KeyListViewItem * parent, const GpgME::UserID::Signature & sig );
- SignatureKeyListViewItem( KeyListViewItem * parent, KeyListViewItem * after, const GpgME::UserID::Signature & sig );
+ SignatureKeyListViewItem( KeyListView * tqparent, const GpgME::UserID::Signature & sig );
+ SignatureKeyListViewItem( KeyListView * tqparent, KeyListViewItem * after, const GpgME::UserID::Signature & sig );
+ SignatureKeyListViewItem( KeyListViewItem * tqparent, const GpgME::UserID::Signature & sig );
+ SignatureKeyListViewItem( KeyListViewItem * tqparent, KeyListViewItem * after, const GpgME::UserID::Signature & sig );
void setSignature( const GpgME::UserID::Signature & sig );
const GpgME::UserID::Signature & signature() const { return mSignature; }
@@ -200,6 +200,7 @@ namespace Kleo {
class KDE_EXPORT KeyListView : public KListView {
Q_OBJECT
+ TQ_OBJECT
friend class KeyListViewItem;
public:
@@ -215,17 +216,17 @@ namespace Kleo {
virtual const TQPixmap * pixmap( const GpgME::Key &, int ) const { return 0; }
virtual int compare( const GpgME::Key & key1, const GpgME::Key & key2, const int column ) const;
- virtual TQString subkeyText( const GpgME::Subkey &, int ) const { return TQString::null; }
+ virtual TQString subkeyText( const GpgME::Subkey &, int ) const { return TQString(); }
virtual TQString subkeyToolTip( const GpgME::Subkey & subkey, int column ) const;
virtual const TQPixmap * subkeyPixmap( const GpgME::Subkey &, int ) const { return 0; }
virtual int subkeyCompare( const GpgME::Subkey & subkey1, const GpgME::Subkey & subkey2, const int column ) const;
- virtual TQString userIDText( const GpgME::UserID &, int ) const { return TQString::null; }
+ virtual TQString userIDText( const GpgME::UserID &, int ) const { return TQString(); }
virtual TQString userIDToolTip( const GpgME::UserID & userID, int column ) const;
virtual const TQPixmap * userIDPixmap( const GpgME::UserID &, int ) const { return 0; }
virtual int userIDCompare( const GpgME::UserID & userID1, const GpgME::UserID & userID2, const int column ) const;
- virtual TQString signatureText( const GpgME::UserID::Signature &, int ) const { return TQString::null; }
+ virtual TQString signatureText( const GpgME::UserID::Signature &, int ) const { return TQString(); }
virtual TQString signatureToolTip( const GpgME::UserID::Signature & sig, int column ) const;
virtual const TQPixmap * signaturePixmap( const GpgME::UserID::Signature &, int ) const { return 0; }
virtual int signatureCompare( const GpgME::UserID::Signature & sig1, const GpgME::UserID::Signature & sig2, const int column ) const;
@@ -253,7 +254,7 @@ namespace Kleo {
KeyListView( const ColumnStrategy * strategy,
const DisplayStrategy * display=0,
- TQWidget * parent=0, const char * name=0, WFlags f=0 );
+ TQWidget * tqparent=0, const char * name=0, WFlags f=0 );
~KeyListView();