~ubuntu-branches/ubuntu/maverick/kdegraphics/maverick-proposed

« back to all changes in this revision

Viewing changes to okular/shell/shellutils.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2009-12-02 14:03:43 UTC
  • mfrom: (1.1.35 upstream)
  • Revision ID: james.westby@ubuntu.com-20091202140343-2732gbkj69g89arq
Tags: 4:4.3.80-0ubuntu1
* New upstream beta release:
  - Add build-depend on shared-desktop-ontologies for nepomuk integration
  - Bump .so versions for libkexiv, libkdcraw and libkipi
  - Update various .install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2009 by Pino Toscano <pino@kde.org>                     *
 
3
 *                                                                         *
 
4
 *   This program is free software; you can redistribute it and/or modify  *
 
5
 *   it under the terms of the GNU General Public License as published by  *
 
6
 *   the Free Software Foundation; either version 2 of the License, or     *
 
7
 *   (at your option) any later version.                                   *
 
8
 ***************************************************************************/
 
9
 
 
10
#ifndef OKULAR_SHELLUTILS_H
 
11
#define OKULAR_SHELLUTILS_H
 
12
 
 
13
#include <qstring.h>
 
14
 
 
15
#include <kurl.h>
 
16
 
 
17
namespace ShellUtils
 
18
{
 
19
 
 
20
typedef bool (*FileExistFunc)( const QString& fileName );
 
21
 
 
22
FileExistFunc qfileExistFunc();
 
23
KUrl urlFromArg( const QString& _arg, FileExistFunc exist_func, const QString& pageArg = QString() );
 
24
 
 
25
}
 
26
 
 
27
#endif