Esempio n. 1
0
int main(int argc, char **argv)
{
    QApplication app(argc, argv);

    TestDialog test;
    test.check(QString::fromLatin1("This is a sample buffer. Whih this thingg will "
               "be checkin for misstakes. Whih, Enviroment, govermant. Whih.")
              );

    return app.exec();
}
Esempio n. 2
0
int main( int argc, char** argv )
{
    //KApplication::disableAutoDcopRegistration();
    KCmdLineArgs::init( argc, argv, "test_dialog", 0, ki18n("test_dialog"), 0);
    KApplication app; // with GUI

    TestDialog test;
    test.check( "This is a sample buffer. Whih this thingg will "
                "be checkin for misstakes. Whih, Enviroment, govermant. Whih."
        );

    return app.exec();
}