Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
17 rindas
353 B
17 rindas
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();
|
|
}
|