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
325 B

#include <kapplication.h>
#include <kscan.h>
int main( int argc, char **argv )
{
KApplication app( argc, argv, "kscantest" );
KScanDialog *dlg = KScanDialog::getScanDialog();
if ( !dlg ) {
qDebug("*** EEK, no Scan-service available, aborting!");
return 0;
}
dlg->show();
return app.exec();
}