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

Class Index

ksysv'Timer (./kdeadmin/ksysv/main.cpp:111)

class Timer : public QObject {
public:
  Timer() {
    startTimer( 100 );
  }

protected:
  virtual void timerEvent( QTimerEvent * );
};

void Timer::timerEvent( QTimerEvent * ) {
  KSVMsg buf, retbuf;

  if ( buf.recv( msgqid, 3L ) != -1 ) {
    retbuf.setType( 4L );
    retbuf.send( msgqid );

    KWM::activate(kapp->mainWidget()->winId());
  }
}


ksysv'Timer::timerEvent() (./kdeadmin/ksysv/main.cpp:121)

void Timer::timerEvent( QTimerEvent * ) {
  KSVMsg buf, retbuf;

  if ( buf.recv( msgqid, 3L ) != -1 ) {
    retbuf.setType( 4L );
    retbuf.send( msgqid );

    KWM::activate(kapp->mainWidget()->winId());
  }
}