VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIProcess.h@ 82781

Last change on this file since 82781 was 76581, checked in by vboxsync, 5 years ago

Fe/QT: scm header guard alignment.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
  • Property svn:mergeinfo set to (toggle deleted branches)
    /branches/VBox-3.0/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.h58652,​70973
    /branches/VBox-3.2/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.h66309,​66318
    /branches/VBox-4.0/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.h70873
    /branches/VBox-4.1/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.h74233
    /branches/VBox-4.2/src/VBox/Frontends/VirtualBox/src/extensions/QIProcess.h91503-91504,​91506-91508,​91510,​91514-91515,​91521
    /branches/VBox-4.3/src/VBox/Frontends/VirtualBox/src/extensions/QIProcess.h91223
    /branches/VBox-4.3/trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIProcess.h91223
    /branches/dsen/gui/src/VBox/Frontends/VirtualBox/src/extensions/QIProcess.h79076-79078,​79089,​79109-79110,​79112-79113,​79127-79130,​79134,​79141,​79151,​79155,​79157-79159,​79193,​79197
    /branches/dsen/gui2/src/VBox/Frontends/VirtualBox/src/extensions/QIProcess.h79224,​79228,​79233,​79235,​79258,​79262-79263,​79273,​79341,​79345,​79354,​79357,​79387-79388,​79559-79569,​79572-79573,​79578,​79581-79582,​79590-79591,​79598-79599,​79602-79603,​79605-79606,​79632,​79635,​79637,​79644
    /branches/dsen/gui3/src/VBox/Frontends/VirtualBox/src/extensions/QIProcess.h79645-79692
File size: 1.5 KB
Line 
1/* $Id: QIProcess.h 76581 2019-01-01 06:24:57Z vboxsync $ */
2/** @file
3 * VBox Qt GUI - Qt extensions: QIProcess class declaration.
4 */
5
6/*
7 * Copyright (C) 2006-2019 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef FEQT_INCLUDED_SRC_extensions_QIProcess_h
19#define FEQT_INCLUDED_SRC_extensions_QIProcess_h
20#ifndef RT_WITHOUT_PRAGMA_ONCE
21# pragma once
22#endif
23
24/* Qt includes: */
25#include <QProcess>
26
27/* GUI includes: */
28#include "UILibraryDefs.h"
29
30/** QProcess extension for VBox GUI needs. */
31class SHARED_LIBRARY_STUFF QIProcess : public QProcess
32{
33 Q_OBJECT;
34
35 /** Constructs our own file-dialog passing @a pParent to the base-class.
36 * Doesn't mean to be used directly, cause this subclass is a bunch of statics. */
37 QIProcess(QObject *pParent = 0);
38
39public:
40
41 /** Execute certain script specified by @a strProcessName
42 * and wait up to specified @a iTimeout amount of time for responce. */
43 static QByteArray singleShot(const QString &strProcessName,
44 int iTimeout = 5000);
45};
46
47#endif /* !FEQT_INCLUDED_SRC_extensions_QIProcess_h */
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use