Commit f9ef1886 authored by Stephan Binner's avatar Stephan Binner
Browse files

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
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