2010-06-04 18:52:54 -04:00
|
|
|
/****************************************************************
|
|
|
|
* RetroShare is distributed under the following license:
|
|
|
|
*
|
|
|
|
* Copyright (C) 2010 Christopher Evi-Parker
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
|
|
|
****************************************************************/
|
|
|
|
|
|
|
|
#ifndef _EDITCHANDETAILS_H
|
|
|
|
#define _EDITCHANDETAILS_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
#include "ui_EditChanDetails.h"
|
|
|
|
|
|
|
|
class EditChanDetails : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
2012-08-27 17:48:00 -04:00
|
|
|
public:
|
2010-09-14 09:00:32 -04:00
|
|
|
/** Default constructor */
|
2012-11-06 18:26:47 -05:00
|
|
|
EditChanDetails(QWidget *parent = 0, std::string cId = 0);
|
2012-08-27 17:48:00 -04:00
|
|
|
|
2010-06-04 18:52:54 -04:00
|
|
|
signals:
|
2012-08-27 17:48:00 -04:00
|
|
|
void configChanged();
|
2010-06-04 18:52:54 -04:00
|
|
|
|
|
|
|
private slots:
|
|
|
|
void applyDialog();
|
2010-09-14 09:00:32 -04:00
|
|
|
void addChannelLogo();
|
2010-06-04 18:52:54 -04:00
|
|
|
|
2012-08-27 17:48:00 -04:00
|
|
|
private:
|
2010-09-14 09:00:32 -04:00
|
|
|
void loadChannel();
|
2010-06-04 18:52:54 -04:00
|
|
|
|
2010-09-14 09:00:32 -04:00
|
|
|
std::string mChannelId;
|
|
|
|
QPixmap picture;
|
2012-08-27 17:48:00 -04:00
|
|
|
|
2010-09-14 09:00:32 -04:00
|
|
|
/** Qt Designer generated object */
|
|
|
|
Ui::EditChanDetails ui;
|
2010-06-04 18:52:54 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|