parent
b7b9e626c5
commit
576d1c3971
24 changed files with 384 additions and 159 deletions
@ -0,0 +1,28 @@ |
||||
<!DOCTYPE kpartgui> |
||||
|
||||
<kpartgui name="session"> |
||||
<MenuBar> |
||||
<Menu name="file"><text>File</text> |
||||
<Action name="close-session" group="session-operations"/> |
||||
</Menu> |
||||
<Menu name="edit"><text>Edit</text> |
||||
<Action name="copy" group="session-edit-operations" /> |
||||
<Action name="paste" group="session-edit-operations" /> |
||||
<Separator group="session-edit-operations"/> |
||||
<Action name="clear" group="session-edit-operations" /> |
||||
<Action name="clear-and-reset" group="session-edit-operations" /> |
||||
</Menu> |
||||
<Menu name="history"><text>History</text> |
||||
<Action name="search-history" group="session-history-operations"/> |
||||
<Action name="find-next" group="session-history-operations"/> |
||||
<Action name="find-previous" group="session-history-operations"/> |
||||
<Action name="save-history" group="session-history-operations"/> |
||||
<Separator group="session-history-operations"/> |
||||
<Action name="clear-history" group="session-history-operations"/> |
||||
</Menu> |
||||
<Menu name="view"><text>View</text> |
||||
<Action name="monitor-silence" group="session-view-operations" /> |
||||
<Action name="monitor-activity" group="session-view-operations" /> |
||||
</Menu> |
||||
</MenuBar> |
||||
</kpartgui> |
||||
@ -0,0 +1,2 @@ |
||||
|
||||
This folder contains historic documentation for Konsole for KDE 4. Historic documentation may provide interesting ideas or background information but is no longer consistent with the actual code or future plans. |
||||
@ -0,0 +1,44 @@ |
||||
/*
|
||||
Copyright (C) 2007 by Robert Knight <robertknight@gmail.com> |
||||
|
||||
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 option) 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 "ViewProperties.h" |
||||
|
||||
void ViewProperties::setTitle(const QString& title) |
||||
{ |
||||
if ( title != _title ) |
||||
{ |
||||
_title = title; |
||||
emit titleChanged(this); |
||||
} |
||||
} |
||||
void ViewProperties::setIcon(const QIcon& icon) |
||||
{ |
||||
_icon = icon; |
||||
emit iconChanged(this); |
||||
} |
||||
QString ViewProperties::title() |
||||
{ |
||||
return _title; |
||||
} |
||||
QIcon ViewProperties::icon() |
||||
{ |
||||
return _icon; |
||||
} |
||||
|
||||
#include "ViewProperties.moc" |
||||
@ -0,0 +1,67 @@ |
||||
/*
|
||||
Copyright (C) 2007 by Robert Knight <robertknight@gmail.com> |
||||
|
||||
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 option) 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. |
||||
*/ |
||||
|
||||
#ifndef VIEWPROPERTIES_H |
||||
#define VIEWPROPERTIES_H |
||||
|
||||
// Qt
|
||||
#include <QIcon> |
||||
#include <QObject> |
||||
|
||||
|
||||
/**
|
||||
* Provides access to information such as the title and icon associated with a document |
||||
* in a view container
|
||||
*/ |
||||
class ViewProperties : public QObject
|
||||
{ |
||||
Q_OBJECT |
||||
|
||||
public: |
||||
ViewProperties(QObject* parent) : QObject(parent) {} |
||||
|
||||
/** Returns the icon associated with a view */ |
||||
QIcon icon(); |
||||
/** Returns the title associated with a view */ |
||||
QString title(); |
||||
|
||||
signals: |
||||
/** Emitted when the icon for a view changes */ |
||||
void iconChanged(ViewProperties* properties); |
||||
/** Emitted when the title for a view changes */ |
||||
void titleChanged(ViewProperties* properties); |
||||
|
||||
protected: |
||||
/**
|
||||
* Subclasses may call this method to change the title. This causes |
||||
* a titleChanged() signal to be emitted
|
||||
*/ |
||||
void setTitle(const QString& title); |
||||
/**
|
||||
* Subclasses may call this method to change the icon. This causes |
||||
* an iconChanged() signal to be emitted |
||||
*/ |
||||
void setIcon(const QIcon& icon); |
||||
|
||||
private: |
||||
QIcon _icon; |
||||
QString _title; |
||||
}; |
||||
|
||||
#endif //VIEWPROPERTIES_H
|
||||
@ -0,0 +1,23 @@ |
||||
install( FILES |
||||
BlackOnLightColor.schema |
||||
BlackOnLightYellow.schema |
||||
BlackOnWhite.schema |
||||
Example.Schema |
||||
GreenOnBlack.schema |
||||
WhiteOnBlack.schema |
||||
README.default.Schema |
||||
syscolor.schema |
||||
Linux.schema |
||||
XTerm.schema |
||||
vim.schema |
||||
DarkPicture.schema |
||||
LightPicture.schema |
||||
Transparent.schema |
||||
GreenTint.schema |
||||
Transparent_MC.schema |
||||
GreenTint_MC.schema |
||||
Transparent_lightbg.schema |
||||
Transparent_darkbg.schema |
||||
README.Schema |
||||
DESTINATION |
||||
${DATA_INSTALL_DIR}/konsole ) |
||||
@ -0,0 +1,10 @@ |
||||
install( FILES |
||||
linux.keytab |
||||
vt100.keytab |
||||
vt420pc.keytab |
||||
x11r5.keytab |
||||
solaris.keytab |
||||
README.KeyTab |
||||
README.default.Keytab |
||||
DESTINATION |
||||
${DATA_INSTALL_DIR}/konsole ) |
||||
@ -0,0 +1,10 @@ |
||||
|
||||
install( FILES |
||||
linux.desktop |
||||
mc.desktop |
||||
shell.desktop |
||||
su.desktop |
||||
sumc.desktop |
||||
screen.desktop |
||||
DESTINATION |
||||
${DATA_INSTALL_DIR}/konsole) |
||||
Loading…
Reference in new issue