From 25e87d9ccc92b7a4c12518532576f55b11726b26 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Wed, 25 Feb 2004 11:27:48 +0000 Subject: fix most of zecke's comments. Someone should look into the open issues though (see mail to opie-devel) --- (limited to 'core/apps/embeddedkonsole/konsole.h') diff --git a/core/apps/embeddedkonsole/konsole.h b/core/apps/embeddedkonsole/konsole.h index 37babbb..e163cb8 100644 --- a/core/apps/embeddedkonsole/konsole.h +++ b/core/apps/embeddedkonsole/konsole.h @@ -73,7 +73,7 @@ public slots: private slots: void setDocument(const QString &); void doneSession(TEWidget*,int); - void changeTitle(TEWidget*,QString); + void changeTitle(TEWidget*, const QString&); void changeColumns(int); void setFont(int); // void fontChanged(int); @@ -110,7 +110,7 @@ private: void setColorPixmaps(); void setHistory(bool); void setColors(QColor foreground, QColor background); - int findFont(QString name, int size, bool exact = false); + int findFont(const QString& name, int size, bool exact = false); QSize calcSize(int columns, int lines); TEWidget* getTe(); QStringList commands; @@ -124,7 +124,7 @@ private: class VTFont { public: - VTFont(QString name, QFont& font, QString family, int familyNum, int size) + VTFont(const QString& name, QFont& font, const QString& family, int familyNum, int size) { this->name = name; this->font = font; -- cgit v0.9.0.2