25#ifndef __KPANELMENU_H__
26#define __KPANELMENU_H__
29#include <tdepopupmenu.h>
30#include <kgenericfactory.h>
32class KPanelMenuPrivate;
62 KPanelMenu(TQWidget *parent=0,
const char *name=0);
70 KPanelMenu(
const TQString &startDir, TQWidget *parent=0,
const char *name=0);
82 const TQString& path()
const;
88 void setPath(
const TQString &p);
96 bool initialized()
const;
103 void setInitialized(
bool on);
111 void disableAutoClear();
137 virtual void slotAboutToShow();
164 virtual void hideEvent(TQHideEvent *ev);
168 void init(
const TQString& path = TQString::null);
171 virtual void virtual_hook(
int id,
void* data );
173 void internalInitialize();
174 KPanelMenuPrivate *d;
177#define K_EXPORT_KICKER_MENUEXT( libname, classname ) \
178 K_EXPORT_COMPONENT_FACTORY( \
179 kickermenu_##libname, \
180 KGenericFactory<classname>("libkickermenu_" #libname) )