~ubuntu-branches/ubuntu/jaunty/psi/jaunty

« back to all changes in this revision

Viewing changes to src/browserdlg.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2005-01-10 17:41:43 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050110174143-ltocv5zapl6blf5d
Tags: 0.9.3-1
* New upstream release
* Cleaned up debian/rules (some things are done by upstream Makefiles now)
* Fixed some lintian warnings:
  - removed executable bit from some .png files
  - moved psi.desktop to /usr/share/applications
* Updated menu files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * browserdlg.h - main dialog for iq:browse protocol
 
3
 * Copyright (C) 2003  Michail Pishchagin
 
4
 *
 
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.
 
9
 *
 
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.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this library; if not, write to the Free Software
 
17
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
18
 *
 
19
 */
 
20
 
 
21
#ifndef BROWSERDLG_H
 
22
#define BROWSERDLG_H
 
23
 
 
24
#include "ui_browser.h"
 
25
 
 
26
#include"xmpp.h"
 
27
using namespace XMPP;
 
28
 
 
29
class QAction;
 
30
class QToolBar;
 
31
 
 
32
class PsiAccount;
 
33
class BusyWidget;
 
34
 
 
35
class BrowserItem;
 
36
 
 
37
class BrowserDlg : public BrowserUI
 
38
{
 
39
        Q_OBJECT
 
40
 
 
41
public:
 
42
        BrowserDlg(const Jid &, PsiAccount *);
 
43
        ~BrowserDlg();
 
44
 
 
45
public slots:
 
46
        void doBrowse(const QString &host = "");
 
47
 
 
48
signals:
 
49
        void signalRegister(const Jid &);
 
50
        void signalSearch(const Jid &);
 
51
        void signalJoin(const Jid &);
 
52
 
 
53
private slots:
 
54
        void itemSelected (QListViewItem *);
 
55
        void itemDoubleclicked (QListViewItem *);
 
56
 
 
57
public:
 
58
        class Private;
 
59
private:
 
60
        friend class Private;
 
61
        friend class BrowserItem;
 
62
        Private *d;
 
63
};
 
64
 
 
65
#endif