1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : a tool bar for slideshow
9
* Copyright (C) 2004-2005 by Renchi Raju <renchi@pooh.tam.uiuc.edu>
10
* Copyright (C) 2006-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
12
* This program is free software; you can redistribute it
13
* and/or modify it under the terms of the GNU General
14
* Public License as published by the Free Software Foundation;
15
* either version 2, or (at your option)
18
* This program is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
* GNU General Public License for more details.
23
* ============================================================ */
32
#include "digikam_export.h"
41
class DIGIKAM_EXPORT ToolBar : public QWidget
47
ToolBar(QWidget* parent);
51
bool isPaused() const;
52
void setPaused(bool val);
54
void setEnabledPlay(bool val);
55
void setEnabledNext(bool val);
56
void setEnabledPrev(bool val);
60
void keyPressEvent(QKeyEvent *event);
72
void slotPlayBtnToggled();
73
void slotNexPrevClicked();
79
friend class SlideShow;
82
} // Namespace Digikam
84
#endif /* TOOL_BAR_H */