1
// -*- Mode: c++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; -*-
2
/* This file is part of the KDE project
3
Copyright (C) 1998, 1999 Reginald Stadlbauer <reggie@kde.org>
5
This library is free software; you can redistribute it and/or
6
modify it under the terms of the GNU Library General Public
7
License as published by the Free Software Foundation; either
8
version 2 of the License, or (at your option) any later version.
10
This library is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
Library General Public License for more details.
15
You should have received a copy of the GNU Library General Public License
16
along with this library; see the file COPYING.LIB. If not, write to
17
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18
Boston, MA 02111-1307, USA.
21
#ifndef KPRESENTER_OBJ_IFACE_H
22
#define KPRESENTER_OBJ_IFACE_H
24
#include <dcopobject.h>
32
class KPresenterObjectIface : public DCOPObject
36
KPresenterObjectIface( KPObject *obj_ );
42
void move( double x, double y );
44
void resize( double width, double height );
46
bool isSelected() const;
48
int shadowDistance() const;
49
int shadowDirection() const;
50
QColor shadowColor() const;
53
int appearStep() const;
54
int subPresSteps() const;
55
bool disappear() const;
56
int disappearStep() const;
59
void setEffect(const QString & effect);
60
void setEffect3(const QString & effect);
62
void setSelected( bool _selected );
63
void rotate( float _angle );
64
void setShadowDistance( int _distance );
65
void setSticky( bool b );
66
bool isSticky() const;
68
void shadowColor( const QColor & _color );
70
void setAppearTimer( int _appearTimer );
71
void setDisappearTimer( int _disappearTimer );
73
void setAppearSoundEffect( bool b );
74
void setDisappearSoundEffect( bool b );
75
void setAppearSoundEffectFileName( const QString & _a_fileName );
76
void setDisappearSoundEffectFileName( const QString &_d_fileName );
78
void setObjectName( const QString &_objectName );
80
void setAppearStep( int _appearStep );
82
void setDisappear( bool b );
84
int appearTimer() const;
85
int disappearTimer() const;
86
bool appearSoundEffect() const;
87
bool disappearSoundEffect() const;
88
QString appearSoundEffectFileName() const;
89
QString disappearSoundEffectFileName() const;
90
QString typeString() const;
92
void setProtected( bool b );
93
bool isProtected() const;
95
void setKeepRatio( bool b );
96
bool isKeepRatio() const;