LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
ijobholderrepresentationhandler.h
Go to the documentation of this file.
1 /**********************************************************************
2  * LeechCraft - modular cross-platform feature rich internet client.
3  * Copyright (C) 2006-2014 Georg Rudoy
4  *
5  * Distributed under the Boost Software License, Version 1.0.
6  * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7  **********************************************************************/
8 
9 #pragma once
10 
11 #include <memory>
12 
13 class QModelIndex;
14 
15 template<typename>
16 class QList;
17 
19 {
20 public:
21  virtual ~IJobHolderRepresentationHandler () = default;
22 
23  virtual void HandleCurrentChanged (const QModelIndex&) {}
24  virtual void HandleCurrentColumnChanged (const QModelIndex&) {}
25  virtual void HandleCurrentRowChanged (const QModelIndex&) {}
27 
28  virtual void HandleActivated (const QModelIndex&) {}
29  virtual void HandleClicked (const QModelIndex&) {}
30  virtual void HandleDoubleClicked (const QModelIndex&) {}
31  virtual void HandleEntered (const QModelIndex&) {}
32  virtual void HandlePressed (const QModelIndex&) {}
33 };
34 
35 using IJobHolderRepresentationHandler_ptr = std::shared_ptr<IJobHolderRepresentationHandler>;
IJobHolderRepresentationHandler::HandlePressed
virtual void HandlePressed(const QModelIndex &)
Definition: ijobholderrepresentationhandler.h:32
IJobHolderRepresentationHandler::HandleSelectedRowsChanged
virtual void HandleSelectedRowsChanged(const QList< QModelIndex > &)
Definition: ijobholderrepresentationhandler.h:26
QList
Definition: ianrulesstorage.h:14
IJobHolderRepresentationHandler_ptr
std::shared_ptr< IJobHolderRepresentationHandler > IJobHolderRepresentationHandler_ptr
Definition: ijobholder.h:203
IJobHolderRepresentationHandler::~IJobHolderRepresentationHandler
virtual ~IJobHolderRepresentationHandler()=default
IJobHolderRepresentationHandler::HandleCurrentChanged
virtual void HandleCurrentChanged(const QModelIndex &)
Definition: ijobholderrepresentationhandler.h:23
IJobHolderRepresentationHandler::HandleClicked
virtual void HandleClicked(const QModelIndex &)
Definition: ijobholderrepresentationhandler.h:29
IJobHolderRepresentationHandler::HandleCurrentColumnChanged
virtual void HandleCurrentColumnChanged(const QModelIndex &)
Definition: ijobholderrepresentationhandler.h:24
IJobHolderRepresentationHandler::HandleCurrentRowChanged
virtual void HandleCurrentRowChanged(const QModelIndex &)
Definition: ijobholderrepresentationhandler.h:25
IJobHolderRepresentationHandler::HandleEntered
virtual void HandleEntered(const QModelIndex &)
Definition: ijobholderrepresentationhandler.h:31
IJobHolderRepresentationHandler::HandleDoubleClicked
virtual void HandleDoubleClicked(const QModelIndex &)
Definition: ijobholderrepresentationhandler.h:30
IJobHolderRepresentationHandler
Definition: ijobholderrepresentationhandler.h:18
IJobHolderRepresentationHandler::HandleActivated
virtual void HandleActivated(const QModelIndex &)
Definition: ijobholderrepresentationhandler.h:28