diff --git a/kgpg/kgpg.cpp b/kgpg/kgpg.cpp
index 3fa0bc20..c19e699c 100644
--- a/kgpg/kgpg.cpp
+++ b/kgpg/kgpg.cpp
@@ -53,7 +53,6 @@ KGPG::KGPG(QWidget *parent)
gpgme_set_progress_cb(m_gpgctx, KGPG::gpgProgressCallback, this);
connect(m_ui.keysbox, SIGNAL(currentIndexChanged(int)), this, SLOT(slotKeysBox(int)));
- connect(m_ui.generatebutton, SIGNAL(clicked()), this, SLOT(slotGenerateKey()));
connect(m_ui.startbutton, SIGNAL(clicked()), this, SLOT(slotStart()));
connect(m_ui.actionQuit, SIGNAL(triggered()), this, SLOT(slotQuit()));
@@ -456,12 +455,6 @@ void KGPG::slotKeysBox(const int index)
m_ui.cansignled->setState(kgpgkey.cansign ? KLed::On : KLed::Off);
}
-void KGPG::slotGenerateKey()
-{
- // TODO: implement
- setError("Not implemented");
-}
-
void KGPG::slotStart()
{
start();
diff --git a/kgpg/kgpg.h b/kgpg/kgpg.h
index 83328eef..1bdc0134 100644
--- a/kgpg/kgpg.h
+++ b/kgpg/kgpg.h
@@ -70,7 +70,6 @@ public:
private Q_SLOTS:
void slotKeysBox(const int index);
- void slotGenerateKey();
void slotStart();
void slotEncryptMode();
void slotDecryptMode();
diff --git a/kgpg/kgpgwidget.ui b/kgpg/kgpgwidget.ui
index 25b3b808..3b83fa5e 100644
--- a/kgpg/kgpgwidget.ui
+++ b/kgpg/kgpgwidget.ui
@@ -20,47 +20,14 @@
- -
-
-
-
-
-
-
- 0
- 0
-
-
-
-
- -
-
-
- Select key:
-
-
-
- -
-
-
- Generate key
-
-
-
-
-
-
-
-
-
-
- -
+
-
24
- -
+
-
@@ -207,7 +174,7 @@
- -
+
-
Start
@@ -219,7 +186,7 @@
- -
+
-
Qt::Horizontal
@@ -232,7 +199,7 @@
- -
+
-
Qt::Horizontal
@@ -247,6 +214,9 @@
-
+
-
+
+
-
@@ -267,9 +237,6 @@
- -
-
-
-
@@ -277,6 +244,26 @@
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ -
+
+
+ Select key:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
@@ -305,6 +292,14 @@
+
+
@@ -352,6 +348,21 @@
Verify
+
+
+ Generate
+
+
+
+
+ Export
+
+
+
+
+ Import
+
+