summaryrefslogtreecommitdiffstats
path: root/kio/tests/kscantest.cpp
blob: 9bc9d2ebc6eae8e5d87e060bf4e16c492252a6b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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();
}