From be1f90d40f50eb67fa641bd55e109af8338239c7 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Tue, 31 Jan 2006 03:09:23 +0000 Subject: Made RequestTradeDialog inherit from ConfirmDialog. --- src/gui/requesttrade.h | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'src/gui/requesttrade.h') diff --git a/src/gui/requesttrade.h b/src/gui/requesttrade.h index d9ea67ed..5aa41ddb 100644 --- a/src/gui/requesttrade.h +++ b/src/gui/requesttrade.h @@ -24,18 +24,14 @@ #ifndef _TMW_REQUESTTRADE_ #define _TMW_REQUESTTRADE_ -#include -#include - -#include "window.h" -#include "../guichanfwd.h" +#include "confirm_dialog.h" /** * The request trade dialog. * * \ingroup Interface */ -class RequestTradeDialog : public Window, public gcn::ActionListener +class RequestTradeDialog : public ConfirmDialog { public: /** @@ -44,15 +40,6 @@ class RequestTradeDialog : public Window, public gcn::ActionListener * @see Window::Window */ RequestTradeDialog(const std::string &name); - - /** - * Called when receiving actions from the widgets. - */ - void action(const std::string& eventId); - - private: - gcn::Button *mAcceptButton; - gcn::Button *mCancelButton; }; #endif -- cgit v1.2.3-70-g09d2