~ubuntu-branches/ubuntu/dapper/ksystemlog/dapper

« back to all changes in this revision

Viewing changes to ksystemlog/src/slotLogAction.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2005-07-07 16:00:00 UTC
  • Revision ID: james.westby@ubuntu.com-20050707160000-a104d769ph3yfkg4
Tags: upstream-0.3.2
ImportĀ upstreamĀ versionĀ 0.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2005 by Nicolas Ternisien                               *
 
3
 *   nicolas.ternisien@gmail.com                                           *
 
4
 *                                                                         *
 
5
 *   This program is free software; you can redistribute it and/or modify  *
 
6
 *   it under the terms of the GNU General Public License as published by  *
 
7
 *   the Free Software Foundation; either version 2 of the License, or     *
 
8
 *   (at your option) any later version.                                   *
 
9
 *                                                                         *
 
10
 *   This program is distributed in the hope that it will be useful,       *
 
11
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 
12
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 
13
 *   GNU General Public License for more details.                          *
 
14
 *                                                                         *
 
15
 *   You should have received a copy of the GNU General Public License     *
 
16
 *   along with this program; if not, write to the                         *
 
17
 *   Free Software Foundation, Inc.,                                       *
 
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 
19
 ***************************************************************************/
 
20
 
 
21
 
 
22
#ifndef _SLOT_LOG_ACTION_H_
 
23
#define _SLOT_LOG_ACTION_H_
 
24
 
 
25
#include <kaction.h>
 
26
 
 
27
class KSystemLog;
 
28
 
 
29
 
 
30
class SlotLogAction : public QObject {
 
31
        
 
32
        Q_OBJECT
 
33
        
 
34
        public:
 
35
                SlotLogAction(KSystemLog* parent);
 
36
                
 
37
        public slots:
 
38
                
 
39
                /**
 
40
                 * This header contains the normal version of the main slot
 
41
                 */
 
42
                void slotLogAction(KAction::ActivationReason reason, Qt::ButtonState state);
 
43
        
 
44
        private:
 
45
                KSystemLog* parent;
 
46
};
 
47
 
 
48
#endif