summaryrefslogtreecommitdiffstats
path: root/src/commands/group.h
blob: 6b48d5f5ca51b12c292638701ba1b7274261b28b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/***************************************************************************
    copyright            : (C) 2005-2006 by Robby Stephenson
    email                : [email protected]
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of version 2 of the GNU General Public License as  *
 *   published by the Free Software Foundation;                            *
 *                                                                         *
 ***************************************************************************/

#ifndef TELLICO_COMMAND_GROUP_H
#define TELLICO_COMMAND_GROUP_H

#include <kcommand.h>

namespace Tellico {
  namespace Command {

/**
 * @author Robby Stephenson
 */
class Group : public KMacroCommand {

public:
  Group(const TQString& name) : KMacroCommand(name) {}

  virtual TQString name() const;

  bool isEmpty() const { return m_commands.count() == 0; }
};

  } // end namespace
}

#endif