54 AddressLineEdit(TQWidget* parent,
bool useCompletion =
true,
55 const char *name = 0L);
56 virtual ~AddressLineEdit();
62 virtual void setFont(
const TQFont& );
82 void addAddress(
const TQString& );
83 virtual void keyPressEvent(TQKeyEvent*);
84 virtual void dropEvent(TQDropEvent *e);
86 virtual void insert(
const TQString &t);
87 virtual void mouseReleaseEvent( TQMouseEvent * e );
88 void doCompletion(
bool ctrlT);
91 void slotCompletion() { doCompletion(
false); }
92 void slotPopupCompletion(
const TQString& );
93 void slotStartLDAPLookup();
94 void slotLDAPSearchData(
const TQStringList& );
98 void startLoadingLDAPEntries();
99 void stopLDAPLookup();
100 TQStringList addresses();
101 TQStringList removeMailDupes(
const TQStringList& adrs );
103 TQString m_previousAddresses;
104 bool m_useCompletion;
105 bool m_completionInitialized;
107 TQString m_typedText;
109 static bool s_addressesDirty;
111 static TQTimer *s_LDAPTimer;
113 static TQString *s_LDAPText;
114 static AddressLineEdit *s_LDAPLineEdit;
118 class AddressLineEditPrivate* d;