summaryrefslogtreecommitdiffstats
path: root/kbstateapplet
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:17:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:17:16 -0600
commitc7ce89fcae12a35ac8bfa9b908854c50ca0ceee2 (patch)
tree058c11d7f94face85bf6cedd2ec1c20ee47f1791 /kbstateapplet
parent92994ee2036ac7c4c68747f67dbc0ecbaf4c250c (diff)
downloadtdeaccessibility-c7ce89fcae12a35ac8bfa9b908854c50ca0ceee2.tar.gz
tdeaccessibility-c7ce89fcae12a35ac8bfa9b908854c50ca0ceee2.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kbstateapplet')
-rw-r--r--kbstateapplet/kbstate.cpp18
-rw-r--r--kbstateapplet/kbstate.h2
2 files changed, 10 insertions, 10 deletions
diff --git a/kbstateapplet/kbstate.cpp b/kbstateapplet/kbstate.cpp
index 94f660f..4afc15d 100644
--- a/kbstateapplet/kbstate.cpp
+++ b/kbstateapplet/kbstate.cpp
@@ -179,7 +179,7 @@ void KbStateApplet::updateMenu()
void calculateSizes (int space, int modifiers, int lockkeys, int accessx,
bool showMouse, int &lines, int &length, int &size)
-// Calculates the tqlayout based on a given number of modifiers, lockkeys and
+// Calculates the layout based on a given number of modifiers, lockkeys and
// accessx features.
// Output:
// lines: number of lines
@@ -281,17 +281,17 @@ void KbStateApplet::toggleFillSpace() {
fillSpace = !fillSpace;
saveConfig();
updateMenu();
- tqlayout();
+ layout();
updateGeometry();
emit updateLayout();
}
void KbStateApplet::resizeEvent( TQResizeEvent*e ) {
TQWidget::resizeEvent(e);
- tqlayout();
+ layout();
}
-void KbStateApplet::tqlayout() {
+void KbStateApplet::layout() {
int size = this->size;
int lines, length, x,y,dx,dy, ldx,ldy;
@@ -608,7 +608,7 @@ bool KbStateApplet::x11Event (XEvent *evt) {
else
mouse->setActiveKey (0);
- tqlayout();
+ layout();
updateGeometry();
emit updateLayout();
break;
@@ -660,7 +660,7 @@ void KbStateApplet::stateChangeRequest (KeyIcon *source, bool latched, bool lock
void KbStateApplet::toggleModifier() {
showModifiers = !showModifiers;
updateMenu();
- tqlayout();
+ layout();
updateGeometry();
saveConfig();
emit updateLayout();
@@ -669,7 +669,7 @@ void KbStateApplet::toggleModifier() {
void KbStateApplet::toggleLockkeys() {
showLockkeys = !showLockkeys;
updateMenu();
- tqlayout();
+ layout();
updateGeometry();
saveConfig();
emit updateLayout();
@@ -678,7 +678,7 @@ void KbStateApplet::toggleLockkeys() {
void KbStateApplet::toggleMouse() {
showMouse = !showMouse;
updateMenu();
- tqlayout();
+ layout();
updateGeometry();
saveConfig();
emit updateLayout();
@@ -687,7 +687,7 @@ void KbStateApplet::toggleMouse() {
void KbStateApplet::toggleAccessX() {
showAccessX = !showAccessX;
updateMenu();
- tqlayout();
+ layout();
updateGeometry();
saveConfig();
emit updateLayout();
diff --git a/kbstateapplet/kbstate.h b/kbstateapplet/kbstate.h
index 892aeb9..65cf63f 100644
--- a/kbstateapplet/kbstate.h
+++ b/kbstateapplet/kbstate.h
@@ -170,7 +170,7 @@ private slots:
private:
void loadConfig();
void saveConfig();
- void tqlayout();
+ void layout();
int xkb_base_event_type;