您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
17 行
353 B
17 行
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();
|
|
}
|