summaryrefslogtreecommitdiffstats
path: root/core/polkitqt1-details.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2021-10-31 00:13:21 +0900
committerMichele Calgaro <[email protected]>2021-10-31 00:14:22 +0900
commite8933e99b4600d91e9eab7d1ad3a2d35813028a9 (patch)
treeb2899fd1ef651a1bff56918ace94625a4bc14aa0 /core/polkitqt1-details.h
parente8494e60efeb94c67c813d1c1c038031915e8c17 (diff)
downloadpolkit-tqt-e8933e99b4600d91e9eab7d1ad3a2d35813028a9.tar.gz
polkit-tqt-e8933e99b4600d91e9eab7d1ad3a2d35813028a9.zip
More Qt->TQt conversion and some clean up.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'core/polkitqt1-details.h')
-rw-r--r--core/polkitqt1-details.h97
1 files changed, 0 insertions, 97 deletions
diff --git a/core/polkitqt1-details.h b/core/polkitqt1-details.h
deleted file mode 100644
index 2cb18163c..000000000
--- a/core/polkitqt1-details.h
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * This file is part of the Polkit-qt project
- * Copyright (C) 2009 Radek Novacek <[email protected]>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef POLKITQT1_DETAILS_H
-#define POLKITQT1_DETAILS_H
-
-#include "polkitqt1-export.h"
-
-#include <TQtCore/TQObject>
-#include <TQtCore/TQSharedData>
-
-typedef struct _PolkitDetails PolkitDetails;
-
-/**
- * \namespace PolkitTQt1 PolkitTQt
- *
- * \brief Namespace wrapping Polkit-TQt classes
- *
- * This namespace wraps all Polkit-TQt classes.
- */
-namespace PolkitTQt1
-{
-
-/**
- * \class Details polkitqt1-details.h Details
- * \author Radek Novacek <[email protected]>
- *
- * \brief Class used for passing details around.
- */
-class POLKITQT1_EXPORT Details
-{
-public:
- /**
- * Creates a new Details object
- */
- Details();
-
- /**
- * Creates Details object from PolkitDetails
- *
- * \warning Use this only if you are completely aware of what are you doing!
- *
- * \param pkDetails PolkitDetails object
- */
- explicit Details(PolkitDetails *pkDetails);
-
- ~Details();
-
- Details &operator=(const Details &other);
-
- /**
- * Get the value for \p key
- *
- * \param key A key
- * \return Value of the key \p key, otherwise empty TQString.
- */
- TQString lookup(const TQString &key) const;
-
- /**
- * Inserts key \p key with value \p value.
- *
- * \param key A key.
- * \param value A value.
- */
- void insert(const TQString &key, const TQString &value);
-
- /**
- * Gets a list of all keys.
- *
- * \return List of all keys.
- */
- TQStringList keys() const;
-private:
- class Data;
- TQExplicitlySharedDataPointer< Data > d;
-};
-
-}
-
-#endif // DETAILS_H