|
Revision 6430, 1.6 kB
(checked in by flynd, 5 months ago)
|
|
Redefined UserStringList? to use std::string instead of char* so we don't have to keep track of freeing the strings when we're done.
|
-
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) 2000-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 MMSENDDLG_H |
|---|
| 21 | #define MMSENDDLG_H |
|---|
| 22 | |
|---|
| 23 | #include "config.h" |
|---|
| 24 | |
|---|
| 25 | #include <QDialog> |
|---|
| 26 | #include <QString> |
|---|
| 27 | |
|---|
| 28 | #include <licq_icqd.h> |
|---|
| 29 | |
|---|
| 30 | class QGroupBox; |
|---|
| 31 | class QProgressBar; |
|---|
| 32 | class QPushButton; |
|---|
| 33 | |
|---|
| 34 | class ICQEvent; |
|---|
| 35 | |
|---|
| 36 | namespace LicqQtGui |
|---|
| 37 | { |
|---|
| 38 | class MMUserView; |
|---|
| 39 | |
|---|
| 40 | class MMSendDlg : public QDialog |
|---|
| 41 | { |
|---|
| 42 | Q_OBJECT |
|---|
| 43 | public: |
|---|
| 44 | MMSendDlg(MMUserView* _mmv, QWidget* parent = 0); |
|---|
| 45 | ~MMSendDlg(); |
|---|
| 46 | |
|---|
| 47 | int go_message(QString); |
|---|
| 48 | int go_url(QString, QString); |
|---|
| 49 | int go_contact(StringList& users); |
|---|
| 50 | |
|---|
| 51 | private: |
|---|
| 52 | QString s1, s2; |
|---|
| 53 | StringList* myUsers; |
|---|
| 54 | |
|---|
| 55 | unsigned long m_nEventType; |
|---|
| 56 | QGroupBox* grpSending; |
|---|
| 57 | QPushButton* btnCancel; |
|---|
| 58 | QProgressBar* barSend; |
|---|
| 59 | QString myId; |
|---|
| 60 | MMUserView* mmv; |
|---|
| 61 | unsigned long m_nPPID; |
|---|
| 62 | unsigned long icqEventTag; |
|---|
| 63 | |
|---|
| 64 | void SendNext(); |
|---|
| 65 | private slots: |
|---|
| 66 | void slot_done(ICQEvent*); |
|---|
| 67 | void slot_cancel(); |
|---|
| 68 | }; |
|---|
| 69 | |
|---|
| 70 | } // namespace LicqQtGui |
|---|
| 71 | |
|---|
| 72 | #endif |
|---|