ok, i found the following:
autoAwayTimer.start(10000); // start the inactivity timer for auto away
and added a line to show something in the console window:
gLog.Info("startet autoawaytimer");
now, during startup, my message is displayed. i set the autoawaytime to
1min, so that i dont have to wait too long and wait. after 2min nothing
has happened! so whats wrong there? the timer is activated correctly,
but i cant see how it counts. btw i'm using a daily snapshot from
20050711 now.
below the timer start i see a lot of connect commands with some signals
as attributes. what are they for? one of them is commented out:
// connect (licqSigMan, SIGNAL(signal_ui_viewevent(unsigned long)),
// this, SLOT(slot_ui_viewevent(unsigned long)));
further down in the CMainWindow::autoAway function i found this line:
gLog.Info("offl %d, n/a %d, away %d idlt %d\n",
bAutoOffline, bAutoNA, bAutoAway, idleTime);
i removed the // to see if it gives any interesting information in my
console output, but it did nothing. so i assume the error must be
somewhere in that function. i see to warn messages that should be shown
if licq cant use the xscreensaver libs, but i didnt see them in my
output, so i suppose that part is working correct.
could someone with in dept knowledge of the qt-gui code please look into
this?
Arne Schmitz wrote:
Am Sonntag, 17. Juli 2005 21:24 schrieb Basti:
i'm using licq 1.3.0/1.3.1 on ubuntu hoary 64bit and auto-away does not
work. how does licq check for inactivity? does it monitor mouse and
keyboard usage? i'm using licq with the standard qt gui plugin. i
enabled all debug options and checked the console output, but there was
no information regarding auto-away or an inactivity timer.
I think it uses the standard X11 screen saver functions for auto-away. See
mainwin.cpp for details.
Arne
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
LICQ-Main mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-main