Commit 1bc6c85c authored by Robert Knight's avatar Robert Knight
Browse files

Remove dead and unused code, out of date comments, unused methods and un-needed includes.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=666484
parent fdc68343
......@@ -60,6 +60,12 @@ ManageProfilesDialog::ManageProfilesDialog(QWidget* parent)
// ensure that session names are fully visible
_ui->sessionTable->resizeColumnToContents(0);
_ui->sessionTable->resizeColumnToContents(1);
_ui->sessionTable->resizeColumnToContents(2);
_ui->sessionTable->horizontalHeader()->updateGeometry();
qDebug() << "Table size hint: " << _ui->sessionTable->horizontalHeader()->sizeHint();
qDebug() << sizeHint();
// resize the session table to the full width of the table
_ui->sessionTable->horizontalHeader()->setStretchLastSection(true);
......
......@@ -20,6 +20,9 @@
// Own
#include "SessionController.h"
// Qt
#include <QMenu>
// KDE
#include <KAction>
#include <KIcon>
......@@ -461,6 +464,9 @@ void SessionController::setupActions()
action->setText( i18n("Edit Current Profile...") );
connect( action , SIGNAL(triggered()) , this , SLOT(editCurrentProfile()) );
action = collection->addAction("change-profile");
action->setText( i18n("Change Profile") );
// debugging tools
//action = collection->addAction("debug-process");
//action->setText( "Get Foreground Process" );
......
This diff is collapsed.
......@@ -22,31 +22,29 @@
#define TERMINALDISPLAY_H
// Qt
#include <QtCore/QBitRef>
#include <QtGui/QWidget>
#include <QtGui/QColor>
#include <QtCore/QInternal>
#include <QtCore/QPointer>
#include <QtGui/QScrollBar>
#include <QtGui/QFrame>
#include <QtGui/QKeyEvent>
#include <QtCore/QEvent>
#include <QtGui/QLabel>
#include <QtGui/QDrag>
// KDE
#include <kmenu.h>
// Konsole
#include "Filter.h"
#include "TECommon.h"
class QDrag;
class QDragEnterEvent;
class QDropEvent;
class QLabel;
class QTimer;
class QEvent;
class QFrame;
class QGridLayout;
class QKeyEvent;
class QScrollBar;
class QShowEvent;
class QHideEvent;
class QWidget;
class KMenu;
namespace Konsole
{
......@@ -485,7 +483,6 @@ protected:
void resizeEvent(QResizeEvent*);
void fontChange(const QFont &font);
void frameChanged();
void mouseDoubleClickEvent(QMouseEvent* ev);
void mousePressEvent( QMouseEvent* );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment