From 7864df7a5e0a69bb3e525ec3e47256bdcbf2832b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 14:58:21 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- src/kgpgme.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/kgpgme.cpp') 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); -- cgit v1.2.1