kozoomaction.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef kozoomaction_h
00020 #define kozoomaction_h
00021
00022 #include <kaction.h>
00023 #include <koffice_export.h>
00031 class KOFFICEUI_EXPORT KoZoomAction : public KSelectAction
00032 {
00033 Q_OBJECT
00034
00035 public:
00036
00040 KoZoomAction( const QString& text, const QIconSet& pix,
00041 const KShortcut& cut = KShortcut(), QObject* parent = 0, const char* name = 0 );
00042
00046 KoZoomAction( const QString& text, const QString& pix,
00047 const KShortcut& cut = KShortcut(), QObject* parent = 0, const char* name = 0 );
00048
00049 public slots:
00050
00055 void setZoom( const QString& zoom );
00056
00061 void setZoom( int zoom );
00062
00063 protected slots:
00064
00065 void activated( const QString& text );
00066
00067 signals:
00068
00073 void zoomChanged( const QString& zoom );
00074
00075 protected:
00076
00077 void init();
00078
00079 };
00080
00081
00082 #endif // kozoomaction_h
This file is part of the documentation for lib Library Version 1.4.2.