aboutsummaryrefslogtreecommitdiffstats
path: root/kde2/kpsion/kpsionconfig.h
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2007-11-20 21:32:27 +0000
committerReuben Thomas <rrt@sc3d.org>2007-11-20 21:32:27 +0000
commite1408c833c9c8dfc99f75d22faf6d50aeca4571c (patch)
treeda36a07c05b291fd47f2a4b0669a8f596e807f23 /kde2/kpsion/kpsionconfig.h
parent5ac307594ebbe560078317d6c0177b1a352263e1 (diff)
downloadplptools-e1408c833c9c8dfc99f75d22faf6d50aeca4571c.tar.gz
plptools-e1408c833c9c8dfc99f75d22faf6d50aeca4571c.tar.bz2
plptools-e1408c833c9c8dfc99f75d22faf6d50aeca4571c.zip
Remove the KDE code. It was nice, but it's nicer just to treat the
Psion as a file system, and use plpftp to do out-of-band things. Also, with KDE 4 this code will surely stop working.
Diffstat (limited to 'kde2/kpsion/kpsionconfig.h')
-rw-r--r--kde2/kpsion/kpsionconfig.h89
1 files changed, 0 insertions, 89 deletions
diff --git a/kde2/kpsion/kpsionconfig.h b/kde2/kpsion/kpsionconfig.h
deleted file mode 100644
index f2906a0..0000000
--- a/kde2/kpsion/kpsionconfig.h
+++ /dev/null
@@ -1,89 +0,0 @@
-/*-*-c++-*-
- * $Id$
- *
- * This file is part of plptools.
- *
- * Copyright (C) 1999-2001 Fritz Elfert <felfert@to.com>
- *
- * 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 _KPSIONCONFIG_H_
-#define _KPSIONCONFIG_H_
-
-#include <kconfig.h>
-
-#include <qstringlist.h>
-#include <qmap.h>
-
-typedef QMap<int,QString> cfgMap;
-
-class KPsionConfig {
-public:
-
- enum cfgOptions {
- OPT_BACKUPDIR = 0,
- OPT_INCINTERVAL = 1,
- OPT_FULLINTERVAL = 2,
- OPT_CONNRETRY = 3,
- OPT_SERIALDEV = 4,
- OPT_SERIALSPEED = 5,
- OPT_BACKUPGEN = 6,
- OPT_UIDS = 7,
- OPT_MACHNAME = 8,
- OPT_BACKUPDRIVES = 9,
- OPT_DRIVES = 10,
- OPT_LASTFULL = 11,
- OPT_LASTINC = 12,
- OPT_NCPDPATH = 13,
- OPT_SYNCTIME = 14,
- };
-
- enum cfgDefaults {
- DEF_BACKUPDIR = 0,
- DEF_INCINTERVAL = 1,
- DEF_FULLINTERVAL = 2,
- DEF_CONNRETRY = 3,
- DEF_SERIALDEV = 4,
- DEF_SERIALSPEED = 5,
- DEF_BACKUPGEN = 6,
- DEF_NCPDPATH = 7,
- DEF_SYNCTIME = 8,
- };
-
- KPsionConfig();
-
- QStringList getConfigDevices();
- QStringList getConfigSpeeds();
- QStringList getConfigBackupInterval();
- const QString getOptionName(int);
- const QString getSectionName(int);
- const QString getStrDefault(int);
- int getIntDefault(int);
- int getIntervalDays(KConfig *, int);
- bool getBoolDefault(int);
-
-private:
- cfgMap optionNames;
- cfgMap defaults;
-
-};
-#endif
-
-/*
- * Local variables:
- * c-basic-offset: 4
- * End:
- */