# kabc Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# testaddresslineedit.cpp

    00001 #include <kaboutdata.h>
    00002 #include <kapplication.h>
    00003 #include <kdebug.h>
    00004 #include <klocale.h>
    00005 #include <kcmdlineargs.h>
    00006
    00007 #include "addresslineedit.h"
    00008
    00009 using namespace KABC;
    00010
    00011 int main( int argc,char **argv )
    00012 {
    00013   KAboutData aboutData( "testaddresslineedit",
    00014                         I18N_NOOP( "Test Address LineEdit" ), "0.1" );
    00015   KCmdLineArgs::init( argc, argv, &aboutData );
    00016
    00017   KApplication app;
    00018
    00019   AddressLineEdit *lineEdit = new AddressLineEdit( 0 );
    00020
    00021   lineEdit->show();
    00022   app.setMainWidget( lineEdit );
    00023
    00024   QObject::connect( &app, SIGNAL( lastWindowClosed() ), &app, SLOT( quit() ) );
    00025
    00026   app.exec();
    00027
    00028   delete lineEdit;
    00029 }

This file is part of the documentation for kabc Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:31:31 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003