[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Help on declaring a Kextendedsocket object
From:       Giuseppe Torelli <lcdn () inwind ! it>
Date:       2003-09-08 10:04:36
[Download RAW message or body]

Hi,

How should I declare ks so that I can use it 
this way:

QListViewItemIterator it( Mizio_View->mizio_listview );
	while (it.current() )
	{
		KExtendedSocket ks( it.current()->text(0), it.current()->text(1) );
		ks.connect();
		++it;
	}

In the header file I have:

KExtendedSocket *ks;

But the compiler tells me:

mizio.cpp:85: request for member `writeBlock' in `this->Mizio::ks', which is 
of non-aggregate type `KExtendedSocket*'

void Mizio::connectionSuccess()
{
ks.writeBlock ( GET_Request, GET_Request.length() ); <------- here I get the 
error
}

Thank you,
Giuseppe Torelli

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic