summaryrefslogtreecommitdiffstats
path: root/kate/make
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:28:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:28:11 -0600
commitb88830e9111dc4375bc1461c3f7b3e7b3e73f733 (patch)
treee34a67443df8a12d634aa419364d0698b53c1451 /kate/make
parent6b45a7b7b2a804ccb2d522eb9ba6423fedb59b8f (diff)
downloadtdeaddons-b88830e9111dc4375bc1461c3f7b3e7b3e73f733.tar.gz
tdeaddons-b88830e9111dc4375bc1461c3f7b3e7b3e73f733.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kate/make')
-rw-r--r--kate/make/plugin_katemake.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kate/make/plugin_katemake.cpp b/kate/make/plugin_katemake.cpp
index bda41f5..8b116f1 100644
--- a/kate/make/plugin_katemake.cpp
+++ b/kate/make/plugin_katemake.cpp
@@ -82,7 +82,7 @@ void PluginKateMake::addView(Kate::MainWindow *win)
Kate::ToolViewManager *viewmanager = win->toolViewManager();
TQWidget *w = viewmanager->createToolView("kate_plugin_make",
Kate::ToolViewManager::Bottom,
- SmallIcon(TQString::tqfromLatin1("misc")),
+ SmallIcon(TQString::fromLatin1("misc")),
i18n("Make Output"));
PluginKateMakeView *view = new PluginKateMakeView (w,win,
"katemakeview");
@@ -132,7 +132,7 @@ public:
(lineno > 0 ? TQString::number(lineno) : TQString()),
message)
{
- m_isError = !message.contains(TQString::tqfromLatin1("warning"));
+ m_isError = !message.contains(TQString::fromLatin1("warning"));
m_lineno = lineno;
m_serial = s_serial++;
}
@@ -192,22 +192,22 @@ protected:
TQString ErrorMessage::caption() const
{
- return TQString::tqfromLatin1("%1:%2").tqarg(text(COL_FILE)).tqarg(line());
+ return TQString::fromLatin1("%1:%2").tqarg(text(COL_FILE)).tqarg(line());
}
TQString ErrorMessage::fancyMessage() const
{
- TQString msg = TQString::tqfromLatin1("<qt>");
+ TQString msg = TQString::fromLatin1("<qt>");
if (isError())
{
- msg.append(TQString::tqfromLatin1("<font color=\"red\">"));
+ msg.append(TQString::fromLatin1("<font color=\"red\">"));
}
msg.append(message());
if (isError())
{
- msg.append(TQString::tqfromLatin1("</font>"));
+ msg.append(TQString::fromLatin1("</font>"));
}
- msg.append(TQString::tqfromLatin1("<qt>"));
+ msg.append(TQString::fromLatin1("<qt>"));
return msg;
}
@@ -350,7 +350,7 @@ PluginKateMakeView::PluginKateMakeView(TQWidget *parent,
actionCollection(), "make_settings" );
setInstance(new KInstance("kate"));
- setXMLFile(TQString::tqfromLatin1("plugins/katemake/ui.rc"));
+ setXMLFile(TQString::fromLatin1("plugins/katemake/ui.rc"));
setFocusPolicy(TQ_NoFocus);
@@ -379,7 +379,7 @@ PluginKateMakeView::PluginKateMakeView(TQWidget *parent,
// if (source_prefix.isEmpty())
{
filenameDetector = new TQRegExp(
- TQString::tqfromLatin1("[a-zA-Z0-9_\\.\\-]*\\.[chp]*:[0-9]*:"));
+ TQString::fromLatin1("[a-zA-Z0-9_\\.\\-]*\\.[chp]*:[0-9]*:"));
}
// else
{
@@ -557,7 +557,7 @@ void PluginKateMakeView::slotClicked(TQListViewItem *item)
<< globalPos.x() << "," << globalPos.y() << endl;
#if 0
KPassivePopup::message(
- TQString::tqfromLatin1("%1:%2").tqarg(filename).tqarg(lineno),
+ TQString::fromLatin1("%1:%2").tqarg(filename).tqarg(lineno),
msg,
this);
#else
@@ -649,7 +649,7 @@ bool PluginKateMakeView::slotValidate()
}
document_dir = TQFileInfo(url.path()).dirPath(true) +
- TQString::tqfromLatin1("/");
+ TQString::fromLatin1("/");
if (document_dir.startsWith(source_prefix))
{
@@ -717,7 +717,7 @@ void PluginKateMakeView::slotConfigure()
if (!filenameDetector)
{
filenameDetector = new TQRegExp(
- TQString::tqfromLatin1("[a-zA-Z0-9_\\.\\-]*\\.[chp]*:[0-9]*:"));
+ TQString::fromLatin1("[a-zA-Z0-9_\\.\\-]*\\.[chp]*:[0-9]*:"));
}
}
//else