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(); }
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(); }