Back to index

im-sdk  12.3.91
Functions
main.cpp File Reference
#include <qapplication.h>
#include <qsettings.h>
#include <qlabel.h>
#include "testinputwidgets.h"

Go to the source code of this file.

Functions

int main (int argc, char **argv)

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 8 of file main.cpp.

{
    QApplication a( argc, argv );

    TestInputWidgets test;
    QSettings st;
    test.currentImmodule->setText(st.readEntry("/qt/DefaultInputMethod", "XIM"));
    a.setMainWidget( &test );
    test.move(350, 200);
    test.show();
    return a.exec();
}