[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[vidalia-svn] r3242: Add an UpdateDialog class around the ui added in r3241. (vidalia/branches/auto-updates/src/vidalia)
Author: edmanm
Date: 2008-10-19 12:50:43 -0400 (Sun, 19 Oct 2008)
New Revision: 3242
Added:
vidalia/branches/auto-updates/src/vidalia/updatedialog.cpp
vidalia/branches/auto-updates/src/vidalia/updatedialog.h
Modified:
vidalia/branches/auto-updates/src/vidalia/CMakeLists.txt
Log:
Add an UpdateDialog class around the ui added in r3241.
Modified: vidalia/branches/auto-updates/src/vidalia/CMakeLists.txt
===================================================================
--- vidalia/branches/auto-updates/src/vidalia/CMakeLists.txt 2008-10-19 03:51:47 UTC (rev 3241)
+++ vidalia/branches/auto-updates/src/vidalia/CMakeLists.txt 2008-10-19 16:50:43 UTC (rev 3242)
@@ -217,6 +217,12 @@
log/messagelog.ui
network/netviewer.ui
)
+if (WIN32)
+ set(vidalia_SRCS ${vidalia_SRCS} updatedialog.cpp)
+ qt4_wrap_cpp(vidalia_SRCS updatedialog.h)
+ qt4_wrap_ui(vidalia_SRCS updatedialog.ui)
+endif(WIN32)
+
if (USE_MINIUPNPC)
qt4_wrap_ui(vidalia_SRCS config/upnptestdialog.ui)
endif(USE_MINIUPNPC)
Added: vidalia/branches/auto-updates/src/vidalia/updatedialog.cpp
===================================================================
--- vidalia/branches/auto-updates/src/vidalia/updatedialog.cpp (rev 0)
+++ vidalia/branches/auto-updates/src/vidalia/updatedialog.cpp 2008-10-19 16:50:43 UTC (rev 3242)
@@ -0,0 +1,26 @@
+/*
+** This file is part of Vidalia, and is subject to the license terms in the
+** LICENSE file, found in the top level directory of this distribution. If you
+** did not receive the LICENSE file with this file, you may obtain it from the
+** Vidalia source package distributed by the Vidalia Project at
+** http://www.vidalia-project.net/. No part of Vidalia, including this file,
+** may be copied, modified, propagated, or distributed except according to the
+** terms described in the LICENSE file.
+*/
+
+/*
+** \file updatedialog.cpp
+** \version $Id$
+** \brief Displays a list of available updates and details, such as release
+** notes. The user can choose to either install the updates now or later, or
+** skip the updates entirely.
+*/
+
+#include "updatedialog.h"
+
+UpdateDialog::UpdateDialog(QWidget *parent)
+ : QDialog(parent)
+{
+ ui.setupUi(this);
+}
+
Property changes on: vidalia/branches/auto-updates/src/vidalia/updatedialog.cpp
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Added: vidalia/branches/auto-updates/src/vidalia/updatedialog.h
===================================================================
--- vidalia/branches/auto-updates/src/vidalia/updatedialog.h (rev 0)
+++ vidalia/branches/auto-updates/src/vidalia/updatedialog.h 2008-10-19 16:50:43 UTC (rev 3242)
@@ -0,0 +1,40 @@
+/*
+** This file is part of Vidalia, and is subject to the license terms in the
+** LICENSE file, found in the top level directory of this distribution. If you
+** did not receive the LICENSE file with this file, you may obtain it from the
+** Vidalia source package distributed by the Vidalia Project at
+** http://www.vidalia-project.net/. No part of Vidalia, including this file,
+** may be copied, modified, propagated, or distributed except according to the
+** terms described in the LICENSE file.
+*/
+
+/*
+** \file updatedialog.cpp
+** \version $Id$
+** \brief Displays a list of available updates and details, such as release
+** notes. The user can choose to either install the updates now or later, or
+** skip the updates entirely.
+*/
+
+#ifndef _UPDATEDIALOG_H
+#define _UPDATEDIALOG_H
+
+#include <QDialog>
+
+#include "ui_updatedialog.h"
+
+
+class UpdateDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ /** Default constructor. */
+ UpdateDialog(QWidget *parent = 0);
+
+private:
+ Ui::UpdateDialog ui; /**< Qt Designer generated object. */
+};
+
+#endif
+
Property changes on: vidalia/branches/auto-updates/src/vidalia/updatedialog.h
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native