summaryrefslogtreecommitdiffstats
path: root/kio/tests/kscantest.cpp
blob: 347993af83933f3c9189923fdc2446656184ae12 (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 ) {
	tqDebug("*** EEK, no Scan-service available, aborting!");
	return 0;
    }
    
    dlg->show();

    return app.exec();
}