summaryrefslogtreecommitdiffstats
path: root/kdelirc/kdelirc/arguments.cpp
blob: fc678ce9204e2768a76d5a17f0d83598efd925c3 (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
//
//
// C++ Implementation: $MODULE$
//
// Description:
//
//
// Author: Gav Wood <gav@kde.org>, (C) 2003
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include <tqstring.h>

#include "arguments.h"

Arguments::Arguments()
{
}

Arguments::~Arguments()
{
}

const TQString Arguments::toString() const
{
	TQString ret = "";
	for(Arguments::const_iterator i = begin(); i != end(); ++i)
	{	TQString s = (*i).toString();
		if(s.isNull()) s = "...";
		if(i != begin()) ret += ", ";
		ret += s;
	}
	return ret;
}