| Home · All Namespaces · All Classes |
00001 /*************************************************************************** 00002 ** 00003 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 00004 ** All rights reserved. 00005 ** Contact: Nokia Corporation (directui@nokia.com) 00006 ** 00007 ** This file is part of mhome. 00008 ** 00009 ** If you have questions regarding the use of this file, please contact 00010 ** Nokia at directui@nokia.com. 00011 ** 00012 ** This library is free software; you can redistribute it and/or 00013 ** modify it under the terms of the GNU Lesser General Public 00014 ** License version 2.1 as published by the Free Software Foundation 00015 ** and appearing in the file LICENSE.LGPL included in the packaging 00016 ** of this file. 00017 ** 00018 ****************************************************************************/ 00019 00020 #include "launcheraction.h" 00021 00022 LauncherAction::LauncherAction() 00023 : Action() 00024 { 00025 } 00026 00027 LauncherAction::LauncherAction(const QString& desktopEntry) 00028 : Action(Action::defaultActionForFile(desktopEntry, "application/x-desktop")) 00029 { 00030 } 00031 00032 bool operator==(const LauncherAction &a, const LauncherAction &b) 00033 { 00034 return 00035 a.isValid() && b.isValid() && 00036 a.name() == b.name() && 00037 a.localizedName() == b.localizedName() && 00038 a.icon() == b.icon(); 00039 } 00040 00041 bool operator!=(const LauncherAction &a, const LauncherAction &b) 00042 { 00043 return !(a == b); 00044 }
| Copyright © 2010 Nokia Corporation | Generated on Thu Nov 4 2010 18:20:42 Doxygen 1.7.1 |
MeeGo Touch |