Results 1 to 6 of 6

Thread: Question about a handler of various types of parameters

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    105
    Thanks
    38
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Question Question about a handler of various types of parameters

    Hi everybody, I'm programming an application that does some processation for a specified input. The results of this processation are various parameters that I have to save at disk. These parameters are basicly integers and doubles. Well, I have implemented a handler class to save / load these parameters from disk. In some cases, I have to left some parameters as "unspecified". I would like to know what's the best / elegant way to implement it: consider it unspecified when the user sets the value for the parameter with a special value (negative values, for example), with an auxiliar method to set the value unspecified and save it at disk with a special value that manages the handler, ... Could anybody suggest me something?

    Thanks a lot.
    Last edited by Dark_Tower; 16th March 2006 at 23:16.

Similar Threads

  1. Question about mouse,keyboard event handler?
    By Sheng in forum Qt Programming
    Replies: 2
    Last Post: 24th February 2009, 07:50
  2. Message handler question
    By bruccutler in forum Newbie
    Replies: 10
    Last Post: 19th May 2007, 21:26

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.