/usr/include/KWWidgets/vtkKWTheme.h is in libkwwidgets1-dev 1.0.0~cvs20100930-8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | /*=========================================================================
Module: $RCSfile: vtkKWTheme.h,v $
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkKWTheme - a theme superclass
// .SECTION Description
// This class provides very simple/basic theming capabilities; it can be
// used to setup an application-wide "theme" or "brand" by overriding the
// default look&feel of the KWWidgets objects.
// It mainly revolves around adding entries to the application's option
// database (vtkKWOptionDataBase).
// Check the Examples/Cxx/Theme for more details.
// .SECTION Thanks
// This work is part of the National Alliance for Medical Image
// Computing (NAMIC), funded by the National Institutes of Health
// through the NIH Roadmap for Medical Research, Grant U54 EB005149.
// Information on the National Centers for Biomedical Computing
// can be obtained from http://nihroadmap.nih.gov/bioinformatics.
// .SECTION See Also
// vtkKWOptionDataBase
#ifndef __vtkKWTheme_h
#define __vtkKWTheme_h
#include "vtkKWObject.h"
class vtkKWOptionDataBase;
class KWWidgets_EXPORT vtkKWTheme : public vtkKWObject
{
public:
static vtkKWTheme* New();
vtkTypeRevisionMacro(vtkKWTheme, vtkKWObject);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Ask the theme to install/uninstall itself.
// Subclasses should make sure to call the same superclass methods before
// setting up their own options so that the application's option
// database is backup'ed/restored correctly.
virtual void Install();
virtual void Uninstall();
protected:
vtkKWTheme();
~vtkKWTheme();
// Description:
// Backup the current option-database, and restore it
virtual void BackupCurrentOptionDataBase();
virtual void RestorePreviousOptionDataBase();
vtkKWOptionDataBase *BackupOptionDataBase;
private:
vtkKWTheme(const vtkKWTheme&); // Not implemented
void operator=(const vtkKWTheme&); // Not implemented
};
#endif
|