mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-18 05:44:14 -05:00
![thunder2](/assets/img/avatar_default.png)
Added friend selection to the group dialog for better assigning of friends to groups. Updated english translation. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5881 b45a01b8-16f6-495d-af2f-9b41ad6348cc
51 lines
1.4 KiB
C++
51 lines
1.4 KiB
C++
/****************************************************************
|
|
* RetroShare is distributed under the following license:
|
|
*
|
|
* Copyright (C) 2006 - 2010 RetroShare Team
|
|
*
|
|
* 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 _CREATEGROUP_H
|
|
#define _CREATEGROUP_H
|
|
|
|
#include "ui_CreateGroup.h"
|
|
|
|
class CreateGroup : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
/** Default constructor */
|
|
CreateGroup(const std::string &groupId, QWidget *parent = 0);
|
|
/** Default destructor */
|
|
~CreateGroup();
|
|
|
|
private slots:
|
|
void changeGroup();
|
|
void groupNameChanged(QString);
|
|
|
|
private:
|
|
std::string mGroupId;
|
|
QStringList mUsedGroupNames;
|
|
bool mIsStandard;
|
|
|
|
/** Qt Designer generated object */
|
|
Ui::CreateGroup ui;
|
|
};
|
|
|
|
#endif
|