aboutsummaryrefslogtreecommitdiffstats
path: root/kde2/kpsion/setupdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'kde2/kpsion/setupdialog.h')
-rw-r--r--kde2/kpsion/setupdialog.h73
1 files changed, 69 insertions, 4 deletions
diff --git a/kde2/kpsion/setupdialog.h b/kde2/kpsion/setupdialog.h
index b385dce..df9c46e 100644
--- a/kde2/kpsion/setupdialog.h
+++ b/kde2/kpsion/setupdialog.h
@@ -1,3 +1,25 @@
+/*-*-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 _SETUPDIALOGS_H_
#define _SETUPDIALOGS_H_
@@ -5,13 +27,56 @@
#include <rpcs.h>
#include <kdialogbase.h>
+#include <knuminput.h>
+#include <kcombobox.h>
+#include <klineedit.h>
+#include <klistview.h>
+
+#include <qpushbutton.h>
+#include <qcheckbox.h>
+#include <qlabel.h>
class SetupDialog : public KDialogBase {
- public:
- SetupDialog(QWidget *parent, rfsv *plpRfsv, rpcs *plpRpcs);
+ Q_OBJECT
+
+public:
+ SetupDialog(QWidget *parent, rfsv *plpRfsv, rpcs *plpRpcs);
+ bool showPage(int index);
+
+protected:
+ virtual void closeEvent(QCloseEvent *e);
+
+private slots:
+ void slotDefaultClicked();
+ void slotSaveSettings();
+ void slotBdirBrowse();
- private slots:
- void slotDefaultClicked();
+private:
+ bool checkBackupDir(QString &dir);
+
+ QFrame *page1;
+ QFrame *page2;
+ QFrame *page3;
+ QFrame *page4;
+
+ QLabel *bdirLabel;
+ KIntSpinBox *genSpin;
+ KIntSpinBox *rconSpin;
+ QPushButton *bdirButton;
+ QCheckBox *remCheck;
+ KComboBox *iIntCombo;
+ KComboBox *fIntCombo;
+ KComboBox *devCombo;
+ KComboBox *speedCombo;
+
+ QString bdirDefault;
+ QString bdirCreated;
};
#endif
+
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * End:
+ */