[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kde-workspace/amourphiouskb] kcontrol/keyboard:  minor change
From:       shivam makkar <amourphious1992 () gmail ! com>
Date:       2012-10-19 17:37:58
Message-ID: 20121019173758.53B35A6078 () git ! kde ! org
[Download RAW message or body]

Git commit 94d871324e34515773c5c089b01984c44c20cc52 by shivam makkar.
Committed on 19/10/2012 at 19:37.
Pushed by makkar into branch 'amourphiouskb'.

minor change

M  +3    -3    kcontrol/keyboard/keys.h
M  +1    -1    kcontrol/keyboard/keysym.cpp
M  +1    -1    kcontrol/keyboard/keysym.h

http://commits.kde.org/kde-workspace/94d871324e34515773c5c089b01984c44c20cc52

diff --git a/kcontrol/keyboard/keys.h b/kcontrol/keyboard/keys.h
index 458a2c5..1839e10 100644
--- a/kcontrol/keyboard/keys.h
+++ b/kcontrol/keyboard/keys.h
@@ -19,15 +19,15 @@
 
 #ifndef KEYS_H
 #define KEYS_H
-#include<QApplication>
-#include<QtCore/QList>
+#include <QApplication>
+#include <QtCore/QList>
 class Keys
 {
 public:
     Keys();
     QString keyname;
     QList<QString>klst;
-    void setKey(QString a);
+    void setKey(QString opton);
 };
 
 #endif // KEYS_H
diff --git a/kcontrol/keyboard/keysym.cpp b/kcontrol/keyboard/keysym.cpp
index 55f9af3..b88299a 100644
--- a/kcontrol/keyboard/keysym.cpp
+++ b/kcontrol/keyboard/keysym.cpp
@@ -25,7 +25,7 @@ KeySym::KeySym()
     nill = 0;
 }
 
-QString KeySym::getkeyuni(QString opton){
+QString KeySym::getkeyuni(const QString& opton){
     QRegExp krx("^U[0-9]");
 
     QString opton2(opton);
diff --git a/kcontrol/keyboard/keysym.h b/kcontrol/keyboard/keysym.h
index d7e3902..1e20434 100644
--- a/kcontrol/keyboard/keysym.h
+++ b/kcontrol/keyboard/keysym.h
@@ -29,7 +29,7 @@ private:
 public:
     KeySym();
     int nill;
-    QString getkeyuni(QString opton);
+    QString getkeyuni(const QString &opton);
 };
 
 #endif // KEYSYM_H
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic