[Qt-interest] QTimer issue
Michael S
msherman77 at yahoo.com
Wed Jan 19 22:19:07 CET 2011
> How about a setup where you execute your slot once a
> minute, and you check in
> that slot if you need to perform your action yet or not?
>
> André
Thanks,
That would require a redesign :). I was hoping I dind't have to write my own even loop, since Qt (QCoreApplication) does it already. But I might have to do it anyway.
--- On Wed, 1/19/11, André Somers <andre at familiesomers.nl> wrote:
> From: André Somers <andre at familiesomers.nl>
> Subject: Re: [Qt-interest] QTimer issue
> To: qt-interest at qt.nokia.com
> Date: Wednesday, January 19, 2011, 4:08 PM
> On Wednesday 19 January 2011 21:30:43
> Michael S wrote:
> > Good day all,
> >
> > I am writing a service type application that schedules
> its own events. I
> > use the QTimer object to program the events and
> connect the timeout()
> > signal to a slot that executes my logic. Unfortunately
> QTimer::start takes
> > an int, which limits me to about 24 days, thus
> preventing me to scheduling
> > a monthly event. I understand that QTimer was probably
> not intended for
> > this type of usage, but having a long (or uint)
> argument type for start()
> > would have been helpful. In any case, what would be
> the easiest solution?
>
> How about a setup where you execute your slot once a
> minute, and you check in
> that slot if you need to perform your action yet or not?
>
> André
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list