473,385 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

qt +linux

hi :)

i've something like this

class Klasa1
{
Q_OBJECT
private:
public:
public slots:
********void*funkcja();*
};

class KlasaDialog : public QDialog
{
private:
********QDialog**dlg;
********QComboBox**box;
public:
********KlasaDialog(QWidget**parent)
********{
****************dlg=new*QDialog(parent,"nazwa");
****************box=new*QComboBox(dlg,"nazwa_combo ");

//important
****************connect(box,SIGNAL(activated(int)) ,*this,*SLOT(jakas_funkcja()));
********}
public slots:
********int*jakas_funkcja();
};

void Klasa1::funkcja1()
{
********KlasaDialog*dialog(this);
}

and i don't know why when the program runs, it generate error: "No such
slot: QDialog::jakas_funkcja()" :(((

how connect's it??
Nov 14 '05 #1
5 1413

"klops" <kl***@op.pl> wrote in message
news:co**********@korweta.task.gda.pl...
hi :)

i've something like this

class Klasa1
{
Q_OBJECT
private:
public:
public slots:
void funkcja();
};

class KlasaDialog : public QDialog
{
private:
QDialog *dlg;
QComboBox *box;
public:
KlasaDialog(QWidget *parent)
{
dlg=new QDialog(parent,"nazwa");
box=new QComboBox(dlg,"nazwa_combo");

//important
connect(box,SIGNAL(activated(int)), this, SLOT(jakas_funkcja()));
}
public slots:
int jakas_funkcja();
};

void Klasa1::funkcja1()
{
KlasaDialog dialog(this);
}

and i don't know why when the program runs, it generate error: "No such
slot: QDialog::jakas_funkcja()" :(((

how connect's it??


One is always happy to see new faces enter the forum. Object orientation on
linux has to be a rough road, but I think you'll find better help elsewhere.
MPJ
Nov 14 '05 #2
klops <kl***@op.pl> writes:
hi :)

i've something like this

class Klasa1

[...]

That's C++, not C. They might be able to help you in comp.lang.c++.

Before you post there, you should make sure your article contains only
printable 7-bit ASCII characters. In my newsreader, your indentation
showed up as strings of '?' characters.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Nov 14 '05 #3
On Wed, 24 Nov 2004 21:49:39 +0100
klops <kl***@op.pl> wrote:
hi :)

i've something like this

class Klasa1
{
Q_OBJECT
Well, since C does not have classes I don't know what you think it has
to do with C.

<snip>
and i don't know why when the program runs, it generate error: "No
such slot: QDialog::jakas_funkcja()" :(((

how connect's it??


Try asking on a QT group or mailing list. When you have C++ questions
(as opposed to QT questions) ask in comp.lang.c++, but don't bring
either QT or C++ questions here.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
Nov 14 '05 #4
In article <co**********@korweta.task.gda.pl>, kl***@op.pl says...
hi :)

i've something like this

class Klasa1


This is incredibly off-topic for c.l.c. Try the mailing list for QT
programmers, available on the trolltech website.

--
Randy Howard (2reply remove FOOBAR)
"For some reason most people seem to be born without the part
of the brain that understands pointers." -- Joel Spolsky
Nov 14 '05 #5
"klops" <kl***@op.pl> wrote in message news:co**********@korweta.task.gda.pl...
hi :)

i've something like this

class Klasa1
{ .... }


Jinx! now I have to clean my keyboard and screen again.
Please don't post C++ code here.
--
Chqrlie.
Nov 14 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jhuola Hoptire | last post by:
Just installed J2RE 1.4.2 on a Linux server. I am very knew to the POSIX world. I couldn't dig-up much in the docs or via google about the following: 1 - Is there a standard way to make sure...
0
by: Eric Raymond | last post by:
When installing the rpms (or the tar file) onto Red Hat Enteprise Linux AS Beta 1 (Taroon), we get the follwing error: Installing all prepared tables /usr/bin/mysql_install_db: line 1: 7690...
6
by: gnu | last post by:
Rationale to use Linux ======================= - I can't afford paying for $199 for the license of an OS that's arguably better thank Linux for each of 10 computers I have. - I want to be...
21
by: Travis 'Bailo' Bickel | last post by:
Lately, I have been having a bear of a time trying to acquire a Linux driver for my S3/ProSavage chipset -- but that quest is now almost at an end as I have located a noble band of people who are...
1
by: srihari | last post by:
Hai, I am trying to install IBM DB2 8.1 on Red Hat linux 8.0. My machine is Intel XEON 64bit. The installation went well except for the creation of tools catalog. When I tried to install the tools...
0
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager...
5
by: cranium.2003 | last post by:
hi, Here is my code #include <iostream.h> int main() { cout <<"HI"; return 0; } and using following command to compile a C++ program g++ ex1.cpp -o ex1
1
by: rada.lambretha | last post by:
Configuring Linux as a Firewall * Making installation choices * Introducing iptables * Using iptables commands * Simplifying things with firewall GUIs * Adding proxy functionality As...
1
Nepomuk
by: Nepomuk | last post by:
You might have heard about Linux, but you don't know what it is? Or you know a few things about it, but they terrify you? Well, then this article is for you. Don't be afraid - Everyone can use Linux!...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.