21 #ifndef LDAPSEARCHDIALOG_H 22 #define LDAPSEARCHDIALOG_H 24 #include <tqptrlist.h> 26 #include <ldapclient.h> 27 #include <kdialogbase.h> 28 #include <klineedit.h> 38 class LDAPSearchDialog : public KDialogBase 44 LDAPSearchDialog( TQWidget* parent, const char* name = 0 ); 47 bool isOK() const { return mIsOK; } 49 void restoreSettings(); 51 void setSearchText( const TQString &text ) { mSearchEdit->setText( text ); } 52 TQString selectedEMails() const; 54 void addresseesAdded(); 58 void slotSetScope( bool rec ); 59 void slotStartSearch(); 60 void slotStopSearch(); 61 void slotSearchDone(); 62 void slotError( const TQString& ); 63 virtual void slotHelp(); 64 virtual void slotUser1(); 65 virtual void slotUser2(); 66 virtual void slotUser3(); 70 virtual void closeEvent( TQCloseEvent* ); 75 TQString makeFilter( const TQString& query, const TQString& attr, bool startsWith ); 80 TQPtrList<KPIM::LdapClient> mLdapClientList; 82 KComboBox* mFilterCombo; 83 KComboBox* mSearchType; 84 KLineEdit* mSearchEdit; 86 TQCheckBox* mRecursiveCheckbox; 87 TQListView* mResultListView; 88 TQPushButton* mSearchButton;
TDEPIM classes for drag and drop of mails.
|