X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fui%2Fdialog%2Fmemory.h;h=792391b8973cdc4377d8e460d83db279133ef65d;hb=ec12cb48c1da4c3029b9e8c2eea263499d319599;hp=0fe7f87c575da149ac5c7e2f4e4494f2844c37cc;hpb=a0df1b8dd5b14367c583ce2f72a2ca6bf1cde799;p=inkscape.git diff --git a/src/ui/dialog/memory.h b/src/ui/dialog/memory.h index 0fe7f87c5..792391b89 100644 --- a/src/ui/dialog/memory.h +++ b/src/ui/dialog/memory.h @@ -1,30 +1,28 @@ -/** - * \brief Memory statistics dialog - * - * Authors: +/** @file + * @brief Memory statistics dialog + */ +/* Authors: * MenTaLguY * * Copyright 2005 Authors - * * Released under GNU GPL. Read the file 'COPYING' for more information. */ #ifndef SEEN_INKSCAPE_UI_DIALOG_MEMORY_H #define SEEN_INKSCAPE_UI_DIALOG_MEMORY_H -#include "dialog.h" +#include "ui/widget/panel.h" namespace Inkscape { namespace UI { namespace Dialog { -class Memory : public Dialog { +class Memory : public UI::Widget::Panel { public: - Memory(Behavior::BehaviorFactory behavior_factory); + Memory(); ~Memory(); - static Memory *create(Behavior::BehaviorFactory behavior_factory) - { return new Memory(behavior_factory); } + static Memory &getInstance() { return *new Memory(); } protected: void _apply(); @@ -52,4 +50,4 @@ private: fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :