You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdelibs/kio/tests/kscantest.cpp

17 lines
348 B

#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();
}