VirtualBox

source: vbox/trunk/src/VBox/Frontends/VirtualBox/src/extensions/QITableView.cpp@ 35740

Last change on this file since 35740 was 31533, checked in by vboxsync, 14 years ago

FE/Qt: 1900: Create GUI support for NAT forwarding: Initial commit.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Revision Author Id
File size: 982 bytes
Line 
1/* $Id: QITableView.cpp 31533 2010-08-10 13:08:56Z vboxsync $ */
2/** @file
3 *
4 * VBox frontends: Qt GUI ("VirtualBox"):
5 * VirtualBox Qt extensions: QITableView class implementation
6 */
7
8/*
9 * Copyright (C) 2010 Oracle Corporation
10 *
11 * This file is part of VirtualBox Open Source Edition (OSE), as
12 * available from http://www.virtualbox.org. This file is free software;
13 * you can redistribute it and/or modify it under the terms of the GNU
14 * General Public License (GPL) as published by the Free Software
15 * Foundation, in version 2 as it comes in the "COPYING" file of the
16 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
17 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
18 */
19
20/* Local includes */
21#include "QITableView.h"
22
23QITableView::QITableView(QWidget *pParent)
24 : QTableView(pParent)
25{
26}
27
28void QITableView::currentChanged(const QModelIndex &current, const QModelIndex &previous)
29{
30 emit sigCurrentChanged(current, previous);
31 QTableView::currentChanged(current, previous);
32}
33
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use