TDE core libraries
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
353 B

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