summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/ui/keyselectiondialog.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /certmanager/lib/ui/keyselectiondialog.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'certmanager/lib/ui/keyselectiondialog.h')
-rw-r--r--certmanager/lib/ui/keyselectiondialog.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/certmanager/lib/ui/keyselectiondialog.h b/certmanager/lib/ui/keyselectiondialog.h
index f274398b1..efb87d5e6 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<GpgME::Key> & selectedKeys=std::vector<GpgME::Key>(),
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<GpgME::Key> & 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<GpgME::Key> &, 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<GpgME::Key> 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;
};