summaryrefslogtreecommitdiffstats
path: root/src/gui/application/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/application/main.cpp')
-rw-r--r--src/gui/application/main.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/gui/application/main.cpp b/src/gui/application/main.cpp
index 8ee67e3..8c5a5a9 100644
--- a/src/gui/application/main.cpp
+++ b/src/gui/application/main.cpp
@@ -66,7 +66,7 @@ structures, of which the primary ones are Event, Segment, Track,
Instrument and Composition. It also contains a selection of utility
and helper classes of a kind that is not specific to any particular
GUI. Everything here is part of the Rosegarden namespace, and there
-are no dependencies on KDE or Qt (although it uses the STL heavily).
+are no dependencies on KDE or TQt (although it uses the STL heavily).
The keyword for the basic structures in use is "flexibility". Our
Event objects can be extended arbitrarily for the convenience of GUI
@@ -98,7 +98,7 @@ disastrous side-effects.
automatically ordered by their absolute time. It's the usual
container for Events. A Segment has a starting time that can be
changed, and a duration that is based solely on the end time of
- the last Event it contains. Note that in order to facilitate
+ the last Event it tqcontains. Note that in order to facilitate
musical notation editing, we explicitly store silences as series
of rest Events; thus a Segment really should contain no gaps
between its Events. (This isn't checked anywhere and nothing will
@@ -153,7 +153,7 @@ The base directory also contains various music-related helper classes:
The NotationTypes classes also define important constants for the
names of common properties in Events. For example, the Note class
contains Note::EventType, which is the type of a note Event, and
- Note::EventRestType, the type of a rest Event; and Key contains
+ Note::EventRestType, the type of a rest Event; and Key tqcontains
Key::EventType, the type of a key change Event, KeyPropertyName,
the name of the property that defines the key change, and a set
of the valid strings for key changes.
@@ -183,7 +183,7 @@ The base directory also contains various music-related helper classes:
\section gui GUI
-The GUI directory builds into a KDE/Qt application. Like most KDE
+The GUI directory builds into a KDE/TQt application. Like most KDE
applications, it follows a document/view model. The document (class
RosegardenGUIDoc, which wraps a Composition) can have several views
(class RosegardenGUIView), although at the moment only a single one is
@@ -246,9 +246,9 @@ 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 layout.)\n
+ complicated because of its support for page tqlayout.)\n
-# The canvas view transmits this kind of info as a signal, which is
- connected to a slot in the parent EditView.
+ connected to a slot in the tqparent EditView.
-# The EditView delegates action to the current tool.\n
-# The tool performs the actual job (inserting or deleting a note,
etc...).
@@ -260,11 +260,11 @@ which "wraps" the complexity into simple calls and performs all the
hidden tasks.
The EditView also maintains (obviously) its visual appearance with the
-layout classes, applying them when appropriate.
+tqlayout classes, applying them when appropriate.
\section sequencer Sequencer
-The sequencer directory also builds into a KDE/Qt application, but one
+The sequencer directory also builds into a KDE/TQt application, but one
which doesn't have a gui. The Sequencer can be started automatically
by the main Rosegarden GUI or manually if testing - it's sometimes
more convenient to do the latter as the Sequencer needs to be connected
@@ -324,7 +324,7 @@ static KCmdLineOptions options[] =
// -----------------------------------------------------------------
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
@@ -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 KDEDIRS\n"
- " environment variable before you can run it.").arg(VERSION).arg(installedVersion),
+ " environment variable before you can run it.").tqarg(VERSION).tqarg(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").arg(totalRect.width());
- TQString heightKey = TQString("Height %1").arg(totalRect.height());
+ TQString widthKey = TQString("Width %1").tqarg(totalRect.width());
+ TQString heightKey = TQString("Height %1").tqarg(totalRect.height());
windowWidth = config->readUnsignedNumEntry
(widthKey, startupSize.width());
windowHeight = config->readUnsignedNumEntry
@@ -595,7 +595,7 @@ int main(int argc, char *argv[])
rosegardengui = new RosegardenGUIApp(!app.noSequencerMode(),
args->isSet("existingsequencer"),
- startLogo);
+ TQT_TQOBJECT(startLogo));
rosegardengui->setIsFirstRun(newVersion);
@@ -676,7 +676,7 @@ int main(int argc, char *argv[])
}
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
XSetErrorHandler( _x_errhandler );
#endif
@@ -722,13 +722,13 @@ int main(int argc, char *argv[])
TQVBox *mw = dialog->makeVBoxMainWidget();
TQHBox *hb = new TQHBox(mw);
TQLabel *image = new TQLabel(hb);
- image->setAlignment(Qt::AlignTop);
+ image->tqsetAlignment(TQt::AlignTop);
TQString iconFile = locate("appdata", "pixmaps/misc/welcome-icon.png");
if (iconFile) {
image->setPixmap(TQPixmap(iconFile));
}
TQLabel *label = new TQLabel(hb);
- label->setText(i18n("<h2>Welcome to Rosegarden!</h2><p>Welcome to the Rosegarden audio and MIDI sequencer and musical notation editor.</p><ul><li>If you have not already done so, you may wish to install some DSSI synth plugins, or a separate synth program such as QSynth. Rosegarden does not synthesize sounds from MIDI on its own, so without these you will hear nothing.</li><br><br><li>Rosegarden uses the JACK audio server for recording and playback of audio, and for playback from DSSI synth plugins. These features will only be available if the JACK server is running.</li><br><br><li>Rosegarden has comprehensive documentation: see the Help menu for the handbook, tutorials, and other information!</li></ul><p>Rosegarden was brought to you by a team of volunteers across the world. To learn more, go to <a href=\"http://www.rosegardenmusic.com/\">http://www.rosegardenmusic.com/</a>.</p>"));
+ label->setText(i18n("<h2>Welcome to Rosegarden!</h2><p>Welcome to the Rosegarden audio and MIDI sequencer and musical notation editor.</p><ul><li>If you have not already done so, you may wish to install some DSSI synth plugins, or a separate synth program such as TQSynth. Rosegarden does not synthesize sounds from MIDI on its own, so without these you will hear nothing.</li><br><br><li>Rosegarden uses the JACK audio server for recording and playback of audio, and for playback from DSSI synth plugins. These features will only be available if the JACK server is running.</li><br><br><li>Rosegarden has comprehensive documentation: see the Help menu for the handbook, tutorials, and other information!</li></ul><p>Rosegarden was brought to you by a team of volunteers across the world. To learn more, go to <a href=\"http://www.rosegardenmusic.com/\">http://www.rosegardenmusic.com/</a>.</p>"));
dialog->showButtonOK(true);
rosegardengui->awaitDialogClearance();
dialog->exec();