• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • superkaramba
 

superkaramba

  • superkaramba
  • src
themewidget.h
1/*
2 * Copyright (C) 2005 Petri Damstén <petri.damsten@iki.fi>
3 *
4 * This file is part of SuperKaramba.
5 *
6 * SuperKaramba is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * SuperKaramba is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with SuperKaramba; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 ****************************************************************************/
20#ifndef THEMEWIDGET_H
21#define THEMEWIDGET_H
22
23#include "themefile.h"
24#include <themewidget_layout.h>
25
30class ThemeWidget : public ThemeWidgetLayout
31{
32 TQ_OBJECT
33
34 public:
35 ThemeWidget(TQWidget *parent = 0, const char *name = 0);
36 ThemeWidget(ThemeFile* tf);
37 ~ThemeWidget();
38
39 ThemeFile* themeFile() const { return m_themeFile; };
40
41 int addInstance();
42 int instances() const { return m_instancePool.count(); };
43 void removeInstance(int instance);
44
45 void setDescriptionText(TQString text);
46 void setHeaderText(TQString text);
47 void showButton(bool show);
48
49 protected:
50 void updateRunning();
51 void setDescriptionMaxHeight();
52
53 private:
54 ThemeFile* m_themeFile;
55 TQValueList<int> m_instancePool;
56};
57
58#endif
ThemeFile
Definition: themefile.h:43
ThemeWidget
Definition: themewidget.h:31

superkaramba

Skip menu "superkaramba"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

superkaramba

Skip menu "superkaramba"
  • kcalc
  •   knumber
  • superkaramba
Generated for superkaramba by doxygen 1.9.4
This website is maintained by Timothy Pearson.