view libgui/src/terminal-dockwidget.cc @ 15391:1ddf5772fb1a

fix broken libgui build * libgui/Makefile.am (liboctgui_la_SOURCES): New variable. * libgui/src/module.mk (src_libgui_src_la_SOURCES): Rename from liboctgui_la_SOURCES. (nodist_src_libgui_src_la_SOURCES): Rename from nodist_liboctgui_la_SOURCES. (src_libgui_src_la_CPPFLAGS): Rename from liboctgui_la_CPPFLAGS. (src_libgui_src_la_CFLAGS): Rename from liboctgui_la_CFLAGS. (src_libgui_src_la_CXXFLAGS): Rename from liboctgui_la_CXXFLAGS.
author John W. Eaton <jwe@octave.org>
date Fri, 14 Sep 2012 22:57:00 -0400
parents 36ececf69385
children bbbb89cc338f
line wrap: on
line source

/*

Copyright (C) 2011-2012 Jacob Dawid

This file is part of Octave.

Octave is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.

Octave 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 General Public License
for more details.

You should have received a copy of the GNU General Public License
along with Octave; see the file COPYING.  If not, see
<http://www.gnu.org/licenses/>.

*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include "terminal-dockwidget.h"

terminal_dock_widget::terminal_dock_widget (QTerminal *terminal, QWidget *p)
  : QDockWidget (p)
{
  setObjectName ("TerminalDockWidget");
  setWindowTitle (tr ("Command Window"));
  setWidget (terminal);

  connect (this, SIGNAL (visibilityChanged (bool)), this, SLOT (handle_visibility_changed (bool)));
}