ActionSetAccountFirst.h 1.98 KB
Newer Older
1
/***************************************************************************
2 3 4
 *   Copyright (C) 2009-2010 by Savoir-Faire Linux                         *
 *   Author : Jérémy Quentin <jeremy.quentin@savoirfairelinux.com>         *
 *            Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com>*
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 3 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/
Jérémy Quentin's avatar
Jérémy Quentin committed
21
 
22 23 24 25 26 27 28 29
#ifndef ACTION_SET_ACCOUNT_FIRST_H
#define ACTION_SET_ACCOUNT_FIRST_H

#include <QAction>

#include "Account.h"

/**
30
   @author Jérémy Quentin <jeremy.quentin@savoirfairelinux.com>
31 32 33 34 35 36
*/
class ActionSetAccountFirst : public QAction
{
Q_OBJECT

private:
37 38
   
   Account * account;
Jérémy Quentin's avatar
Jérémy Quentin committed
39

40 41
public:

42 43
   ActionSetAccountFirst(Account * account, QObject *parent = 0);
   ~ActionSetAccountFirst();
44 45

private slots:
46 47
   void emitSetFirst();
   
48
signals:
49
   void setFirst(Account * account);
50 51 52 53

};

#endif