From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RBpiM-00087O-2J for garchives@archives.gentoo.org; Thu, 06 Oct 2011 15:18:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF1D821C0ED; Thu, 6 Oct 2011 15:18:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7ECF221C0ED for ; Thu, 6 Oct 2011 15:18:17 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ED9C61B4040 for ; Thu, 6 Oct 2011 15:18:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 131D180042 for ; Thu, 6 Oct 2011 15:18:16 +0000 (UTC) From: "Theofilos Intzoglou" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Theofilos Intzoglou" Message-ID: <7a69d8e8676dd31d07a6f44e43eafdc4b7be1cf6.parapente@gentoo> Subject: [gentoo-commits] proj/c-portage:cmake_port commit in: src/Qt/ X-VCS-Repository: proj/c-portage X-VCS-Files: src/Qt/qportagesettings.cpp src/Qt/qportagesettings.h X-VCS-Directories: src/Qt/ X-VCS-Committer: parapente X-VCS-Committer-Name: Theofilos Intzoglou X-VCS-Revision: 7a69d8e8676dd31d07a6f44e43eafdc4b7be1cf6 Date: Thu, 6 Oct 2011 15:18:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 7bff8132838477143ab03c4a24952f71 commit: 7a69d8e8676dd31d07a6f44e43eafdc4b7be1cf6 Author: Theofilos Intzoglou gmail com> AuthorDate: Thu Oct 6 15:17:17 2011 +0000 Commit: Theofilos Intzoglou gmail com> CommitDate: Thu Oct 6 15:17:17 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/c-portage.git= ;a=3Dcommit;h=3D7a69d8e8 Small fixes to make the PortageSettings class compilable --- src/Qt/qportagesettings.cpp | 5 +---- src/Qt/qportagesettings.h | 37 ++++++++++++++++++------------------- 2 files changed, 19 insertions(+), 23 deletions(-) diff --git a/src/Qt/qportagesettings.cpp b/src/Qt/qportagesettings.cpp index 4fbccb0..f69af6c 100644 --- a/src/Qt/qportagesettings.cpp +++ b/src/Qt/qportagesettings.cpp @@ -78,7 +78,4 @@ void PortageSettings::Free() =20 } =20 -} - - -#include "qportagesettings.moc" \ No newline at end of file +} \ No newline at end of file diff --git a/src/Qt/qportagesettings.h b/src/Qt/qportagesettings.h index 4034dd1..e72af42 100644 --- a/src/Qt/qportagesettings.h +++ b/src/Qt/qportagesettings.h @@ -3,15 +3,14 @@ =20 =20 #include -#include +#include "../portagesettings.h" =20 +class QString; +class QStringList; =20 namespace CppPortage { - =20 - class QString; - class QStringList; =20 -class PortageSettings : public Q_OBJECT +class PortageSettings : public QObject { Q_OBJECT public: @@ -19,24 +18,24 @@ public: virtual ~PortageSettings(); =20 =20 -int ResetUseFlags(PortageSettings*); -int Reset(PortageSettings*); -int ReloadConfig(PortageSettings*); -int ReloadWorld(PortageSettings*); -QStringList GetWorld(PortageSettings*); -QStringList GetArchList(PortageSettings*); -QStringList GetVirtuals(PortageSettings*); +int ResetUseFlags(); +int Reset(); +int ReloadConfig(); +int ReloadWorld(); +QStringList GetWorld(); +QStringList GetArchList(); +QStringList GetVirtuals(); =20 =20 -const QString AcceptKeywords(PortageSettings*); -const QStringList SystemUseFlags(PortageSettings*); -const QString Arch(PortageSettings*); -const QString Portdir(PortageSettings*); -const QString PortdirOverlay(PortageSettings*); -const QString UserConfigDir(PortageSettings*); +const QString AcceptKeywords(); +const QStringList SystemUseFlags(); +const QString Arch(); +const QString Portdir(); +const QString PortdirOverlay(); +const QString UserConfigDir(); =20 =20 -void portageSettingsFree(PortageSettings*); +void Free(); }; } #endif \ No newline at end of file