summaryrefslogtreecommitdiffstats
path: root/cervisia/repositorydlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:36 -0600
commit7716a5e605907a009e19f429cec4e6b5f346bd71 (patch)
tree16cf4a5d7a24db774f988022d514adefc75015c0 /cervisia/repositorydlg.cpp
parent0117fbed932653a04aeef16b2ed7edee858959ac (diff)
downloadtdesdk-7716a5e605907a009e19f429cec4e6b5f346bd71.tar.gz
tdesdk-7716a5e605907a009e19f429cec4e6b5f346bd71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'cervisia/repositorydlg.cpp')
-rw-r--r--cervisia/repositorydlg.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cervisia/repositorydlg.cpp b/cervisia/repositorydlg.cpp
index 0d29cbea..4b73e4b8 100644
--- a/cervisia/repositorydlg.cpp
+++ b/cervisia/repositorydlg.cpp
@@ -37,10 +37,10 @@
#include "repositories.h"
-class RepositoryListItem : public KListViewItem
+class RepositoryListItem : public TDEListViewItem
{
public:
- RepositoryListItem(KListView* parent, const TQString& repo, bool loggedin);
+ RepositoryListItem(TDEListView* parent, const TQString& repo, bool loggedin);
void setRsh(const TQString& rsh);
void setServer(const TQString& server) { m_server = server; }
@@ -85,9 +85,9 @@ static bool LoginNeeded(const TQString& repository)
}
-RepositoryListItem::RepositoryListItem(KListView* parent, const TQString& repo,
+RepositoryListItem::RepositoryListItem(TDEListView* parent, const TQString& repo,
bool loggedin)
- : KListViewItem(parent)
+ : TDEListViewItem(parent)
, m_isLoggedIn(loggedin)
{
setText(0, repo);
@@ -163,7 +163,7 @@ RepositoryDialog::RepositoryDialog(TDEConfig& cfg, CvsService_stub* cvsService,
TQBoxLayout* hbox = new TQHBoxLayout(mainWidget, 0, spacingHint());
- m_repoList = new KListView(mainWidget);
+ m_repoList = new TDEListView(mainWidget);
hbox->addWidget(m_repoList, 10);
m_repoList->setMinimumWidth(fontMetrics().width('0') * 60);
m_repoList->setAllColumnsShowFocus(true);