blob: 6e798083cc476f74cb9c4fabcd3b8ad19c538653 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <kapplication.h>
#include <kscan.h>
int main( int argc, char **argv )
{
KApplication app( argc, argv, "kscantest", true, true );
KScanDialog *dlg = KScanDialog::getScanDialog();
if ( !dlg ) {
qDebug("*** EEK, no Scan-service available, aborting!");
return EXIT_FAILURE;
}
dlg->show();
return app.exec();
}
|