summaryrefslogtreecommitdiffstats
path: root/kcm_gtk/kcmgtk.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:29:43 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:29:43 -0600
commit7225c815f485e09d2d967c4e97913cf676029103 (patch)
tree50168512e2b60cccba7e095c38b57002585bcf9a /kcm_gtk/kcmgtk.cpp
parentc0999e136c4c2e9b62369719c59c3d250782865e (diff)
downloadgtk-qt-engine-7225c815f485e09d2d967c4e97913cf676029103.tar.gz
gtk-qt-engine-7225c815f485e09d2d967c4e97913cf676029103.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kcm_gtk/kcmgtk.cpp')
-rw-r--r--kcm_gtk/kcmgtk.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kcm_gtk/kcmgtk.cpp b/kcm_gtk/kcmgtk.cpp
index 219cbd4..3ec5837 100644
--- a/kcm_gtk/kcmgtk.cpp
+++ b/kcm_gtk/kcmgtk.cpp
@@ -18,14 +18,14 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#include <tqlayout.h>
+#include <layout.h>
#include <klocale.h>
#include <kglobal.h>
#include <kfontdialog.h>
#include <kiconloader.h>
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqregexp.h>
#include <tqdir.h>
#include <tqcombobox.h>
@@ -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);
@@ -268,7 +268,7 @@ void KcmGtk::updateFontPreview()
{
widget->fontPreview->setFont(font);
widget->fontPreview->setText(
- i18n("%1 (size %2)").tqarg(font.family()).tqarg(TQString::number(font.pointSize())));
+ i18n("%1 (size %2)").arg(font.family()).arg(TQString::number(font.pointSize())));
widget->fontPreview2->setFont(font);
}
@@ -627,7 +627,7 @@ void KcmGtk::writeFirefoxCSS(const TQString& path, const TQString& data)
if (!file.open(IO_WriteOnly | IO_Truncate))
{
- KMessageBox::error(this, i18n("Could not write to %1").tqarg(path), i18n("Mozilla profile"));
+ KMessageBox::error(this, i18n("Could not write to %1").arg(path), i18n("Mozilla profile"));
return;
}
TQTextStream stream(&file);