summaryrefslogtreecommitdiffstats
path: root/src/manageciscocert.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/manageciscocert.h')
-rw-r--r--src/manageciscocert.h73
1 files changed, 73 insertions, 0 deletions
diff --git a/src/manageciscocert.h b/src/manageciscocert.h
new file mode 100644
index 0000000..ce499ad
--- /dev/null
+++ b/src/manageciscocert.h
@@ -0,0 +1,73 @@
+/***************************************************************************
+ * Copyright (C) 2004 by Christoph Thielecke *
+ * *
+ * 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 MANAGECISCOCERT_H
+#define MANAGECISCOCERT_H
+
+#include <manageciscocertbase.h>
+#include <kdialogbase.h>
+
+#include <qprocess.h>
+#include <qpopupmenu.h>
+#include <qstringlist.h>
+
+#include "kvpncconfig.h"
+
+/**
+ @author Christoph Thielecke <[email protected]>
+*/
+class ManageCiscoCert : public KDialogBase
+{
+ Q_OBJECT
+ public:
+ ManageCiscoCert(QWidget *parent, const char* caption, KVpncConfig *GlobalConfig);
+
+ ~ManageCiscoCert();
+
+
+ private:
+ KVpncConfig *GlobalConfig;
+ QProcess *DeleteProcess;
+ QProcess *ShowProcess;
+ QPopupMenu *ContextMenu;
+ QStringList CertDataList;
+ QString CertDataName;
+ QString CertType;
+ bool CertStartFound;
+
+ private slots:
+ void deleteCertClicked();
+ void importCertClicked();
+ void showCertClicked();
+ void deleteProcessFinished();
+ void showProcessFinished();
+ void checkList();
+ void readFromStdout_remove();
+ void readFromStderr_remove();
+ void readFromStdout_display();
+ void readFromStderr_display();
+ void contextMenuRequested ( QListViewItem * item, const QPoint &pos, int );
+ void doContextMenuAction ( int action);
+
+ public:
+ ManageCiscoCertBase *main;
+
+};
+
+#endif