Update of /home/kde/kdegames/atlantik/libatlantikui
In directory office:/tmp/cvs-serv6687/libatlantikui
Modified Files:
estatedetails.cpp
Log Message:
listview is a pointer
Index: estatedetails.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/libatlantikui/estatedetails.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- estatedetails.cpp 2002/11/27 21:08:56 1.13
+++ estatedetails.cpp 2002/11/27 21:11:18 1.14
@@ -62,14 +62,14 @@
QListViewItem *infoText = 0;
if (!text.isEmpty())
{
- infoText = new QListViewItem(m_infoListView, text, m_infoListView.childCount());
+ infoText = new QListViewItem(m_infoListView, text, m_infoListView->childCount());
infoText->setPixmap(0, QPixmap(SmallIcon("atlantik")));
}
// Price
if (m_estate->price())
{
- infoText = new QListViewItem(m_infoListView, i18n("Price: %1").arg(m_estate->price()), m_infoListView.childCount());
+ infoText = new QListViewItem(m_infoListView, i18n("Price: %1").arg(m_estate->price()), m_infoListView->childCount());
infoText->setPixmap(0, QPixmap(SmallIcon("info")));
}
@@ -81,10 +81,10 @@
if (m_estate->isOwned())
{
- infoText = new QListViewItem(m_infoListView, i18n("Houses: %1").arg(m_estate->houses()), m_infoListView.childCount());
+ infoText = new QListViewItem(m_infoListView, i18n("Houses: %1").arg(m_estate->houses()), m_infoListView->childCount());
infoText->setPixmap(0, QPixmap(SmallIcon("info")));
- infoText = new QListViewItem(m_infoListView, i18n("Mortgaged: %1").arg(m_estate->isMortgaged() ? i18n("Yes") : i18n("No")), m_infoListView.childCount());
+ infoText = new QListViewItem(m_infoListView, i18n("Mortgaged: %1").arg(m_estate->isMortgaged() ? i18n("Yes") : i18n("No")), m_infoListView->childCount());
infoText->setPixmap(0, QPixmap(SmallIcon("info")));
}
}
@@ -259,7 +259,7 @@
m_buttonCommandMap.clear();
// Append text
- QListViewItem *infoText = new QListViewItem(m_infoListView, text, m_infoListView.childCount());
+ QListViewItem *infoText = new QListViewItem(m_infoListView, text, m_infoListView->childCount());
infoText->setPixmap(0, QPixmap(SmallIcon("atlantik")));
// Redraw details
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.