Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 11-28-2005, 12:47 PM   #1
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


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

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.

Old 11-30-2005, 03:57 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,551

Rep: Reputation: 161Reputation: 161
Are you sure Form1 is the class that has the slot implemented?
Old 12-01-2005, 07:36 AM   #3
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:

Thank you for your help...



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 10:35 AM
execute command from c code alaios Programming 3 06-06-2005 06:26 AM
Mom clicked a button and "it stopped working" antiocles Linux - Software 3 01-02-2005 02:35 PM
ColdFusion - Using a script to build and execute SQL query when a button is clicked Locura Programming 1 02-25-2004 10:59 PM
Abiword crashes when print button clicked cougyr Linux - Software 2 11-29-2003 01:15 PM

All times are GMT -5. The time now is 12:44 PM.

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