/***************************************************************************
                          kinvestmentlistitem.cpp  -  description
                             -------------------
    begin                : Wed Feb 6 2002
    copyright            : (C) 2000-2002 by Michael Edwardes
    email                : mte@users.sourceforge.net
                           Javier Campos Morales <javi_c@users.sourceforge.net>
                           Felix Rodriguez <frodriguez@users.sourceforge.net>
                           John C <thetacoturtle@users.sourceforge.net>
                           Thomas Baumgart <ipwizard@users.sourceforge.net>
                           Kevin Tambascio <ktambascio@users.sourceforge.net>
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#if 0  // currently, this object is unused 
#include <klistview.h>
#include "kinvestmentlistitem.h"

#include "../mymoney/mymoneyequity.h"

KInvestmentListItem::KInvestmentListItem(KListView* parent, MyMoneyEquity *pEquity)
	: KListViewItem(parent)
{
	m_pListView = parent;
	
	//column 0 is the name of the stock
	//setText(0, QString(pEquity->getEquityName().data()));
	
	//column 1 is the ticker symbol
	//setText(1, QString(pEquity->getEquitySymbol().data()));
	
	//column 3 is the current price, using the QString translator to get a string value.
	QString strValue;
	//const double price = pEquity->getCurrentPrice().amount();
	//strValue.setNum(price);
	//strValue = tr("%1", arg(pEquity->getCurrentPrice().amount()));
	setText(3, strValue);
}

KInvestmentListItem::~KInvestmentListItem()
{

}
#endif
