00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef RUNDIALOG_H
00011 #define RUNDIALOG_H
00012
00013 #include <qvariant.h>
00014 #include <qdialog.h>
00015 #include <ktrader.h>
00016 #include <qurl.h>
00017
00018 class QVBoxLayout;
00019 class QHBoxLayout;
00020 class QGridLayout;
00021 class QLabel;
00022 class QListBox;
00023 class QListBoxItem;
00024 class QPushButton;
00025
00026 class RunDialog : public QDialog
00027 {
00028 Q_OBJECT
00029
00030 public:
00031 RunDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00032 ~RunDialog();
00033
00034 QLabel* textLabel1;
00035 QListBox* servicelist;
00036 QPushButton* buttonHelp;
00037 QPushButton* buttonOk;
00038
00039 public slots:
00040 virtual void setData( QUrl u );
00041 virtual void slotSelected( QListBoxItem * i );
00042 virtual void slotClose();
00043
00044 protected:
00045 QUrl url;
00046 KTrader::OfferList offers;
00047
00048 QVBoxLayout* RunDialogLayout;
00049 QVBoxLayout* layout8;
00050 QHBoxLayout* Layout1;
00051
00052 protected slots:
00053 virtual void languageChange();
00054
00055 private:
00056 void init();
00057
00058 };
00059
00060 #endif // RUNDIALOG_H