Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Open Source > BOOK Beginning Linux Programming, 3rd Edition
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK Beginning Linux Programming, 3rd Edition
This is the forum to discuss the Wrox book Beginning Linux Programming, 2nd Edition by Richard Stones, Neil Matthew, Alan Cox; ISBN: 9780764543739
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK Beginning Linux Programming, 3rd Edition section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 4th, 2006, 02:43 AM
Registered User
 
Join Date: Jan 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default how do i design items in QIconView

hi all,

I am a beginner in qt programming. I have come across a problem while
developing a chat server.

I want to get different functions called by clicking different items
in qiconview. Example : one click on the item in the qiconview a new
window has to be opened

My code is:

QIconViewItem *item=new QIconViewItem(iv,result,QPixmap("/home/sindhu/BuddyList/offline.gif" ) );
connect(iv,SIGNAL(clicked(QIconViewItem*)),this,SL OT(itemDoubleClicked(QIconViewItem*)));
.
.
.
.
.
.
void BList::itemDoubleClicked(QIconViewItem *item)
{
   QMessageBox::warning( this,"check","hi");
}

During qmake of the project i am getting the following messages:
.ui/Blist.h:31:`QIconViewItem' was not declared in this scope
.ui/Blist.h:31: `item' was not declared in this scope
.ui/Blist.h:31: invalid data member initialization
.ui/Blist.h:31: (use `=' to initialize static data members)
.ui/Blist.h:31: variable or field `itemDoubleClicked' declared void
.ui/Blist.h:31: `itemDoubleClicked' declared as a `virtual' field


I request you to solve the problem.

Thanking you,
With warm regards,
kavitha

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Items Chacko Visual C++ 0 April 5th, 2007 12:42 PM
Design patterns for web design ceadge HTML Code Clinic 0 June 19th, 2006 11:26 AM
Appointment Items tucker Access VBA 0 March 23rd, 2005 09:09 AM
Java Design issue with UML and Design Patterns the_logical_way Apache Tomcat 0 May 31st, 2004 04:02 AM
displaying 6 items only having 20 items Lakshmi KS VB Components 1 February 17th, 2004 10:34 AM



All times are GMT -4. The time now is 09:43 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.