~sense/ubuntu/lucid/transmission/fix-497882

« back to all changes in this revision

Viewing changes to qt/mainwin.h

  • Committer: Bazaar Package Importer
  • Author(s): Krzysztof Klimonda
  • Date: 2009-12-08 10:49:11 UTC
  • mfrom: (1.1.29 upstream) (2.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20091208104911-06gio45n2nla3vpg
Tags: 1.80~b1-0ubuntu1
* New upstream release (LP: #460620), rebased on debian unstable
  remaining changes:
  - debian/control:
    + Added replaces & provides clutch (now included as part of transmission).
      Can be removed in lucid+1
    + Added quilt, liblaunchpad-integration-dev and lsb-release to Build-Depends
  - debian/rules:
    + create a po template during package build.
  - debian/patches/01_lpi.patch:
    + integrate transmission with launchpad
  - debian/patches/20_add_x-ubuntu-gettext-domain.diff:
    + add x-ubuntu-gettext-domain to .desktop file.
  - debian/transmission-daemon.default:
    - remove --auth from OPTIONS
* Fixes bugs:
  - tray menu shows wrong status for "main window" when started minimized
    (LP: #451415)
* Refreshed patches:
  - dont_build_libevent.patch
  - 99_autoreconf.patch
* Removed patches:
  - 21_onPortTested.diff, 23_tr_torrentNext.diff and
    24_tr_torrentDeleteLocalData_do_move.diff
* debian/patches/21_fix_inhibition.patch:
  - The right value for suspend inhibition is 4
* debian/control:
  - Build-Depend on libgconf2-dev to enable magnet link registration and on
    libcanberra-gtk-dev for notification sound.
* debian/watch:
  - make it detect beta versions, to be removed after 1.80 is released.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * This file Copyright (C) 2009 Charles Kerr <charles@transmissionbt.com>
 
2
 * This file Copyright (C) 2009 Mnemosyne LLC
3
3
 *
4
4
 * This file is licensed by the GPL version 2.  Works owned by the
5
5
 * Transmission project are granted a special exemption to clause 2(b)
7
7
 * This exemption does not extend to derived works not owned by
8
8
 * the Transmission project.
9
9
 *
10
 
 * $Id: mainwin.h 8890 2009-08-11 18:57:49Z charles $
 
10
 * $Id: mainwin.h 9671 2009-12-05 02:19:24Z charles $
11
11
 */
12
12
 
13
13
#ifndef MAIN_WINDOW_H
51
51
        Q_OBJECT
52
52
 
53
53
    private:
 
54
        virtual void closeEvent( QCloseEvent * event );
 
55
 
 
56
    private:
54
57
        time_t myLastFullUpdateTime;
55
58
        QDialog * mySessionDialog;
56
59
        QDialog * myPrefsDialog;
107
110
        void refreshTitle( );
108
111
        void refreshStatusBar( );
109
112
        void openTorrent( );
 
113
        void openURL( );
110
114
        void newTorrent( );
111
115
        void trayActivated( QSystemTrayIcon::ActivationReason );
112
116
        void refreshPref( int key );
113
117
        void addTorrents( const QStringList& filenames );
114
118
        void openHelp( );
115
119
        void openFolder( );
 
120
        void copyMagnetLinkToClipboard( );
116
121
        void setLocation( );
117
122
        void openProperties( );
118
123
        void toggleSpeedMode( );