From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- certmanager/lib/ui/keyselectiondialog.h | 48 ++++++++++++++++----------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'certmanager/lib/ui/keyselectiondialog.h') diff --git a/certmanager/lib/ui/keyselectiondialog.h b/certmanager/lib/ui/keyselectiondialog.h index f274398b..efb87d5e 100644 --- a/certmanager/lib/ui/keyselectiondialog.h +++ b/certmanager/lib/ui/keyselectiondialog.h @@ -83,21 +83,21 @@ namespace Kleo { ValidTrustedEncryptionKeys = AllKeys | EncryptionKeys | ValidKeys | TrustedKeys }; - KeySelectionDialog( const QString & title, - const QString & text, + KeySelectionDialog( const TQString & title, + const TQString & text, const std::vector & selectedKeys=std::vector(), unsigned int keyUsage=AllKeys, bool extendedSelection=false, bool rememberChoice=false, - QWidget * parent=0, const char * name=0, + TQWidget * parent=0, const char * name=0, bool modal=true ); - KeySelectionDialog( const QString & title, - const QString & text, - const QString & initialPattern, + KeySelectionDialog( const TQString & title, + const TQString & text, + const TQString & initialPattern, unsigned int keyUsage=AllKeys, bool extendedSelection=false, bool rememberChoice=false, - QWidget * parent=0, const char * name=0, + TQWidget * parent=0, const char * name=0, bool modal=true ); ~KeySelectionDialog(); @@ -105,18 +105,18 @@ namespace Kleo { Otherwise it returns a null key. */ const GpgME::Key & selectedKey() const; - QString fingerprint() const; + TQString fingerprint() const; /** Returns a list of selected key IDs. */ const std::vector & selectedKeys() const { return mSelectedKeys; } /// Return all the selected fingerprints - QStringList fingerprints() const; + TQStringList fingerprints() const; /// Return the selected openpgp fingerprints - QStringList pgpKeyFingerprints() const; + TQStringList pgpKeyFingerprints() const; /// Return the selected smime fingerprints - QStringList smimeFingerprints() const; + TQStringList smimeFingerprints() const; bool rememberSelection() const; protected slots: @@ -125,7 +125,7 @@ namespace Kleo { void slotHelp(); // Could be used by derived classes to insert their own widget - QVBoxLayout* topLayout() const { return mTopLayout; } + TQVBoxLayout* topLayout() const { return mTopLayout; } private slots: void slotRereadKeys(); @@ -134,21 +134,21 @@ namespace Kleo { void slotSelectionChanged(); void slotCheckSelection() { slotCheckSelection( 0 ); } void slotCheckSelection( Kleo::KeyListViewItem * ); - void slotRMB( Kleo::KeyListViewItem *, const QPoint & ); + void slotRMB( Kleo::KeyListViewItem *, const TQPoint & ); void slotRecheckKey(); void slotTryOk(); void slotOk(); void slotCancel(); - void slotSearch( const QString & text ); + void slotSearch( const TQString & text ); void slotSearch(); void slotFilter(); private: - void filterByKeyID( const QString & keyID ); - void filterByKeyIDOrUID( const QString & keyID ); - void filterByUID( const QString & uid ); + void filterByKeyID( const TQString & keyID ); + void filterByKeyIDOrUID( const TQString & keyID ); + void filterByUID( const TQString & uid ); void showAllItems(); - bool anyChildMatches( const Kleo::KeyListViewItem * item, QRegExp & rx ) const; + bool anyChildMatches( const Kleo::KeyListViewItem * item, TQRegExp & rx ) const; void connectSignals(); void disconnectSignals(); @@ -156,20 +156,20 @@ namespace Kleo { void startKeyListJobForBackend( const Kleo::CryptoBackend::Protocol *, const std::vector &, bool ); void startValidatingKeyListing(); - void init( bool, bool, const QString &, const QString & ); + void init( bool, bool, const TQString &, const TQString & ); private: - QVBoxLayout* mTopLayout; + TQVBoxLayout* mTopLayout; Kleo::KeyListView * mKeyListView; const Kleo::CryptoBackend::Protocol * mOpenPGPBackend; const Kleo::CryptoBackend::Protocol * mSMIMEBackend; - QCheckBox * mRememberCB; + TQCheckBox * mRememberCB; std::vector mSelectedKeys, mKeysToCheck; unsigned int mKeyUsage; - QTimer * mCheckSelectionTimer; - QTimer * mStartSearchTimer; + TQTimer * mCheckSelectionTimer; + TQTimer * mStartSearchTimer; // cross-eventloop temporaries: - QString mSearchText; + TQString mSearchText; Kleo::KeyListViewItem * mCurrentContextMenuItem; int mTruncated, mListJobCount, mSavedOffsetY; }; -- cgit v1.2.3