5#ifndef DAPPLICATIONHELPER_H 
    6#define DAPPLICATIONHELPER_H 
    8#include <dtkwidget_global.h> 
    9#include <DGuiApplicationHelper> 
   12#if DTK_VERSION < DTK_VERSION_CHECK(6, 0, 0, 0) 
   14DWIDGET_BEGIN_NAMESPACE
 
   18class D_DECL_DEPRECATED_X(
"Use DPaletteHelper") 
DApplicationHelper : 
public DGuiApplicationHelper
 
   25    DPalette palette(
const QWidget *widget, 
const QPalette &base = QPalette()) 
const;
 
   26    void setPalette(QWidget *widget, 
const DPalette &palette);
 
   27    void resetPalette(QWidget *widget);
 
   33    bool eventFilter(QObject *watched, QEvent *event) 
override;
 
   34    bool event(QEvent *event) 
override;
 
   36    friend class _DApplicationHelper;