Results 1 to 17 of 17

Thread: A list for storing member functions/slots?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #8
    Join Date
    Sep 2013
    Posts
    32
    Thanks
    9
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: A list for storing member functions/slots?

    So I should make a new class, fill it with my 200 some odd slots, create 200 some odd objects, and append them to QList<myclass*>?

    Edit:
    Sorry, didnt see ninja post

    What I am trying to accomplish is simple:

    I have 215 QToolbuttons, and each one of them has a unique function. To make things simple, I would like to define the basic properties and instructions of the QToolbuttons by using an iterating "for" loop.
    Last edited by Akiva; 14th September 2013 at 22:06.

Similar Threads

  1. Pointer to non static member functions within the class
    By Lykurg in forum General Programming
    Replies: 3
    Last Post: 24th April 2011, 07:37
  2. how to document classes and member functions?
    By jackal in forum Qt Programming
    Replies: 15
    Last Post: 9th April 2011, 22:02
  3. Replies: 1
    Last Post: 16th March 2011, 08:10
  4. Pointers to Member Functions
    By Doug Broadwell in forum General Programming
    Replies: 8
    Last Post: 15th May 2007, 23:08
  5. emiting signals from const member functions !?
    By sunil.thaha in forum Qt Programming
    Replies: 2
    Last Post: 25th March 2006, 11:29

Tags for this Thread

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.