/***************************************************************************
                            kde_KRecentDocument.cpp -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

extern "C" {
#include "kde_KRecentDocument.h"
}

#include <qstringlist.h>
#include <krecentdocument.h>

qt_QStringList* kde_KRecentDocument_recentDocuments( ){
	return (qt_QStringList*)new QStringList(KRecentDocument::recentDocuments());
}
void kde_KRecentDocument_add( kde_KURL* url){
	KRecentDocument::add((KURL&)* (KURL*)url);
	return;
}
void kde_KRecentDocument_add1( qt_QString * documentStr, int isURL){
	KRecentDocument::add((QString&)* (QString*)documentStr, (bool)isURL);
	return;
}
void kde_KRecentDocument_clear( ){
	KRecentDocument::clear();
	return;
}
int kde_KRecentDocument_maximumItems( ){
	return (int) KRecentDocument::maximumItems();
}
qt_QString * kde_KRecentDocument_recentDocumentDirectory( ){
	return (qt_QString *)new QString(KRecentDocument::recentDocumentDirectory());
}
