Files
pokerth/src/gui/qt/settingsdialog/selectavatardialog/selectavatardialogimpl.h
T

62 lines
2.1 KiB
C++
Raw Normal View History

2007-05-23 19:42:20 +00:00
/***************************************************************************
* Copyright (C) 2006 by FThauer FHammer *
* f.thauer@web.de *
* *
* 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., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef SELECTAVATARDIALOGIMPL_H
#define SELECTAVATARDIALOGIMPL_H
#include "ui_selectavatardialog.h"
#include <QtCore>
#include <QtGui>
class ConfigFile;
2007-05-24 20:32:09 +00:00
class selectAvatarDialogImpl;
2007-05-23 19:42:20 +00:00
class selectAvatarDialogImpl: public QDialog, public Ui::selectAvatarDialog {
Q_OBJECT
public:
selectAvatarDialogImpl(QWidget *parent = 0, ConfigFile *c = 0);
void exec();
2007-05-24 20:32:09 +00:00
2007-05-23 19:42:20 +00:00
public slots:
2007-05-25 11:22:51 +00:00
void toggleGroupBox1(bool);
void toggleGroupBox2(bool);
2007-06-03 21:27:02 +00:00
void isAccepted();
void isRejected();
2007-06-03 12:54:10 +00:00
QString getAvatarLink();
2007-06-03 21:27:02 +00:00
void setExternalAvatar();
bool getSettingsCorrect() const { return settingsCorrect;}
2007-05-24 20:32:09 +00:00
2007-05-23 19:42:20 +00:00
private:
ConfigFile* myConfig;
2007-08-29 21:10:33 +00:00
2007-06-03 21:27:02 +00:00
bool settingsCorrect;
QString externalAvatar;
QString avatarDir;
2007-09-08 22:01:30 +00:00
QString myAppDataPath;
2007-05-23 19:42:20 +00:00
};
#endif