File indexing completed on 2022-11-29 18:26:11

0001 #include <QApplication>
0002 #include <kscan.h>
0003 int main(int argc, char **argv)
0004 {
0005     QApplication::setApplicationName("kscantest");
0006     QApplication app(argc, argv);
0007     KScanDialog *dlg = KScanDialog::getScanDialog();
0008     if (!dlg) {
0009         qDebug("*** EEK, no Scan-service available, aborting!");
0010         return 0;
0011     }
0012 
0013     dlg->show();
0014 
0015     return app.exec();
0016 }