testaddresslineedit.cpp Source File (kabc Library)

| # kabc Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | 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 kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:29:22 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001