Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit f9ef1886 authored by Stephan Binner's avatar Stephan Binner

fix pedantic compilation

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=661619
parent 57f4af20
......@@ -56,7 +56,7 @@ Application::Application()
// check for compositing functionality
TerminalDisplay::setTransparencyEnabled( KWindowSystem::compositingActive() );
};
}
Application* Application::self()
{
......
......@@ -84,5 +84,5 @@ private:
MainWindow* _backgroundInstance;
};
};
}
#endif //KONSOLEAPP_H
......@@ -113,6 +113,6 @@ private:
QList<ViewProperties*> m_views;
};
};
}
#endif // KONSOLEBOOKMARKHANDLER_H
......@@ -134,7 +134,7 @@ void ColorSchemeEditor::setDescription(const QString& text)
}
void ColorSchemeEditor::setTransparencyPercentLabel(int percent)
{
_ui->transparencyPercentLabel->setText( QString("%1\%").arg(percent) );
_ui->transparencyPercentLabel->setText( QString("%1%").arg(percent) );
qreal opacity = ( 100.0 - percent ) / 100.0;
_colors->setOpacity(opacity);
......
......@@ -74,6 +74,6 @@ private:
ColorScheme* _colors;
};
};
}
#endif // COLORSCHEMEEDITOR_H
......@@ -34,7 +34,7 @@ class QAbstractButton;
namespace Ui
{
class EditProfileDialog;
};
}
namespace Konsole
{
......@@ -215,6 +215,6 @@ public:
};
};
}
#endif // EDITSESSIONDIALOG_H
......@@ -29,7 +29,7 @@
namespace Ui
{
class EditTabTitleFormatDialog;
};
}
namespace Konsole
{
......@@ -65,6 +65,6 @@ private:
static const int _remoteElementCount;
};
};
}
#endif // EDITTABTITLEFORMATDIALOG_H
......@@ -265,6 +265,6 @@ private:
};
};
}
#endif // ifndef EMULATION_H
......@@ -374,5 +374,5 @@ private:
QList<int>* _linePositions;
};
};
}
#endif //FILTER_H
......@@ -334,6 +334,6 @@ protected:
#endif
};
}
#endif // TEHISTORY_H
......@@ -84,6 +84,6 @@ private:
QSpinBox* _lineCountBox;
};
};
}
#endif // HISTORYSIZEDIALOG_H
......@@ -190,5 +190,5 @@ private:
QTimer* _searchTimer;
};
};
}
#endif // INCREMENTALSEARCHBAR_H
......@@ -26,7 +26,7 @@
namespace Ui
{
class KeyBindingEditor;
};
}
namespace Konsole
{
......@@ -57,6 +57,6 @@ private:
KeyboardTranslator* _translator;
};
};
}
#endif //KEYBINDINGEDITOR_H
......@@ -374,7 +374,7 @@ inline KeyboardTranslator::State KeyboardTranslator::Entry::state() const
return _state;
}
};
}
Q_DECLARE_METATYPE(const Konsole::KeyboardTranslator*)
......
......@@ -118,6 +118,6 @@ class MainWindow : public KXmlGuiWindow
QPointer<SessionController> _pluggedController;
};
};
}
#endif // KONSOLEMAINWINDOW_H
......@@ -33,7 +33,7 @@ class QStandardItemModel;
namespace Ui
{
class ManageProfilesDialog;
};
}
namespace Konsole
{
......@@ -85,6 +85,6 @@ public:
const QStyleOptionViewItem& option,const QModelIndex& index);
};
};
}
#endif // SESSIONTYPEDIALOG_H
......@@ -84,6 +84,6 @@ private:
SessionController* _pluggedController;
};
};
}
#endif // PART_H
......@@ -254,7 +254,7 @@ bool UnixProcessInfo::readProcessInfo(int pid , bool enableEnvironmentRead)
setParentPid(parentPid);
return true;
};
}
ProcessInfo* ProcessInfo::newInstance(int pid,bool enableEnvironmentRead)
{
......
......@@ -345,5 +345,5 @@ private:
QString _command;
};
};
}
#endif //PROCESSINFO_H
......@@ -60,6 +60,6 @@ private:
QActionGroup* _group;
};
};
}
#endif
......@@ -120,6 +120,6 @@ Q_OBJECT
bool m_bufferFull;
};
};
}
#endif
......@@ -26,7 +26,7 @@
namespace Ui
{
class RemoteConnectionDialog;
};
}
namespace Konsole
{
......@@ -47,6 +47,6 @@ private:
Ui::RemoteConnectionDialog* _ui;
};
};
}
#endif // REMOTECONNECTIONDIALOG_H
......@@ -456,6 +456,6 @@ private: // helper
static Character defaultChar;
};
};
}
#endif // TESCREEN_H
......@@ -210,5 +210,5 @@ private:
// the last call to resetScrollCount()
};
};
}
#endif // SCREENWINDOW_H
......@@ -337,6 +337,6 @@ private:
};
};
}
#endif
......@@ -19,7 +19,7 @@
namespace KIO
{
class Job;
};
}
class QAction;
class QTextCodec;
......@@ -349,6 +349,6 @@ private:
static QPointer<SearchHistoryThread> _thread;
};
};
}
#endif //SESSIONCONTROLLER_H
......@@ -620,5 +620,5 @@ private:
static SessionManager* _instance;
};
};
}
#endif //SESSIONMANAGER_H
......@@ -58,7 +58,7 @@ private:
QStringList _arguments;
};
};
}
#endif // SHELLCOMMAND_H
......@@ -115,6 +115,6 @@ private:
const ColorEntry* colorTable;
};
};
}
#endif
......@@ -63,7 +63,7 @@ class TerminalImageFilterChain;
namespace Filter
{
class HotSpot;
};
}
class FilterChain;
class ScreenWindow;
......@@ -689,6 +689,6 @@ public:
}
};
};
}
#endif // TERMINALDISPLAY_H
......@@ -328,5 +328,5 @@ private:
QListWidget* _listWidget;
};
};
}
#endif //VIEWCONTAINER_H
......@@ -211,6 +211,6 @@ private:
QSignalMapper* _containerSignalMapper;
};
};
}
#endif
......@@ -93,6 +93,6 @@ private:
int _id;
};
};
}
#endif //VIEWPROPERTIES_H
......@@ -168,6 +168,6 @@ private:
bool _recursiveSplitting;
};
};
}
#endif //VIEWSPLITTER_H
......@@ -232,6 +232,6 @@ protected:
};
};
}
#endif // ifndef ANSIEMU_H
......@@ -49,6 +49,6 @@ private:
QTextEdit* _textEdit;
};
};
}
#endif
Markdown is supported
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