Messagelib
7 #include "openwithurlinfo.h"
9 using namespace MessageViewer;
10 OpenWithUrlInfo::OpenWithUrlInfo() =
default;
12 OpenWithUrlInfo::~OpenWithUrlInfo() =
default;
16 d <<
"command " << t.command();
17 d <<
"command line " << t.commandLine();
18 d <<
"url " << t.url();
22 const QString &OpenWithUrlInfo::command()
const
27 void OpenWithUrlInfo::setCommand(
const QString &newCommand)
29 mCommand = newCommand;
32 const QString &OpenWithUrlInfo::url()
const
37 void OpenWithUrlInfo::setUrl(
const QString &newUrl)
42 bool OpenWithUrlInfo::isValid()
const
47 const QString &OpenWithUrlInfo::commandLine()
const
52 void OpenWithUrlInfo::setCommandLine(
const QString &newCommandLine)
54 mCommandLine = newCommandLine;
59 return mCommandLine == other.commandLine() && mCommand == other.command() && mUrl == other.url();
The OpenWithUrlInfo class.
QDataStream & operator<<(QDataStream &out, const KDateTime &dateTime)
bool isEmpty() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Mar 20 2023 04:04:14 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.