LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-28-2005, 11:47 AM   #1
Gnarg
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Gentoo Linux
Posts: 44

Rep: Reputation: 15
Question Unable to execute code in Implementation class when a button is clicked


Hi all,

I have created a new project using a "Simple Designer Based Application."
When executed a label and a button show. If you click on the button it will insert some text. Click it again and the text goes away.

I then created a new dialog with just a button. I added a connect to that button to point to my slot "myButtonClicked"

The original code that adds text into the label has been replaced to display the dialog

Code:
 

Form1 *myDialog;
myDialog = new Form1( this ); // Note, I also removed "this"
myDialog->show();

When the dialog appears with just one button. When clicked a qWarning should appear just informing me that the button was pressed but what I get instead is:

Form1::myButtonClicked(): Not implemented Yet

I have made all the connection through KDevDesigner and should be going to my implementation class.


So right now I really don't know what's going on. To me everything looks right.

Anyone have suggestions? If requested I will post the code here.

Hope you all can help.








Gnarg
 
Old 11-30-2005, 02:57 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
Are you sure Form1 is the class that has the slot implemented?
 
Old 12-01-2005, 06:36 AM   #3
Gnarg
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Gentoo Linux
Posts: 44

Original Poster
Rep: Reputation: 15
Hi Mara,

I had another post that explained better my situation which you have answered for me.

The link is here: http://www.linuxquestions.org/questi...21#post1978121


Thank you for your help...


Gnarg
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
found with button was clicked djgerbavore Programming 2 06-29-2005 09:35 AM
execute command from c code alaios Programming 3 06-06-2005 05:26 AM
Mom clicked a button and "it stopped working" antiocles Linux - Software 3 01-02-2005 01:35 PM
ColdFusion - Using a script to build and execute SQL query when a button is clicked Locura Programming 1 02-25-2004 09:59 PM
Abiword crashes when print button clicked cougyr Linux - Software 2 11-29-2003 12:15 PM


All times are GMT -5. The time now is 07:30 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration