Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

searchresults.cpp

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** Created: Sat Jul 20 08:23:27 2002
00003 **      by:  L.J. Potter <ljp@llornkcor.com>
00004 **     copyright            : (C) 2002 by ljp
00005     email                : ljp@llornkcor.com
00006     *   This program is free software; you can redistribute it and/or modify  *
00007     *   it under the terms of the GNU General Public License as published by  *
00008     *   the Free Software Foundation; either version 2 of the License, or     *
00009     *   (at your option) any later version.                                   *
00010     ***************************************************************************/
00011 #include "searchresults.h"
00012 
00013 
00014 #include <qlistbox.h>
00015 #include <qlayout.h>
00016 
00017 Search_Results::Search_Results( QWidget* parent,  const char* name, bool modal, WFlags fl )
00018     : QDialog( parent, name, modal, fl ) {
00019     if ( !name )
00020     setName( drinkName);
00021 
00022     drinkName = name;
00023     setCaption( drinkName );
00024 
00025     Layout5 = new QGridLayout( this ); 
00026     Layout5->setSpacing( 6 );
00027     Layout5->setMargin( 4 );
00028 
00029     ListBox1 = new QListBox( this, "ListBox1" );
00030     
00031     Layout5->addMultiCellWidget(  ListBox1, 0, 1, 0, 3 );
00032     connect( ListBox1, SIGNAL( clicked(QListBoxItem*)), SLOT( listSelected(QListBoxItem*)) );
00033 }
00034 
00035 Search_Results::~Search_Results() {
00036 }
00037 
00038 
00039 void Search_Results::listSelected(QListBoxItem *) {
00040     
00041     QDialog::accept();
00042 }
00043 

Generated on Sat Nov 5 16:16:48 2005 for OPIE by  doxygen 1.4.2