diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:03:54 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-21 14:03:54 -0600 |
commit | fae91e75ec01c3d14a70db71e113bcb088862a32 (patch) | |
tree | ba43d99444a8325ffe258828d9f0560420a4f053 /kcm_gtk/kcmgtk.cpp | |
parent | a2f8e999d0a8bd77f567b3335105e0f7e2b5f083 (diff) | |
download | gtk-qt-engine-fae91e75ec01c3d14a70db71e113bcb088862a32.tar.gz gtk-qt-engine-fae91e75ec01c3d14a70db71e113bcb088862a32.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kcm_gtk/kcmgtk.cpp')
-rw-r--r-- | kcm_gtk/kcmgtk.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kcm_gtk/kcmgtk.cpp b/kcm_gtk/kcmgtk.cpp index 79029a0..4cec91e 100644 --- a/kcm_gtk/kcmgtk.cpp +++ b/kcm_gtk/kcmgtk.cpp @@ -175,7 +175,7 @@ KcmGtk::KcmGtk(TQWidget *parent, const char *name, const TQStringList&) gtkSearchPaths = config->readListEntry("gtkSearchPaths", gtkSearchPathsDefault); - // Add the widget to our tqlayout + // Add the widget to our layout TQBoxLayout* l = new TQVBoxLayout(this); widget = new KcmGtkWidget(this); l->addWidget(widget); @@ -554,7 +554,7 @@ TQString KcmGtk::scrollBarCSS() sbar.setValue(1); sbar.resize(200,25); - TQRect rect = tqApp->tqstyle().querySubControlMetrics(TQStyle::CC_ScrollBar, &sbar, TQStyle::SC_ScrollBarGroove); + TQRect rect = tqApp->style().querySubControlMetrics(TQStyle::CC_ScrollBar, &sbar, TQStyle::SC_ScrollBarGroove); bool back1 = false; bool forward1 = false; @@ -564,7 +564,7 @@ TQString KcmGtk::scrollBarCSS() TQStyle::SubControl sc = TQStyle::SC_None; for (TQPoint pos(0,7) ; pos.x()<rect.x() ; pos.setX(pos.x()+1)) { - TQStyle::SubControl sc2 = tqApp->tqstyle().querySubControl(TQStyle::CC_ScrollBar, &sbar, pos); + TQStyle::SubControl sc2 = tqApp->style().querySubControl(TQStyle::CC_ScrollBar, &sbar, pos); if (sc != sc2) { if (sc2 == TQStyle::SC_ScrollBarAddLine) forward1 = true; @@ -575,7 +575,7 @@ TQString KcmGtk::scrollBarCSS() sc = TQStyle::SC_None; for (TQPoint pos(rect.x()+rect.width(),7) ; pos.x()<200 ; pos.setX(pos.x()+1)) { - TQStyle::SubControl sc2 = tqApp->tqstyle().querySubControl(TQStyle::CC_ScrollBar, &sbar, pos); + TQStyle::SubControl sc2 = tqApp->style().querySubControl(TQStyle::CC_ScrollBar, &sbar, pos); if (sc != sc2) { if (sc2 == TQStyle::SC_ScrollBarAddLine) forward2 = true; |