summaryrefslogtreecommitdiffstats
path: root/kplayer/kplayer.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-02 11:37:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-02 11:37:46 +0900
commit4211dbec5546124f50e093d6e0b15b3d15e57719 (patch)
tree8716a18af4b8fc45a4504f3d535e427e4c1b91b6 /kplayer/kplayer.cpp
parentcc14b9cff43517e9555c397ca539f8462035155e (diff)
downloadkplayer-4211dbec5546124f50e093d6e0b15b3d15e57719.tar.gz
kplayer-4211dbec5546124f50e093d6e0b15b3d15e57719.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kplayer/kplayer.cpp')
-rw-r--r--kplayer/kplayer.cpp204
1 files changed, 102 insertions, 102 deletions
diff --git a/kplayer/kplayer.cpp b/kplayer/kplayer.cpp
index dc0f8d9..2f46097 100644
--- a/kplayer/kplayer.cpp
+++ b/kplayer/kplayer.cpp
@@ -441,90 +441,90 @@ KPlayer::KPlayer (TQWidget *parent, const char *name) : TDEMainWindow (parent, n
i18n("Saturation toolbar has a saturation slider that shows the current video saturation and allows you to change it. This is the same slider you get from the saturation pop-up slider button on the main toolbar, but it will not disappear when you click elsewhere. You can show or hide the toolbar using the Show Saturation Toolbar option on the Settings menu. Clicking the Saturation button on this toolbar will also hide it.")
};
KPlayerEngine::initialize (actionCollection(), this, 0, kapp -> config());
- connect (engine(), SIGNAL (windowStateChanged (uint)), SLOT (windowStateChanged (uint)));
- connect (engine(), SIGNAL (syncronize (bool)), SLOT (syncronize (bool)));
- connect (engine(), SIGNAL (zoom()), SLOT (zoom()));
- connect (engine(), SIGNAL (correctSize()), SLOT (correctSize()));
- connect (engine(), SIGNAL (initialSize()), SLOT (initialSize()));
- connect (engine() -> videoActionList(), SIGNAL (updating (KPlayerActionList*)),
- SLOT (actionListUpdating (KPlayerActionList*)));
- connect (engine() -> videoActionList(), SIGNAL (updated (KPlayerActionList*)),
- SLOT (actionListUpdated (KPlayerActionList*)));
- connect (engine() -> audioActionList(), SIGNAL (updating (KPlayerActionList*)),
- SLOT (actionListUpdating (KPlayerActionList*)));
- connect (engine() -> audioActionList(), SIGNAL (updated (KPlayerActionList*)),
- SLOT (actionListUpdated (KPlayerActionList*)));
- connect (engine() -> subtitleActionList(), SIGNAL (updating (KPlayerActionList*)),
- SLOT (actionListUpdating (KPlayerActionList*)));
- connect (engine() -> subtitleActionList(), SIGNAL (updated (KPlayerActionList*)),
- SLOT (actionListUpdated (KPlayerActionList*)));
+ connect (engine(), TQ_SIGNAL (windowStateChanged (uint)), TQ_SLOT (windowStateChanged (uint)));
+ connect (engine(), TQ_SIGNAL (syncronize (bool)), TQ_SLOT (syncronize (bool)));
+ connect (engine(), TQ_SIGNAL (zoom()), TQ_SLOT (zoom()));
+ connect (engine(), TQ_SIGNAL (correctSize()), TQ_SLOT (correctSize()));
+ connect (engine(), TQ_SIGNAL (initialSize()), TQ_SLOT (initialSize()));
+ connect (engine() -> videoActionList(), TQ_SIGNAL (updating (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdating (KPlayerActionList*)));
+ connect (engine() -> videoActionList(), TQ_SIGNAL (updated (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdated (KPlayerActionList*)));
+ connect (engine() -> audioActionList(), TQ_SIGNAL (updating (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdating (KPlayerActionList*)));
+ connect (engine() -> audioActionList(), TQ_SIGNAL (updated (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdated (KPlayerActionList*)));
+ connect (engine() -> subtitleActionList(), TQ_SIGNAL (updating (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdating (KPlayerActionList*)));
+ connect (engine() -> subtitleActionList(), TQ_SIGNAL (updated (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdated (KPlayerActionList*)));
TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
if ( args -> count() > 0 && (args -> isSet ("play") || args -> isSet ("play-next")
|| ! args -> isSet ("queue") && ! args -> isSet ("queue-next") && ! args -> isSet ("add-to-new-playlist")
&& ! args -> isSet ("add-to-playlists") && ! args -> isSet ("add-to-collection")) )
engine() -> clearStoreSections ("kplayer:/nowplaying");
m_log = new KPlayerLogWindow (actionCollection(), this);
- connect (log(), SIGNAL (windowHidden()), SLOT (logWindowHidden()));
- connect (action ("log_clear"), SIGNAL (activated()), SLOT (fileClearLog()));
+ connect (log(), TQ_SIGNAL (windowHidden()), TQ_SLOT (logWindowHidden()));
+ connect (action ("log_clear"), TQ_SIGNAL (activated()), TQ_SLOT (fileClearLog()));
m_library = new KPlayerLibraryWindow (actionCollection(), this);
- connect (library(), SIGNAL (windowHidden()), SLOT (libraryHidden()));
- connect (library() -> library(), SIGNAL (makeVisible()), SLOT (makeLibraryVisible()));
- connect (library() -> library(), SIGNAL (enableActionGroup (const TQString&, bool)),
- SLOT (enableSubmenu (const TQString&, bool)));
- connect (library() -> library() -> playlistActionList(), SIGNAL (updating (KPlayerActionList*)),
- SLOT (actionListUpdating (KPlayerActionList*)));
- connect (library() -> library() -> playlistActionList(), SIGNAL (updated (KPlayerActionList*)),
- SLOT (actionListUpdated (KPlayerActionList*)));
- connect (library() -> library() -> columnActionList(), SIGNAL (updating (KPlayerActionList*)),
- SLOT (actionListUpdating (KPlayerActionList*)));
- connect (library() -> library() -> columnActionList(), SIGNAL (updated (KPlayerActionList*)),
- SLOT (libraryActionListUpdated (KPlayerActionList*)));
- connect (library() -> library() -> editActionList(), SIGNAL (updating (KPlayerActionList*)),
- SLOT (actionListUpdating (KPlayerActionList*)));
- connect (library() -> library() -> editActionList(), SIGNAL (updated (KPlayerActionList*)),
- SLOT (libraryActionListUpdated (KPlayerActionList*)));
- connect (library() -> library() -> goToActionList(), SIGNAL (updating (KPlayerActionList*)),
- SLOT (actionListUpdating (KPlayerActionList*)));
- connect (library() -> library() -> goToActionList(), SIGNAL (updated (KPlayerActionList*)),
- SLOT (actionListUpdated (KPlayerActionList*)));
- connect (library() -> library() -> historyActionList(), SIGNAL (updating (KPlayerActionList*)),
- SLOT (actionListUpdating (KPlayerActionList*)));
- connect (library() -> library() -> historyActionList(), SIGNAL (updated (KPlayerActionList*)),
- SLOT (actionListUpdated (KPlayerActionList*)));
+ connect (library(), TQ_SIGNAL (windowHidden()), TQ_SLOT (libraryHidden()));
+ connect (library() -> library(), TQ_SIGNAL (makeVisible()), TQ_SLOT (makeLibraryVisible()));
+ connect (library() -> library(), TQ_SIGNAL (enableActionGroup (const TQString&, bool)),
+ TQ_SLOT (enableSubmenu (const TQString&, bool)));
+ connect (library() -> library() -> playlistActionList(), TQ_SIGNAL (updating (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdating (KPlayerActionList*)));
+ connect (library() -> library() -> playlistActionList(), TQ_SIGNAL (updated (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdated (KPlayerActionList*)));
+ connect (library() -> library() -> columnActionList(), TQ_SIGNAL (updating (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdating (KPlayerActionList*)));
+ connect (library() -> library() -> columnActionList(), TQ_SIGNAL (updated (KPlayerActionList*)),
+ TQ_SLOT (libraryActionListUpdated (KPlayerActionList*)));
+ connect (library() -> library() -> editActionList(), TQ_SIGNAL (updating (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdating (KPlayerActionList*)));
+ connect (library() -> library() -> editActionList(), TQ_SIGNAL (updated (KPlayerActionList*)),
+ TQ_SLOT (libraryActionListUpdated (KPlayerActionList*)));
+ connect (library() -> library() -> goToActionList(), TQ_SIGNAL (updating (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdating (KPlayerActionList*)));
+ connect (library() -> library() -> goToActionList(), TQ_SIGNAL (updated (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdated (KPlayerActionList*)));
+ connect (library() -> library() -> historyActionList(), TQ_SIGNAL (updating (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdating (KPlayerActionList*)));
+ connect (library() -> library() -> historyActionList(), TQ_SIGNAL (updated (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdated (KPlayerActionList*)));
m_playlist = new KPlayerPlaylist (actionCollection(), this);
- connect (playlist(), SIGNAL (started()), SLOT (playlistStarted()));
- connect (playlist(), SIGNAL (activated()), SLOT (playlistActivated()));
- connect (playlist(), SIGNAL (stopped()), SLOT (playlistStopped()));
- connect (playlist(), SIGNAL (enableActionGroup (const TQString&, bool)), SLOT (enableSubmenu (const TQString&, bool)));
- connect (playlist() -> playlistActionList(), SIGNAL (updating (KPlayerActionList*)),
- SLOT (actionListUpdating (KPlayerActionList*)));
- connect (playlist() -> playlistActionList(), SIGNAL (updated (KPlayerActionList*)),
- SLOT (actionListUpdated (KPlayerActionList*)));
- connect (playlist() -> recentActionList(), SIGNAL (updating (KPlayerActionList*)),
- SLOT (actionListUpdating (KPlayerActionList*)));
- connect (playlist() -> recentActionList(), SIGNAL (updated (KPlayerActionList*)),
- SLOT (actionListUpdated (KPlayerActionList*)));
- connect (playlist() -> devicesActionList(), SIGNAL (updating (KPlayerActionList*)),
- SLOT (actionListUpdating (KPlayerActionList*)));
- connect (playlist() -> devicesActionList(), SIGNAL (updated (KPlayerActionList*)),
- SLOT (actionListUpdated (KPlayerActionList*)));
- connect (playlist() -> playlistAddActionList(), SIGNAL (updating (KPlayerActionList*)),
- SLOT (actionListUpdating (KPlayerActionList*)));
- connect (playlist() -> playlistAddActionList(), SIGNAL (updated (KPlayerActionList*)),
- SLOT (actionListUpdated (KPlayerActionList*)));
- connect (actionCollection(), SIGNAL (actionStatusText(const TQString&)), SLOT (setStatusMessage(const TQString&)));
- connect (actionCollection(), SIGNAL (clearStatusText()), SLOT (clearStatusMessage()));
+ connect (playlist(), TQ_SIGNAL (started()), TQ_SLOT (playlistStarted()));
+ connect (playlist(), TQ_SIGNAL (activated()), TQ_SLOT (playlistActivated()));
+ connect (playlist(), TQ_SIGNAL (stopped()), TQ_SLOT (playlistStopped()));
+ connect (playlist(), TQ_SIGNAL (enableActionGroup (const TQString&, bool)), TQ_SLOT (enableSubmenu (const TQString&, bool)));
+ connect (playlist() -> playlistActionList(), TQ_SIGNAL (updating (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdating (KPlayerActionList*)));
+ connect (playlist() -> playlistActionList(), TQ_SIGNAL (updated (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdated (KPlayerActionList*)));
+ connect (playlist() -> recentActionList(), TQ_SIGNAL (updating (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdating (KPlayerActionList*)));
+ connect (playlist() -> recentActionList(), TQ_SIGNAL (updated (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdated (KPlayerActionList*)));
+ connect (playlist() -> devicesActionList(), TQ_SIGNAL (updating (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdating (KPlayerActionList*)));
+ connect (playlist() -> devicesActionList(), TQ_SIGNAL (updated (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdated (KPlayerActionList*)));
+ connect (playlist() -> playlistAddActionList(), TQ_SIGNAL (updating (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdating (KPlayerActionList*)));
+ connect (playlist() -> playlistAddActionList(), TQ_SIGNAL (updated (KPlayerActionList*)),
+ TQ_SLOT (actionListUpdated (KPlayerActionList*)));
+ connect (actionCollection(), TQ_SIGNAL (actionStatusText(const TQString&)), TQ_SLOT (setStatusMessage(const TQString&)));
+ connect (actionCollection(), TQ_SIGNAL (clearStatusText()), TQ_SLOT (clearStatusMessage()));
actionCollection() -> setHighlightingEnabled (true);
- connect (process(), SIGNAL (stateChanged(KPlayerProcess::State, KPlayerProcess::State)),
- SLOT (playerStateChanged(KPlayerProcess::State, KPlayerProcess::State)));
- connect (process(), SIGNAL (progressChanged(float, KPlayerProcess::ProgressType)),
- SLOT (playerProgressChanged(float, KPlayerProcess::ProgressType)));
- connect (process(), SIGNAL (infoAvailable()), SLOT (playerInfoAvailable()));
- connect (process(), SIGNAL (sizeAvailable()), SLOT (playerSizeAvailable()));
- connect (process(), SIGNAL (messageReceived (TQString)), SLOT (playerMessageReceived (TQString)));
- connect (process(), SIGNAL (errorDetected()), SLOT (playerErrorDetected()));
- connect (configuration(), SIGNAL (updated()), SLOT (refreshSettings()));
- connect (kPlayerWorkspace(), SIGNAL (contextMenu(const TQPoint&)), SLOT (contextMenu(const TQPoint&)));
+ connect (process(), TQ_SIGNAL (stateChanged(KPlayerProcess::State, KPlayerProcess::State)),
+ TQ_SLOT (playerStateChanged(KPlayerProcess::State, KPlayerProcess::State)));
+ connect (process(), TQ_SIGNAL (progressChanged(float, KPlayerProcess::ProgressType)),
+ TQ_SLOT (playerProgressChanged(float, KPlayerProcess::ProgressType)));
+ connect (process(), TQ_SIGNAL (infoAvailable()), TQ_SLOT (playerInfoAvailable()));
+ connect (process(), TQ_SIGNAL (sizeAvailable()), TQ_SLOT (playerSizeAvailable()));
+ connect (process(), TQ_SIGNAL (messageReceived (TQString)), TQ_SLOT (playerMessageReceived (TQString)));
+ connect (process(), TQ_SIGNAL (errorDetected()), TQ_SLOT (playerErrorDetected()));
+ connect (configuration(), TQ_SIGNAL (updated()), TQ_SLOT (refreshSettings()));
+ connect (kPlayerWorkspace(), TQ_SIGNAL (contextMenu(const TQPoint&)), TQ_SLOT (contextMenu(const TQPoint&)));
setCentralWidget (kPlayerWorkspace());
initStatusBar();
initActions();
@@ -533,7 +533,7 @@ KPlayer::KPlayer (TQWidget *parent, const char *name) : TDEMainWindow (parent, n
library() -> library() -> initialize ((TQPopupMenu*) factory() -> container ("library_popup", this));
uint i;
for ( i = 0; i < menuBar() -> count(); i ++ )
- connect (popupMenu (i), SIGNAL (aboutToHide()), SLOT (clearStatusMessage()));
+ connect (popupMenu (i), TQ_SIGNAL (aboutToHide()), TQ_SLOT (clearStatusMessage()));
for ( i = 0; i < KPLAYER_TOOLBARS; i ++ )
m_toolbar[i] = toolbars[i];
setAutoSaveSettings ("MainWindow", false);
@@ -576,52 +576,52 @@ void KPlayer::initActions (void)
#ifdef DEBUG_KPLAYER_WINDOW
kdDebugTime() << "Creating actions\n";
#endif
- TDEAction* action = KStdAction::quit (this, SLOT (fileQuit()), actionCollection());
+ TDEAction* action = KStdAction::quit (this, TQ_SLOT (fileQuit()), actionCollection());
action -> setStatusText (i18n("Quits KPlayer"));
action -> setWhatsThis (i18n("Quit command saves the playlist and all settings, stops playing and closes KPlayer."));
- action = KStdAction::showMenubar (this, SLOT (viewMenubar()), actionCollection());
+ action = KStdAction::showMenubar (this, TQ_SLOT (viewMenubar()), actionCollection());
action -> setStatusText (i18n("Shows/hides the menu bar"));
action -> setWhatsThis (i18n("Show Menubar command shows or hides the menu bar."));
- action = KStdAction::showStatusbar (this, SLOT (viewStatusbar()), actionCollection());
+ action = KStdAction::showStatusbar (this, TQ_SLOT (viewStatusbar()), actionCollection());
action -> setStatusText (i18n("Shows/hides the status bar"));
action -> setWhatsThis (i18n("Show Statusbar command shows or hides the status bar."));
- action = new TDEToggleAction (i18n("&Show Playlist"), 0, CTRL + Key_P, this, SLOT (viewPlaylist()), actionCollection(), "options_show_playlist");
+ action = new TDEToggleAction (i18n("&Show Playlist"), 0, CTRL + Key_P, this, TQ_SLOT (viewPlaylist()), actionCollection(), "options_show_playlist");
action -> setStatusText (i18n("Shows/hides the playlist"));
action -> setWhatsThis (i18n("Show Playlist command shows or hides the playlist toolbar."));
- action = new TDEToggleAction (i18n("Sho&w Library"), 0, CTRL + Key_L, this, SLOT (viewLibrary()), actionCollection(), "options_show_library");
+ action = new TDEToggleAction (i18n("Sho&w Library"), 0, CTRL + Key_L, this, TQ_SLOT (viewLibrary()), actionCollection(), "options_show_library");
action -> setStatusText (i18n("Shows/hides the multimedia library"));
action -> setWhatsThis (i18n("Show Library command shows or hides the multimedia library."));
- action = new TDEToggleAction (i18n("Show Message &Log"), 0, CTRL + Key_G, this, SLOT (viewMessageLog()), actionCollection(), "options_show_log");
+ action = new TDEToggleAction (i18n("Show Message &Log"), 0, CTRL + Key_G, this, TQ_SLOT (viewMessageLog()), actionCollection(), "options_show_log");
action -> setStatusText (i18n("Shows/hides the message log"));
action -> setWhatsThis (i18n("Show Message Log command shows or hides the message log."));
- action = new TDEToggleAction (i18n("Show Main &Toolbar"), 0, 0, this, SLOT (viewMainToolbar()), actionCollection(), "options_show_toolbar");
+ action = new TDEToggleAction (i18n("Show Main &Toolbar"), 0, 0, this, TQ_SLOT (viewMainToolbar()), actionCollection(), "options_show_toolbar");
action -> setStatusText (i18n("Shows/hides the main toolbar"));
action -> setWhatsThis (i18n("Show Main Toolbar command shows or hides the main toolbar."));
- action = new TDEToggleAction (i18n("Show &Progress Toolbar"), 0, 0, this, SLOT (viewProgressToolbar()), actionCollection(), "settings_progress_toolbar");
+ action = new TDEToggleAction (i18n("Show &Progress Toolbar"), 0, 0, this, TQ_SLOT (viewProgressToolbar()), actionCollection(), "settings_progress_toolbar");
action -> setStatusText (i18n("Shows/hides the progress toolbar"));
action -> setWhatsThis (i18n("Show Progress Toolbar command shows or hides the progress toolbar. This command is available when the time length of the current file is known."));
- action = new TDEToggleAction (i18n("Show &Volume Toolbar"), "volume", 0, this, SLOT (viewVolumeToolbar()), actionCollection(), "settings_volume_toolbar");
+ action = new TDEToggleAction (i18n("Show &Volume Toolbar"), "volume", 0, this, TQ_SLOT (viewVolumeToolbar()), actionCollection(), "settings_volume_toolbar");
action -> setStatusText (i18n("Shows/hides the volume toolbar"));
action -> setWhatsThis (i18n("Show Volume Toolbar command shows or hides the volume toolbar."));
- action = new TDEToggleAction (i18n("Show C&ontrast Toolbar"), "contrast", 0, this, SLOT (viewContrastToolbar()), actionCollection(), "settings_contrast_toolbar");
+ action = new TDEToggleAction (i18n("Show C&ontrast Toolbar"), "contrast", 0, this, TQ_SLOT (viewContrastToolbar()), actionCollection(), "settings_contrast_toolbar");
action -> setStatusText (i18n("Shows/hides the contrast toolbar"));
action -> setWhatsThis (i18n("Show Contrast Toolbar command shows or hides the contrast toolbar. This command is available for video files."));
- action = new TDEToggleAction (i18n("Show &Brightness Toolbar"), "brightness", 0, this, SLOT (viewBrightnessToolbar()), actionCollection(), "settings_brightness_toolbar");
+ action = new TDEToggleAction (i18n("Show &Brightness Toolbar"), "brightness", 0, this, TQ_SLOT (viewBrightnessToolbar()), actionCollection(), "settings_brightness_toolbar");
action -> setStatusText (i18n("Shows/hides the brightness toolbar"));
action -> setWhatsThis (i18n("Show Brightness Toolbar command shows or hides the brightness toolbar. This command is available for video files."));
- action = new TDEToggleAction (i18n("Show H&ue Toolbar"), "hue", 0, this, SLOT (viewHueToolbar()), actionCollection(), "settings_hue_toolbar");
+ action = new TDEToggleAction (i18n("Show H&ue Toolbar"), "hue", 0, this, TQ_SLOT (viewHueToolbar()), actionCollection(), "settings_hue_toolbar");
action -> setStatusText (i18n("Shows/hides the hue toolbar"));
action -> setWhatsThis (i18n("Show Hue Toolbar command shows or hides the hue toolbar. This command is available for video files."));
- action = new TDEToggleAction (i18n("Show &Saturation Toolbar"), "saturation", 0, this, SLOT (viewSaturationToolbar()), actionCollection(), "settings_saturation_toolbar");
+ action = new TDEToggleAction (i18n("Show &Saturation Toolbar"), "saturation", 0, this, TQ_SLOT (viewSaturationToolbar()), actionCollection(), "settings_saturation_toolbar");
action -> setStatusText (i18n("Shows/hides the saturation toolbar"));
action -> setWhatsThis (i18n("Show Saturation Toolbar command shows or hides the saturation toolbar. This command is available for video files."));
- action = KStdAction::keyBindings (this, SLOT (settingsKeyBindings()), actionCollection());
+ action = KStdAction::keyBindings (this, TQ_SLOT (settingsKeyBindings()), actionCollection());
action -> setStatusText (i18n("Opens the KPlayer key bindings dialog"));
action -> setWhatsThis (i18n("Configure Shortcuts command opens a dialog that lets you see and change KPlayer's shortcut key bindings, or associations between actions and the corresponding keys or combinations of keys that activate them. If you change the bindings, make sure not to duplicate an existing shortcut and also not to use the Shift key for your new shortcuts, because the Shift key has a special function in KPlayer."));
- action = KStdAction::configureToolbars (this, SLOT (settingsConfigureToolbars()), actionCollection());
+ action = KStdAction::configureToolbars (this, TQ_SLOT (settingsConfigureToolbars()), actionCollection());
action -> setStatusText (i18n("Opens the KPlayer toolbar configuration dialog"));
action -> setWhatsThis (i18n("Configure Toolbars command opens a dialog that lets you see and change KPlayer's toolbars and controls assigned to them."));
- action = KStdAction::preferences (this, SLOT (settingsConfigure()), actionCollection());
+ action = KStdAction::preferences (this, TQ_SLOT (settingsConfigure()), actionCollection());
action -> setStatusText (i18n("Opens the KPlayer configuration dialog"));
action -> setWhatsThis (i18n("Configure KPlayer command opens a dialog that lets you configure the program, modifying various aspects of its functionality, user interface and interaction with MPlayer. For more information see the Configuration dialog chapter and the Advanced configuration micro-HOWTO in the user manual."));
createGUI ("kplayerui.rc", false);
@@ -652,8 +652,8 @@ void KPlayer::initActions (void)
action = actionCollection() -> action ("help_report_bug");
if ( action )
{
- disconnect (action, SIGNAL(activated()), 0, 0);
- connect (action, SIGNAL(activated()), SLOT(helpReportBug()));
+ disconnect (action, TQ_SIGNAL(activated()), 0, 0);
+ connect (action, TQ_SIGNAL(activated()), TQ_SLOT(helpReportBug()));
action -> setStatusText (i18n("Opens the manual section on bug reporting"));
action -> setWhatsThis (i18n("Report Bug command opens the section of KPlayer user manual that explains how to report a bug in KPlayer, including all the information that may be helpful in finding and fixing the bug."));
}
@@ -694,7 +694,7 @@ void KPlayer::initStatusBar (void)
statusBar() -> setMinimumHeight (statusBar() -> layout() -> minimumSize().height());
if ( m_status_label )
{
- connect (m_status_label, SIGNAL (itemPressed (int)), this, SLOT (statusPressed()));
+ connect (m_status_label, TQ_SIGNAL (itemPressed (int)), this, TQ_SLOT (statusPressed()));
TQWhatsThis::add (m_status_label, i18n("Status area of the status bar tells you if there have been playback errors."));
}
if ( m_state_label )
@@ -1198,7 +1198,7 @@ void KPlayer::playlistActivated (void)
clearStatusMessage();
if ( m_progress_label )
m_progress_label -> setText ("");
- connect (settings() -> properties(), SIGNAL (updated()), this, SLOT (refreshProperties()));
+ connect (settings() -> properties(), TQ_SIGNAL (updated()), this, TQ_SLOT (refreshProperties()));
enableVideoActions();
}
@@ -1224,10 +1224,10 @@ void KPlayer::refreshProperties (void)
void KPlayer::closeEvent (TQCloseEvent* event)
{
- disconnect (log(), SIGNAL (windowHidden()), this, SLOT (logWindowHidden()));
- disconnect (library(), SIGNAL (windowHidden()), this, SLOT (libraryHidden()));
- disconnect (settings() -> properties(), SIGNAL (updated()), this, SLOT (refreshProperties()));
- disconnect (configuration(), SIGNAL (updated()), this, SLOT (refreshSettings()));
+ disconnect (log(), TQ_SIGNAL (windowHidden()), this, TQ_SLOT (logWindowHidden()));
+ disconnect (library(), TQ_SIGNAL (windowHidden()), this, TQ_SLOT (libraryHidden()));
+ disconnect (settings() -> properties(), TQ_SIGNAL (updated()), this, TQ_SLOT (refreshProperties()));
+ disconnect (configuration(), TQ_SIGNAL (updated()), this, TQ_SLOT (refreshSettings()));
saveOptions();
library() -> library() -> terminate();
playlist() -> terminate();
@@ -1454,7 +1454,7 @@ void KPlayer::settingsConfigureToolbars (void)
{
saveMainWindowSettings (config(), "General Options");
KEditToolbar dialog (actionCollection());
- connect (&dialog, SIGNAL (newToolbarConfig()), SLOT (newToolbarConfiguration()));
+ connect (&dialog, TQ_SIGNAL (newToolbarConfig()), TQ_SLOT (newToolbarConfiguration()));
dialog.exec();
}
@@ -1729,7 +1729,7 @@ void KPlayer::resizeEvent (TQResizeEvent* event)
if ( kPlayerWorkspace() -> isResizing() )
m_set_display_size = false;
else
- TQTimer::singleShot (0, this, SLOT (setDisplaySize()));
+ TQTimer::singleShot (0, this, TQ_SLOT (setDisplaySize()));
}
}