Source Code (Use browser search to find items of interest.)

Class Index

kdesktop'WatchedWindow (./kdebase/kdesktop/xautolock.h:20)

class WatchedWindow
{
public:
    WatchedWindow(Window w)
        { mWindow = w; mTime = time(0); }

    time_t created() { return mTime; }
    Window window() { return mWindow; }

protected:
    Window mWindow;
    time_t mTime;
};

//===========================================================================
//
// Detect user inactivity.
// Named XAutoLock after the program that it is based on.
//