summaryrefslogtreecommitdiffstats
path: root/tdecert
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:13:01 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:13:01 -0600
commitdeac2ca49faed824fe83066080714eb6d653615b (patch)
tree8b5bf97c5acaaf5285985b87fa76dbea0f35e4fa /tdecert
parent0c9d97065a3d6ceb12d687555a1a33d90db96238 (diff)
downloadtdelibs-deac2ca49faed824fe83066080714eb6d653615b.tar.gz
tdelibs-deac2ca49faed824fe83066080714eb6d653615b.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'tdecert')
-rw-r--r--tdecert/tdecertpart.cc18
-rw-r--r--tdecert/tdecertpart.h14
2 files changed, 16 insertions, 16 deletions
diff --git a/tdecert/tdecertpart.cc b/tdecert/tdecertpart.cc
index 08e3ec5e0..f91c545d2 100644
--- a/tdecert/tdecertpart.cc
+++ b/tdecert/tdecertpart.cc
@@ -52,14 +52,14 @@
K_EXPORT_COMPONENT_FACTORY( libtdecertpart, KParts::GenericFactory<KCertPart> )
-KX509Item::KX509Item(KListViewItem *parent, KSSLCertificate *x) :
- KListViewItem(parent, 0L)
+KX509Item::KX509Item(TDEListViewItem *parent, KSSLCertificate *x) :
+ TDEListViewItem(parent, 0L)
{
setup(x);
}
-KX509Item::KX509Item(KListView *parent, KSSLCertificate *x) :
- KListViewItem(parent)
+KX509Item::KX509Item(TDEListView *parent, KSSLCertificate *x) :
+ TDEListViewItem(parent)
{
setup(x);
}
@@ -98,8 +98,8 @@ KX509Item::~KX509Item()
}
-KPKCS12Item::KPKCS12Item(KListViewItem *parent, KSSLPKCS12 *x) :
- KListViewItem(parent, 0L)
+KPKCS12Item::KPKCS12Item(TDEListViewItem *parent, KSSLPKCS12 *x) :
+ TDEListViewItem(parent, 0L)
{
cert = x;
if (x) {
@@ -155,13 +155,13 @@ setWidget(_frame);
_baseGrid = new TQGridLayout(_frame, 15, 9, KDialog::marginHint(),
KDialog::spacingHint());
-_sideList = new KListView(_frame);
+_sideList = new TDEListView(_frame);
_sideList->setRootIsDecorated(true);
_sideList->addColumn(i18n("Certificates"));
-_parentCA = new KListViewItem(_sideList, i18n("Signers"));
+_parentCA = new TDEListViewItem(_sideList, i18n("Signers"));
_parentCA->setExpandable(true);
_sideList->setOpen(_parentCA, true);
-_parentP12 = new KListViewItem(_sideList, i18n("Client"));
+_parentP12 = new TDEListViewItem(_sideList, i18n("Client"));
_parentP12->setExpandable(true);
_sideList->setOpen(_parentP12, true);
diff --git a/tdecert/tdecertpart.h b/tdecert/tdecertpart.h
index 040b0ad94..bb4ca958e 100644
--- a/tdecert/tdecertpart.h
+++ b/tdecert/tdecertpart.h
@@ -44,10 +44,10 @@ class TDEAboutData;
class TQGridLayout;
-class KX509Item : public KListViewItem {
+class KX509Item : public TDEListViewItem {
public:
- KX509Item(KListViewItem *parent, KSSLCertificate *x);
- KX509Item(KListView *parent, KSSLCertificate *x);
+ KX509Item(TDEListViewItem *parent, KSSLCertificate *x);
+ KX509Item(TDEListView *parent, KSSLCertificate *x);
void setup(KSSLCertificate *x);
~KX509Item();
virtual int rtti() const { return 1; }
@@ -56,9 +56,9 @@ class KX509Item : public KListViewItem {
};
-class KPKCS12Item : public KListViewItem {
+class KPKCS12Item : public TDEListViewItem {
public:
- KPKCS12Item(KListViewItem *parent, KSSLPKCS12 *x);
+ KPKCS12Item(TDEListViewItem *parent, KSSLPKCS12 *x);
~KPKCS12Item();
KSSLPKCS12 *cert;
TQString _prettyName;
@@ -94,8 +94,8 @@ protected:
void displayPKCS12Cert(KSSLCertificate *c);
void displayCACert(KSSLCertificate *c);
- KListView *_sideList;
- KListViewItem *_parentCA, *_parentP12;
+ TDEListView *_sideList;
+ TDEListViewItem *_parentCA, *_parentP12;
TQFrame *_pkcsFrame, *_blankFrame, *_x509Frame, *_frame;
// for the PKCS12 widget