Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions
scripter2_qtclass_qapplication.cpp File Reference
#include "cmdvar.h"
#include <qapplication.h>

Go to the source code of this file.

Functions

void QApplication_processEvents (QApplication &app)
void QApplication_processEventsT (QApplication &app, int maxtime)
void export_QApplication ()

Function Documentation

Definition at line 23 of file scripter2_qtclass_qapplication.cpp.

{
       using namespace boost::python;

       class_<QApplication,boost::noncopyable>(
                     "QApplication",
                     "The base Qt application class",
                     no_init)
              //.def("exec", &QApplication::exec); // BAD PLAN to expose this
              //.def("processEvents", &QApplication::processEvents);
              .def("processEvents", &QApplication_processEvents)
              .def("processEventsT", &QApplication_processEventsT);

       scope().attr("qApp") = boost::ref(qApp);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void QApplication_processEvents ( QApplication &  app)

Definition at line 13 of file scripter2_qtclass_qapplication.cpp.

{
       app.processEvents();
}

Here is the caller graph for this function:

void QApplication_processEventsT ( QApplication &  app,
int  maxtime 
)

Definition at line 18 of file scripter2_qtclass_qapplication.cpp.

{
       app.processEvents(maxtime);
}

Here is the caller graph for this function: