parts/partexplorer/partexplorerform.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2003 by Mario Scalas * 00003 * mario.scalas@libero.it * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 ***************************************************************************/ 00011 00012 #ifndef PARTEXPLORERFORM_H 00013 #define PARTEXPLORERFORM_H 00014 00015 #include <ktrader.h> 00016 #include <kdialogbase.h> 00017 00018 class ResultsList; 00019 class PartExplorerFormBase; 00020 00026 class PartExplorerForm : public KDialogBase 00027 { 00028 Q_OBJECT 00029 public: 00030 PartExplorerForm( QWidget *parent = 0 ); 00031 virtual ~PartExplorerForm(); 00032 00036 void fillServiceList( const KTrader::OfferList &services ); 00037 00038 QString serviceType() const; 00039 QString costraints() const; 00040 00041 public slots: 00042 void slotDisplayError( QString ); 00043 00044 protected slots: 00045 void slotSearchRequested(); 00046 void slotServicetypeChanged( const QString& ); 00047 00048 private: 00049 ResultsList *m_resultsList; 00050 PartExplorerFormBase *m_base; 00051 }; 00052 00053 #endif