Commit Graph

39 Commits

Author SHA1 Message Date
Mike Gelfand 07912d230b Use PascalCase for Qt client filenames
Split FileTree.{h,cc} and FilterBar.{h,cc} files so that each class
is in its own file.

This breaks translations (some classes got renamed => context changed),
to be fixed by next commit (along with Tx sync).
2015-06-10 21:27:11 +00:00
Mike Gelfand 9f8402697b Use C++11 range-based `for` loops (Qt client) 2015-04-18 14:41:06 +00:00
Mike Gelfand 49e16e64a6 Fix build on Windows (blindly) 2015-01-29 22:10:00 +00:00
Mike Gelfand e707e8d4c5 Treat command-line arguments as UTF-8-encoded; hide char* Prefs setter, require explicit conversion 2015-01-28 22:57:46 +00:00
Mike Gelfand 6b79473d9f Use TrPathButton in preferences dialog 2015-01-25 19:55:05 +00:00
Mike Gelfand 440f482d01 Replace tabs with spaces; remove trailing spaces 2015-01-02 11:15:31 +00:00
Mike Gelfand 511d89ca5e Use QMimeDatabase to get icon names when compiling against Qt 5+ 2015-01-01 02:28:18 +00:00
Mike Gelfand e0d5f8b861 Add new TrPathButton class (Qt client)
Make use of new button class in torrent options dialog.
Rework Utils::removeTrailingDirSeparator to return correct value for "/".
2014-12-31 21:00:34 +00:00
Mike Gelfand 17d6666b4c A bit of harmless refactoring
Prefer C++-style over C-style type casting.
Use qApp instead of QApplication/QCoreApplication::instance().
Use explicit QString::fromLatin1()/fromUtf8() where applicable.
2014-12-27 14:07:14 +00:00
Mike Gelfand 629281a1e2 Fix license wording in Qt client .cc files to match the rest of the code. 2014-12-21 23:49:39 +00:00
Mike Gelfand 67dc1c8485 Strip spaces around :: in C++ code (Qt client) 2014-12-12 23:05:10 +00:00
Mitchell Livingston 0e01879974 Use built-in _WIN32 macro instead of WIN32 2014-07-04 00:00:07 +00:00
Jordan Lee 4b9626bb83 Licensing changes:
1. add the option the code to be used under GPLv2 or GPLv3; previously only GPLv2 was allowed

2. add the "proxy option" as described in GPLv3 so we can add future licenses without having to bulk-edit everything again :)

3. remove the awkward "exception for MIT code in Mac client" clause; it was unnecessary and confusing.
2014-01-19 01:09:44 +00:00
Jordan Lee 4904b923fb (trunk) restore copyright year as suggested in email by rms 2014-01-18 20:56:57 +00:00
Jordan Lee da317c441d copyediting: indentation cleanups 2013-09-14 22:45:04 +00:00
Jordan Lee e0acd2dcc3 (trunk, qt) reuse make-dialog's trailing slash fix in the options dialog when setting the download dir 2013-09-08 19:59:47 +00:00
Jordan Lee 9ef851e790 (trunk, qt) #5483: use native windows icons, more win portability goodness from mikedld 2013-09-08 18:53:11 +00:00
Jordan Lee 30cb347d42 (qt) #5204 extra cleanups in Utils::guessMimeIcon() from rb07 2012-12-31 22:43:29 +00:00
Jordan Lee f9f304e51c (trunk qt) #5204 'mp4, mkv files are not shown with the video-x-generic icon' -- fixed. 2012-12-31 05:01:28 +00:00
Jordan Lee 97e1e60c6c (trunk, qt) #4760 'transmission-qt breaks unicode characters in the default target dir' -- fixed with patch from rb07 2012-08-19 16:12:20 +00:00
Jordan Lee 5b53b62773 (trunk qt) #4428 "Conversion to QString in "New torrent" dialog assumes the input string is ASCII" -- fix many ascii-to-QString assumptions in the code. 2011-08-20 05:19:27 +00:00
Charles Kerr 065ef5a339 (trunk qt) now that 4.6 has a standard call QIcon::fromTheme(), we can drop the third-party qticonloader code 2010-08-06 20:21:35 +00:00
Charles Kerr 1477c8909f (trunk qt) synchronize the copyright notices 2010-08-01 20:36:13 +00:00
Charles Kerr cdcc4705aa (trunk) #3045 "make libtransmission's API byte-oriented instead of KiB-oriented." -- implemented. This is a largish commit and will break the mac build for a little while. 2010-07-03 00:25:22 +00:00
Daniel Lee bbe9e9843a #3298:Prettier formating of percentages 2010-06-22 22:30:58 +00:00
Charles Kerr 1d63aa4cda (trunk) add tr_formatter_size() and tr_formatter_speed() so that all the client apps don't have to reinvent the wheel 2010-06-22 04:34:16 +00:00
Daniel Lee 5701ac82e0 (qt) keep the size display the same as the gtk client 2010-06-22 00:34:24 +00:00
Charles Kerr 5ad7ed550f (trunk) more win32 fixes from rb07 in #3311 2010-06-22 00:12:52 +00:00
Daniel Lee a15888105c (qt) use already defined values in utils 2010-06-04 23:33:09 +00:00
Daniel Lee 832d055ab3 (qt) #3255: Don't use filebrowser in remote sessions 2010-06-04 01:00:27 +00:00
Daniel Lee 06bea89970 (qt) Don't round ratio 2010-05-24 04:17:49 +00:00
Daniel Lee aec2701009 (qt) Add more file extensions to icon detection 2010-05-24 02:45:39 +00:00
Charles Kerr 06f044680a (trunk) #3174 "Use IEC standard units (KiB, MiB, GiB) instead of (KB, MB, GB)" -- implemented for gtk, qt, daemon, cli, and web client 2010-04-28 01:26:46 +00:00
Charles Kerr 5c26afdb52 happy new year! 2010-01-04 21:00:47 +00:00
Charles Kerr 78ead8c3dd (trunk) update the copyright notices 2009-12-05 02:19:24 +00:00
Charles Kerr edcd2dc41b (trunk qt) #2320: fix encoding issue when logging to stderr in the Qt client 2009-08-08 13:22:38 +00:00
Charles Kerr db92d4c9aa (trunk qt) update translation template 2009-06-03 20:59:24 +00:00
Charles Kerr 79fb45c110 (trunk qt) add svn properties on the qt source files 2009-05-31 19:33:48 +00:00
Charles Kerr 8cb90fd28f (trunk) add the Qt beta into svn 2009-04-09 18:55:47 +00:00