Merged revisions 97734 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97734 | russell | 2008-01-10 10:10:09 -0600 (Thu, 10 Jan 2008) | 4 lines

Remove pbx_kdeconsole from the tree.  It hasn't worked in ages, and nobody has
complained.
(closes issue #11706, reported by caio1982)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2008-01-10 16:15:43 +00:00
parent 8e1f8df431
commit c53f95e29f
6 changed files with 5 additions and 439 deletions

View File

@@ -1,66 +0,0 @@
/*
* Asterisk -- A telephony toolkit for Linux.
*
* KDE Console monitor -- Class implmementation
*
* Copyright (C) 1999, Mark Spencer
*
* Mark Spencer <markster@linux-support.net>
*
* This program is free software, distributed under the terms of
* the GNU General Public License
*/
/*** MODULEINFO
<depend>qt</depend>
<defaultenabled>no</defaultenabled>
***/
#include "pbx_kdeconsole.moc"
KAsteriskConsole::KAsteriskConsole() : KTMainWindow()
{
QVBoxLayout *box;
QFrame *f;
f = new QFrame(this);
setGeometry(100,100,600,400);
/* Menus */
file = new QPopupMenu();
file->insertItem("&Exit", this, SLOT(slotExit()));
help = kapp->getHelpMenu(TRUE, "KDE Asterisk Console\nby Mark Spencer");
setCaption("Asterisk Console");
/* Box */
box = new QVBoxLayout(f, 20, 5);
/* Menu bar creation */
menu = new KMenuBar(this);
menu->insertItem("&File", file);
menu->insertItem("&Help", help);
/* Verbose stuff */
verbose = new QListBox(f, "verbose");
/* Exit button */
btnExit = new QPushButton("Exit", f, "exit");
btnExit->show();
connect(btnExit, SIGNAL(clicked()), this, SLOT(slotExit()));
box->addWidget(verbose, 1);
box->addWidget(btnExit, 0);
setView(f, TRUE);
statusBar()->message("Ready", 2000);
}
void KAsteriskConsole::slotExit()
{
close();
}
void KAsteriskConsole::closeEvent(QCloseEvent *)
{
kapp->quit();
}