1
/****************************************************************************
2
** searchdlg.h - a dialog for searching for Jabber contacts
3
** Copyright (C) 2001, 2002 Justin Karneges
5
** This program is free software; you can redistribute it and/or
6
** modify it under the terms of the GNU General Public License
7
** as published by the Free Software Foundation; either version 2
8
** of the License, or (at your option) any later version.
10
** This program is distributed in the hope that it will be useful,
11
** but WITHOUT ANY WARRANTY; without even the implied warranty of
12
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
** GNU General Public License for more details.
15
** You should have received a copy of the GNU General Public License
16
** along with this program; if not, write to the Free Software
17
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
19
****************************************************************************/
30
#include"uniquewindow.h"
32
#include"busywidget.h"
35
class SearchDlg : public SearchUI, public UniqueWindow
39
SearchDlg(const QString &jid, const JabForm &, int localStatus, QWidget *parent=0, const char *name=0);
42
static SearchDlg *find(const QString &);
45
void closeEvent(QCloseEvent *);
48
void signalSubmitForm(const JabForm &, QString *id);
49
void signalCancelTransaction(const QString &);
50
void aInfo(const QString &);
51
void aAdd(const QString &, const QString &, const QString &);
55
void putSearchFormResponse(JabRoster *);
56
void localUpdate(const JabRosterEntry &);
60
void selectionChanged();
65
void addEntry(const QString &jid, const QString &nick, const QString &first, const QString &last, const QString &email);
76
QPtrList<QLabel> lb_field;
77
QPtrList<QLineEdit> le_field;