Solid
xdgbasedirs_p.h
Go to the documentation of this file.
00001 /*************************************************************************** 00002 * Copyright (C) 2007 by Kevin Krammer <kevin.krammer@gmx.at> * 00003 * * 00004 * This program is free software; you can redistribute it and/or modify * 00005 * it under the terms of the GNU Library General Public License as * 00006 * published by the Free Software Foundation; either version 2 of the * 00007 * License, or (at your option) any later version. * 00008 * * 00009 * This program is distributed in the hope that it will be useful, * 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00012 * GNU General Public License for more details. * 00013 * * 00014 * You should have received a copy of the GNU Library General Public * 00015 * License along with this program; if not, write to the * 00016 * Free Software Foundation, Inc., * 00017 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * 00018 ***************************************************************************/ 00019 00020 /* 00021 * This file was copied to solid from [akonadi]/libs/xdgbasedirs_p.h and slimmed down. 00022 * UDev::PortableMediaPlayer uses findResourceFile() which in turn uses homePath() and 00023 * systemPathList() so these are exported here too 00024 */ 00025 00026 #ifndef SOLID_XDGBASEDIRS_H 00027 #define SOLID_XDGBASEDIRS_H 00028 00029 class QString; 00030 class QStringList; 00031 00032 namespace Solid 00033 { 00051 namespace XdgBaseDirs 00052 { 00067 QString homePath( const char *resource ); 00068 00089 QStringList systemPathList( const char *resource ); 00090 00108 QString findResourceFile( const char *resource, const QString &relPath ); 00109 } 00110 } 00111 00112 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 20:52:05 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 20:52:05 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.