You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
649 B
30 lines
649 B
12 years ago
|
#include <tdeaboutdata.h>
|
||
|
#include <tdeapplication.h>
|
||
15 years ago
|
#include <kdebug.h>
|
||
12 years ago
|
#include <tdelocale.h>
|
||
12 years ago
|
#include <tdecmdlineargs.h>
|
||
15 years ago
|
|
||
|
#include "addresslineedit.h"
|
||
|
|
||
|
using namespace KABC;
|
||
|
|
||
|
int main( int argc,char **argv )
|
||
|
{
|
||
12 years ago
|
TDEAboutData aboutData( "testaddresslineedit",
|
||
15 years ago
|
I18N_NOOP( "Test Address LineEdit" ), "0.1" );
|
||
12 years ago
|
TDECmdLineArgs::init( argc, argv, &aboutData );
|
||
15 years ago
|
|
||
12 years ago
|
TDEApplication app;
|
||
15 years ago
|
|
||
|
AddressLineEdit *lineEdit = new AddressLineEdit( 0 );
|
||
|
|
||
|
lineEdit->show();
|
||
|
app.setMainWidget( lineEdit );
|
||
|
|
||
14 years ago
|
TQObject::connect( &app, TQT_SIGNAL( lastWindowClosed() ), &app, TQT_SLOT( quit() ) );
|
||
15 years ago
|
|
||
|
app.exec();
|
||
|
|
||
|
delete lineEdit;
|
||
|
}
|