From 60a2ed8ee8aa994c83d382af2ec477e171beb950 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 9 Jun 2008 00:50:59 +0000 Subject: [FIX] All modules now use their own namespace git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@201 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemodr/PokeModrPreferences.cpp | 41 ---------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 pokemodr/PokeModrPreferences.cpp (limited to 'pokemodr/PokeModrPreferences.cpp') diff --git a/pokemodr/PokeModrPreferences.cpp b/pokemodr/PokeModrPreferences.cpp deleted file mode 100644 index ca720077..00000000 --- a/pokemodr/PokeModrPreferences.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright 2008 Ben Boeckel - * - * 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 3 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, see . - */ - -// Header include -#include "PokeModrPreferences.h" - -// Qt includes -#include - -// KDE includes -#include - -PokeModrPreferences::PokeModrPreferences(QWidget* parent, KConfigGroup& config) : - KDialog(parent), - m_config(config) -{ - setCaption(QString::fromUtf8("PokéModr Preferences")); - setButtons(KDialog::Ok | KDialog::Cancel); - varReloadOnOpen = new QCheckBox("Reload files on open"); - varReloadOnOpen->setChecked(m_config.readEntry("reloadOnStart", false) ? Qt::Checked : Qt::Unchecked); - setMainWidget(varReloadOnOpen); -} - -void PokeModrPreferences::save() -{ - m_config.writeEntry("reloadOnStart", varReloadOnOpen->isChecked()); -} -- cgit