root/trunk/qt4-gui/src/dialogs/phonedlg.h

Revision 5837, 1.5 kB (checked in by eugene, 12 months ago)

P.S. Happy recompiling ;-)

  • Property svn:eol-style set to native
Line 
1/*
2 * This file is part of Licq, an instant messaging client for UNIX.
3 * Copyright (C) 2004-2006 Licq developers
4 *
5 * Licq is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * Licq 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 Licq; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18 */
19
20#ifndef PHONEDLG_H
21#define PHONEDLG_H
22
23#include <QDialog>
24
25#include "licq_user.h"
26
27class QCheckBox;
28class QComboBox;
29class QLineEdit;
30
31struct PhoneBookEntry;
32
33namespace LicqQtGui
34{
35class EditPhoneDlg : public QDialog
36{
37  Q_OBJECT
38
39public:
40  EditPhoneDlg(QWidget* parent, const struct PhoneBookEntry* pbe = 0,
41      int nEntry = -1);
42
43signals:
44  void updated(struct PhoneBookEntry, int);
45
46private:
47  QCheckBox* cbRemove0s;
48  QComboBox* cmbType;
49  QComboBox* cmbDescription;
50  QComboBox* cmbCountry;
51  QComboBox* cmbProvider;
52  QLineEdit* leAreaCode;
53  QLineEdit* leNumber;
54  QLineEdit* leExtension;
55  QLineEdit* leGateway;
56  int m_nEntry;
57
58private slots:
59  void ok();
60  void UpdateDlg(int);
61  void ProviderChanged(int);
62};
63
64} // namespace LicqQtGui
65
66#endif
Note: See TracBrowser for help on using the browser.