TDE core libraries
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.

kscantest.cpp 353B

12345678910111213141516
  1. #include <tdeapplication.h>
  2. #include <kscan.h>
  3. int main( int argc, char **argv )
  4. {
  5. TDEApplication app( argc, argv, "kscantest", true, true );
  6. KScanDialog *dlg = KScanDialog::getScanDialog();
  7. if ( !dlg ) {
  8. tqDebug("*** EEK, no Scan-service available, aborting!");
  9. return EXIT_FAILURE;
  10. }
  11. dlg->show();
  12. return app.exec();
  13. }