diff options
| author | 2011-01-01 20:19:56 +0000 | |
|---|---|---|
| committer | 2011-01-01 20:19:56 +0000 | |
| commit | c601b5a27f74b16158adafe429faefbe573e64a2 (patch) | |
| tree | a3cde3206a45628f8ac86e8dfbdab70b20c3a831 /src/modules/term/termwindow.cpp | |
| parent | probable compilation fix for rijndaled/crypto++ (diff) | |
| download | KVIrc-c601b5a27f74b16158adafe429faefbe573e64a2.tar.gz KVIrc-c601b5a27f74b16158adafe429faefbe573e64a2.tar.bz2 KVIrc-c601b5a27f74b16158adafe429faefbe573e64a2.zip | |
The big rename for modules. Still some details remaining.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5284 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/term/termwindow.cpp')
| -rw-r--r-- | src/modules/term/termwindow.cpp | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/src/modules/term/termwindow.cpp b/src/modules/term/termwindow.cpp deleted file mode 100644 index 9cad5be63..000000000 --- a/src/modules/term/termwindow.cpp +++ /dev/null @@ -1,80 +0,0 @@ -//============================================================================= -// -// File : termwindow.cpp -// Creation date : Thu Aug 31 2000 15:02:22 by Szymon Stefanek -// -// This file is part of the KVIrc irc client distribution -// Copyright (C) 2000-2010 Szymon Stefanek (pragma at kvirc dot net) -// -// This program 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 2 -// of the License, or (at your opinion) any later version. -// -// This program 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 this program. If not, write to the Free Software Foundation, -// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// -//============================================================================= - -#include "termwindow.h" -#include "termwidget.h" - -#ifdef COMPILE_KDE_SUPPORT - #include "KviIconManager.h" - #include "KviOptions.h" - #include "KviLocale.h" - #include "KviModule.h" - - extern KviModule * g_pTermModule; - extern KviPointerList<KviTermWindow> * g_pTermWindowList; - extern KviPointerList<KviTermWidget> * g_pTermWidgetList; - extern KviIconManager * g_pIconManager; - - KviTermWindow::KviTermWindow(KviMainWindow * lpFrm,const char * name) - : KviWindow(KVI_WINDOW_TYPE_TERM,lpFrm,name) - { - g_pTermWindowList->append(this); - m_pTermWidget = 0; - m_pTermWidget = new KviTermWidget(this,lpFrm); - // Ensure proper focusing - // setFocusHandler(m_pTermWidget->konsoleWidget(),this); - } - - KviTermWindow::~KviTermWindow() - { - g_pTermWindowList->removeRef(this); - if(g_pTermWindowList->isEmpty() && g_pTermWidgetList->isEmpty())g_pTermModule->unlock(); - } - - QPixmap * KviTermWindow::myIconPtr() - { - return g_pIconManager->getSmallIcon(KVI_SMALLICON_RAW); - } - - void KviTermWindow::resizeEvent(QResizeEvent *) - { - if(m_pTermWidget)m_pTermWidget->setGeometry(0,0,width(),height()); - } - - QSize KviTermWindow::sizeHint() const - { - return m_pTermWidget ? m_pTermWidget->sizeHint() : KviWindow::sizeHint(); - } - - void KviTermWindow::fillCaptionBuffers() - { - m_szPlainTextCaption = __tr("Terminal"); - } - - -#ifndef COMPILE_USE_STANDALONE_MOC_SOURCES -#include "termwindow.moc" -#endif //!COMPILE_USE_STANDALONE_MOC_SOURCES - -#endif |
