• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/qt/

Lines Matching refs:myPrefs

108     myPrefs( prefs ),
233 myAltSpeedAction->setIcon( myPrefs.get<bool>(Prefs::ALT_SPEED_LIMIT_ENABLED) ? mySpeedModeOnIcon : mySpeedModeOffIcon );
252 connect( &myPrefs, SIGNAL(changed(int)), this, SLOT(refreshPref(int)) );
261 ui.verticalLayout->insertWidget( 0, myFilterBar = new FilterBar( myPrefs, myModel, myFilterModel ) );
320 if( !myPrefs.getBool( Prefs :: SHOW_TRAY_ICON ) )
360 myPrefs.set( p[i].toInt(), p[i+1] );
396 p->setIcon( myPrefs.get<bool>(Prefs::ALT_SPEED_LIMIT_ENABLED) ? mySpeedModeOnIcon : mySpeedModeOffIcon );
476 int currentVal = myPrefs.get<int>( Prefs::DSPEED );
496 currentVal = myPrefs.get<int>( Prefs::USPEED );
518 double d = myPrefs.get<double>( Prefs::RATIO );
547 myPrefs.set( Prefs::SORT_MODE, SortMode( i ) );
562 myPrefs.set( Prefs::SORT_REVERSED, b );
579 myPrefsDialog = new PrefsDialog( mySession, myPrefs, this );
596 myDetailsDialog = new Details( mySession, myPrefs, myModel, this );
736 const QString mode( myPrefs.getString( Prefs::STATUSBAR_STATS ) );
928 void TrMainWindow :: showTotalRatio ( ) { myPrefs.set( Prefs::STATUSBAR_STATS, "total-ratio"); }
929 void TrMainWindow :: showTotalTransfer ( ) { myPrefs.set( Prefs::STATUSBAR_STATS, "total-transfer"); }
930 void TrMainWindow :: showSessionRatio ( ) { myPrefs.set( Prefs::STATUSBAR_STATS, "session-ratio"); }
931 void TrMainWindow :: showSessionTransfer ( ) { myPrefs.set( Prefs::STATUSBAR_STATS, "session-transfer"); }
940 myPrefs.set( Prefs :: COMPACT_VIEW, visible );
947 myPrefs.toggleBool( Prefs :: ALT_SPEED_LIMIT_ENABLED );
948 mode = myPrefs.get<bool>( Prefs::ALT_SPEED_LIMIT_ENABLED );
954 myPrefs.set( Prefs::TOOLBAR, visible );
959 myPrefs.set( Prefs::FILTERBAR, visible );
964 myPrefs.set( Prefs::STATUSBAR, visible );
1011 str = myPrefs.getString( key );
1020 ui.action_ReverseSortOrder->setChecked( myPrefs.getBool( key ) );
1024 i = myPrefs.get<SortMode>(key).mode( );
1037 (myPrefs.get<bool>(key) ? myDlimitOnAction : myDlimitOffAction)->setChecked( true );
1041 myDlimitOnAction->setText( tr( "Limited at %1" ).arg( Formatter::speedToString( Speed::fromKBps( myPrefs.get<int>(key) ) ) ) );
1045 (myPrefs.get<bool>(key) ? myUlimitOnAction : myUlimitOffAction)->setChecked( true );
1049 myUlimitOnAction->setText( tr( "Limited at %1" ).arg( Formatter::speedToString( Speed::fromKBps( myPrefs.get<int>(key) ) ) ) );
1053 (myPrefs.get<bool>(key) ? myRatioOnAction : myRatioOffAction)->setChecked( true );
1057 myRatioOnAction->setText( tr( "Stop at Ratio (%1)" ).arg( Formatter::ratioToString( myPrefs.get<double>(key) ) ) );
1061 b = myPrefs.getBool( key );
1067 b = myPrefs.getBool( key );
1073 b = myPrefs.getBool( key );
1079 b = myPrefs.getBool( key );
1089 b = myPrefs.getBool( key );
1103 setGeometry( myPrefs.getInt( Prefs::MAIN_WINDOW_X ),
1104 myPrefs.getInt( Prefs::MAIN_WINDOW_Y ),
1105 myPrefs.getInt( Prefs::MAIN_WINDOW_WIDTH ),
1106 myPrefs.getInt( Prefs::MAIN_WINDOW_HEIGHT ) );
1112 b = myPrefs.getBool( Prefs :: ALT_SPEED_LIMIT_ENABLED );
1117 const Speed d = Speed::fromKBps( myPrefs.getInt( Prefs::ALT_SPEED_LIMIT_DOWN ) );
1118 const Speed u = Speed::fromKBps( myPrefs.getInt( Prefs::ALT_SPEED_LIMIT_UP ) );
1146 myPrefs.getString( Prefs::OPEN_DIALOG_FOLDER ),
1152 button->setChecked( myPrefs.getBool( Prefs::OPTIONS_PROMPT ) );
1206 Options * o = new Options( mySession, myPrefs, filename, this );