Results 1 to 5 of 5

Thread: connect() problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    29
    Thanked 50 Times in 47 Posts

    Default Re: connect() problem

    Because you're using the private member function outside the class.
    Qt Code:
    1. void NowyWpis::Wybor ()
    To copy to clipboard, switch view to plain text mode 
    Heavy Metal Rules. For those about to rock, we salute you.
    HIT THANKS IF I HELPED.

  2. #2
    Join Date
    Jul 2012
    Posts
    25
    Thanks
    10

    Default Re: connect() problem

    Quote Originally Posted by sonulohani View Post
    Because you're using the private member function outside the class.
    Qt Code:
    1. void NowyWpis::Wybor ()
    To copy to clipboard, switch view to plain text mode 
    If you mean that problem is because of making Wybor() private function, it's not reason of error- I made everrything in class public:
    Qt Code:
    1. public:
    2. NowyWpis(QWidget *parent = 0);
    3. public slots:
    4. void Aktual();
    5. public:
    6. void Wybor ();
    7. void Dane();
    8. QGroupBox *wybortr;
    9. QComboBox *wybierz;
    10. QLabel *ikona;
    11. QString wybrany;
    To copy to clipboard, switch view to plain text mode 

    but it didn't solve the problem

Similar Threads

  1. Problem with connect
    By Momergil in forum Newbie
    Replies: 8
    Last Post: 29th July 2011, 02:27
  2. connect() problem
    By harmodrew in forum Newbie
    Replies: 14
    Last Post: 5th August 2010, 18:45
  3. Connect Problem
    By nrabara in forum Newbie
    Replies: 3
    Last Post: 4th May 2009, 13:19
  4. connect problem
    By liengen in forum Newbie
    Replies: 2
    Last Post: 22nd October 2008, 17:21
  5. Problem with connect()
    By mrnor3 in forum Qt Programming
    Replies: 3
    Last Post: 23rd July 2008, 15:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.