summaryrefslogtreecommitdiffstats
path: root/src/kgpgme.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 14:58:21 -0600
committerTimothy Pearson <[email protected]>2013-02-01 14:58:21 -0600
commit7864df7a5e0a69bb3e525ec3e47256bdcbf2832b (patch)
tree3aa53b371fc2482fb6bea9f8eca16b9524c1b332 /src/kgpgme.cpp
parent3cedb6a5f7a9c3e0c04303289e025ce6fe91e164 (diff)
downloadbasket-7864df7a5e0a69bb3e525ec3e47256bdcbf2832b.tar.gz
basket-7864df7a5e0a69bb3e525ec3e47256bdcbf2832b.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/kgpgme.cpp')
-rw-r--r--src/kgpgme.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kgpgme.cpp b/src/kgpgme.cpp
index e3f7dff..f5a39c6 100644
--- a/src/kgpgme.cpp
+++ b/src/kgpgme.cpp
@@ -42,7 +42,7 @@
class KGpgSelKey : public KDialogBase
{
private:
- KListView* keysListpr;
+ TDEListView* keysListpr;
public:
@@ -57,7 +57,7 @@ class KGpgSelKey : public KDialogBase
TQPixmap keyPair = loader->loadIcon("kgpg_key2", KIcon::Small, 20);
setMinimumSize(350,100);
- keysListpr = new KListView(page);
+ keysListpr = new TDEListView(page);
keysListpr->setRootIsDecorated(true);
keysListpr->addColumn(i18n("Name"));
keysListpr->addColumn(i18n("Email"));
@@ -73,8 +73,8 @@ class KGpgSelKey : public KDialogBase
for(KGpgKeyList::iterator it = list.begin(); it != list.end(); ++it) {
TQString name = gpg.checkForUtf8((*it).name);
- KListViewItem *item = new
- KListViewItem(keysListpr, name, (*it).email, (*it).id);
+ TDEListViewItem *item = new
+ TDEListViewItem(keysListpr, name, (*it).email, (*it).id);
item->setPixmap(0,keyPair);
if(preselected == (*it).id) {
keysListpr->setSelected(item, true);