summaryrefslogtreecommitdiffstats
path: root/src/gui/application/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
commit4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (patch)
tree19bc4d69423c21bcde8ac0cb6fcb11146ae19137 /src/gui/application/main.cpp
parente6d6692eda797b10f322a83ffdcf23fca719709e (diff)
downloadrosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.tar.gz
rosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/gui/application/main.cpp')
-rw-r--r--src/gui/application/main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/application/main.cpp b/src/gui/application/main.cpp
index ff03584..b3147de 100644
--- a/src/gui/application/main.cpp
+++ b/src/gui/application/main.cpp
@@ -246,7 +246,7 @@ and Events (our basic music element). To help lift the ambiguity,
and time this corresponds to, that kind of stuff. (In the
Notation and Matrix views, the LinedStaff calculates mappings
between coordinates and staff lines: the former is especially
- complicated because of its support for page tqlayout.)\n
+ complicated because of its support for page layout.)\n
-# The canvas view transmits this kind of info as a signal, which is
connected to a slot in the parent EditView.
-# The EditView delegates action to the current tool.\n
@@ -260,7 +260,7 @@ which "wraps" the complexity into simple calls and performs all the
hidden tasks.
The EditView also maintains (obviously) its visual appearance with the
-tqlayout classes, applying them when appropriate.
+layout classes, applying them when appropriate.
\section sequencer Sequencer
@@ -379,7 +379,7 @@ void testInstalledVersion()
" 2. The upgrade was installed in a non-standard directory,\n"
" and an old version was found in a standard directory. If so,\n"
" you will need to add the correct directory to your TDEDIRS\n"
- " environment variable before you can run it.").tqarg(VERSION).tqarg(installedVersion),
+ " environment variable before you can run it.").arg(VERSION).arg(installedVersion),
i18n("Installation problem"));
} else {
@@ -531,8 +531,8 @@ int main(int argc, char *argv[])
startupSize = TQSize((desktopRect.width() * 4) / 5,
(desktopRect.height() * 4) / 5);
}
- TQString widthKey = TQString("Width %1").tqarg(totalRect.width());
- TQString heightKey = TQString("Height %1").tqarg(totalRect.height());
+ TQString widthKey = TQString("Width %1").arg(totalRect.width());
+ TQString heightKey = TQString("Height %1").arg(totalRect.height());
windowWidth = config->readUnsignedNumEntry
(widthKey, startupSize.width());
windowHeight = config->readUnsignedNumEntry
@@ -722,7 +722,7 @@ int main(int argc, char *argv[])
TQVBox *mw = dialog->makeVBoxMainWidget();
TQHBox *hb = new TQHBox(mw);
TQLabel *image = new TQLabel(hb);
- image->tqsetAlignment(TQt::AlignTop);
+ image->setAlignment(TQt::AlignTop);
TQString iconFile = locate("appdata", "pixmaps/misc/welcome-icon.png");
if (!iconFile.isNull()) {
image->setPixmap(TQPixmap(iconFile));