Doomseeker
Wadseeker
Download
Tracker
Git
Docs
Main Page
Plugin API
Modules
Classes
Files
File List
src
core
gui
configuration
cfgwadseekeridgames.h
1
//------------------------------------------------------------------------------
2
// cfgwadseekeridgames.h
3
//------------------------------------------------------------------------------
4
//
5
// This program is free software; you can redistribute it and/or
6
// modify it under the terms of the GNU General Public License
7
// as published by the Free Software Foundation; either version 2
8
// of the License, or (at your option) any later version.
9
//
10
// This program 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 this program; if not, write to the Free Software
17
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18
// 02110-1301, USA.
19
//
20
//------------------------------------------------------------------------------
21
// Copyright (C) 2010 "Zalewa" <zalewapl@gmail.com>
22
//------------------------------------------------------------------------------
23
#ifndef __WADSEEKERCONFIG_IDGAMES_H_
24
#define __WADSEEKERCONFIG_IDGAMES_H_
25
26
#include "gui/configuration/configpage.h"
27
#include "dptr.h"
28
#include <QIcon>
29
30
class
CFGWadseekerIdgames
:
public
ConfigPage
31
{
32
Q_OBJECT
33
34
public
:
35
CFGWadseekerIdgames
(QWidget* parent = NULL);
36
~
CFGWadseekerIdgames
();
37
38
QIcon
icon
()
const
{
return
QIcon(
":/icons/arrow-down-double.png"
); }
39
QString
name
()
const
{
return
tr(
"Archives"
); }
40
void
readSettings
();
41
QString
title
()
const
{
return
tr(
"Wadseeker - Archives"
); }
42
43
protected
slots:
44
void
btnIdgamesURLDefaultClicked();
45
46
protected
:
47
void
saveSettings
();
48
49
private
:
50
DPtr<CFGWadseekerIdgames>
d;
51
};
52
53
#endif
CFGWadseekerIdgames::title
QString title() const
Page title, by default returns the same string as name().
Definition:
cfgwadseekeridgames.h:41
CFGWadseekerIdgames::icon
QIcon icon() const
Reimplement this to return a displayable icon for the ConfigPage.
Definition:
cfgwadseekeridgames.h:38
CFGWadseekerIdgames::name
QString name() const
Reimplement this to return a list-displayable name for this ConfigPage.
Definition:
cfgwadseekeridgames.h:39
CFGWadseekerIdgames
Definition:
cfgwadseekeridgames.h:30
CFGWadseekerIdgames::saveSettings
void saveSettings()
Reimplement this to write settings to config from widgets.
Definition:
cfgwadseekeridgames.cpp:65
DPtr< CFGWadseekerIdgames >
CFGWadseekerIdgames::readSettings
void readSettings()
Reimplement this to read settings from config into widgets.
Definition:
cfgwadseekeridgames.cpp:58
ConfigPage
Base class for configuration pages.
Definition:
configpage.h:43
Doomseeker © 2009-2024 The Doomseeker Team