diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-23 01:42:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-23 01:42:07 +0000 |
commit | a2277b6bc715464e83882b90c2a058139b8a6b54 (patch) | |
tree | ab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /kgpg/listkeys.h | |
parent | d3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff) | |
download | tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip |
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kgpg/listkeys.h')
-rw-r--r-- | kgpg/listkeys.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/kgpg/listkeys.h b/kgpg/listkeys.h index fc3c038..69e64e4 100644 --- a/kgpg/listkeys.h +++ b/kgpg/listkeys.h @@ -38,7 +38,7 @@ class TQPushButton; class TQPopupMenu; class TQLabel; -class QCheckbox; +class TQCheckbox; class KStatusBar; class KPassivePopup; class KProcess; @@ -68,9 +68,10 @@ struct gpgKey class KgpgSelKey : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - KgpgSelKey( TQWidget *parent = 0, const char *name = 0,bool allowMultipleSelection=false, TQString preselected=TQString::null); + KgpgSelKey( TQWidget *tqparent = 0, const char *name = 0,bool allowMultipleSelection=false, TQString preselected=TQString()); KListView *keysListpr; TQPixmap keyPair; TQCheckBox *local; @@ -91,9 +92,10 @@ public slots: class KeyView : public KListView { Q_OBJECT + TQ_OBJECT friend class listKeys; public: - KeyView( TQWidget *parent = 0, const char *name = 0); + KeyView( TQWidget *tqparent = 0, const char *name = 0); bool displayPhoto,displayOnlySecret,displayDisabled; int previewSize; TQString secretList; @@ -142,14 +144,15 @@ protected: class mySearchLine: public KListViewSearchLine { Q_OBJECT + TQ_OBJECT public: - mySearchLine(TQWidget *parent = 0, KeyView *listView = 0, const char *name = 0); + mySearchLine(TQWidget *tqparent = 0, KeyView *listView = 0, const char *name = 0); virtual ~mySearchLine(); private: KeyView *searchListView; public slots: -virtual void updateSearch(const TQString &s = TQString::null); +virtual void updateSearch(const TQString &s = TQString()); protected: virtual bool itemMatches(const TQListViewItem *item, const TQString & s) const; }; @@ -159,9 +162,10 @@ class listKeys : public KMainWindow, virtual public KeyInterface { friend class KeyView; Q_OBJECT + TQ_OBJECT public: - listKeys(TQWidget *parent=0, const char *name=0); + listKeys(TQWidget *tqparent=0, const char *name=0); ~listKeys(); TQLabel *keyPhoto; KeyView *keysList2; @@ -192,7 +196,7 @@ private: groupEdit *gEdit; KgpgInterface *revKeyProcess; KDialogBase *addUidWidget; - QClipboard::Mode clipboardMode; + TQClipboard::Mode clipboardMode; TQTimer *statusbarTimer; |