summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/ui/keyselectiondialog.h
diff options
context:
space:
mode:
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 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<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;
};