parts/distpart/distpart_part.h
Go to the documentation of this file.00001 /* 00002 * Copyright (C) 2001 Ian Reinhart Geiser,LinuxPPC Inc,, <geiseri@elysium.linuxppc.org> 00003 */ 00004 00005 00006 #ifndef __KDEVPART_DISTPART_H__ 00007 #define __KDEVPART_DISTPART_H__ 00008 00009 00010 #include <qguardedptr.h> 00011 #include <kdevplugin.h> 00012 #include <kaction.h> 00013 00014 #include "packagebase.h" 00015 00016 class DistpartDialog; 00017 00018 class DistpartPart : public KDevPlugin { 00019 Q_OBJECT 00020 00021 public: 00022 00023 DistpartPart(QObject *parent, const char *name, const QStringList &); 00024 ~DistpartPart(); 00025 00026 DistpartDialog * getDlg(); 00027 00028 public slots: 00029 void show(); 00030 void hide(); 00031 00032 private: 00033 packageBase *RpmPackage, *LsmPackage; 00034 QGuardedPtr<DistpartDialog> m_dialog; 00035 KAction *m_action; 00036 }; 00037 00038 00039 #endif