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

List:       kde-devel
Subject:    Re: connect( KMultiTabbar->tab(theId), SIGNAL( clicked( int ) ),
From:       Frank Osterfeld <frank.osterfeld () gmx ! de>
Date:       2006-10-23 11:58:45
Message-ID: 200610231404.46022.frank.osterfeld () gmx ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Monday 23 October 2006 10:34, Philipp Hülsdunk wrote:
> I have created a KMultiTabBar. Then I added a tab:
> m_multiTabBar->appendTab( icon, theId, "test" );
> I have tried to connect the signal if a tab is clicked:
> connect( m_multiTabBar->tab( theId ), SIGNAL( clicked( int ) ), widget,
> SLOT( doSomthing( int ) ) );

If your test slot is really doSomething() and you just copied this line into 
the mail, you have a typo: doSomthing instead doSomething()

> It seems that doSomething is not called is I click on runtime on the
> created tab of my KMultiTabBar. What should I do to connect the signal if a
> tab on my KMultiTabBar to a slot?

Do you get an error message on the console at runtime when the connect is 
executed?

Frank

[Attachment #5 (application/pgp-signature)]

>> 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